Create GitHub README
Command
/readme , /create_github_readme , or create_github_readme
Navigate
Documentation
Keywords
readme, github readme, create readme, generate readme, project readme, documentation, readme.md, update readme, write readme, project documentation, create github readme, create_github_readme
Description
Generate or update a professional GitHub README.md file following open standards and best practices. If a README already exists and the user requests an update, regenerates it using the latest template including a fresh screenshot. Auto-pushes to GitHub after generation.
Execution
This skill runs using Claude Code with subscription plan. Do NOT use pay-as-you-go API keys. All AI operations should be executed through the Claude Code CLI environment with an active subscription.
Response
I'll generate (or update) a comprehensive GitHub README.md for the project, then push it to GitHub.
The README will include:
Section Description
Screenshot Auto-captured via Playwright MCP (if live site exists)
Header Project name, badges, tagline, links
About Project description and key features
Tech Stack Technologies used with badges
Architecture System diagram (ASCII art)
Project Structure File/folder organization
Getting Started Prerequisites, installation, running
Deployment Docker, Hugging Face Spaces instructions
Contributing Fork, PR workflow, discussions
Developed By Tertiary Infotech Academy Pte. Ltd.
Acknowledgements Credits and thanks
Instructions
Pre-check: Create or Update?
Before generating, check if a README.md already exists:
ls README.md 2>/dev/null
If README.md does NOT exist: Proceed to create a new README from scratch (Section 0 onwards).
If README.md already exists AND the user requests an update:
-
Read the existing README to understand current content
-
Check if the README already contains a screenshot (see Section 0.1)
-
Regenerate the README using the latest template below, preserving project-specific details (description, features, tech stack) from the existing README
-
Only re-capture the screenshot if the README is missing one (see Section 0)
-
Overwrite the existing README.md with the updated version
When generating or updating a README, follow this open standard structure:
- Screenshot Capture (Auto — Conditional)
Before generating the README, determine whether a screenshot capture is needed. A screenshot should only be captured when both conditions are met:
-
A live demo URL is available
-
The README does not already contain a screenshot (i.e., no ![Screenshot] or ![screenshot] image reference exists)
If the README already has a screenshot image reference, skip capture entirely and preserve the existing screenshot reference.
0.1 Check for Existing Screenshot in README
If a README.md exists, read it and check for any of these patterns:
-
or similar image markdown with "screenshot" in the alt text or path -
![screenshot] image references in any format
-
<img tags referencing a screenshot file
If a screenshot reference is found: Skip to Section 1 — do NOT re-capture. Preserve the existing screenshot section as-is.
If no screenshot reference is found: Continue to Section 0.2 to detect a live URL and capture.
0.2 Detect Live Demo URL
Check these sources in order:
-
User-provided URL
-
package.json → homepage field
-
Vercel project URL: https://<project-name>.vercel.app
-
GitHub Pages URL: https://<owner>.github.io/<repo>/
-
Any URL found in an existing README.md
0.3 Capture Screenshot with Playwright MCP
Only execute this step if a live demo URL was found in Section 0.2 and no existing screenshot was detected in Section 0.1.
Use the Playwright MCP tools in this sequence:
- mcp__playwright__browser_navigate → Navigate to the live demo URL
- mcp__playwright__browser_wait_for → Wait for the page to fully load (wait a few seconds)
- mcp__playwright__browser_take_screenshot → Take a full-page screenshot and save to project root
- mcp__playwright__browser_close → Close the browser
Playwright MCP tool calls:
Tool: mcp__playwright__browser_navigate Args: { "url": "<LIVE_DEMO_URL>" }
Tool: mcp__playwright__browser_wait_for Args: { "time": 3 }
Tool: mcp__playwright__browser_take_screenshot Args: { "type": "png", "filename": "screenshot.png", "fullPage": true }
Tool: mcp__playwright__browser_close Args: {}
Important: The screenshot file will be saved relative to the current working directory. After capture, verify the file exists before referencing it in the README.
0.4 Add Screenshot to README
Insert the screenshot after the header section:
Screenshot

If the screenshot shows the main UI or hero section, use it. If the page requires authentication or shows a loading state, note this and skip the screenshot.
0.5 If No Live URL Found
Skip screenshot capture and add a commented-out placeholder:
Screenshot
<!-- Add a screenshot of your app here -->
<!--
-->
- Header Section
<div align="center">
Project Name
Tagline
Demo · Report Bug · Request Feature
</div>
- Required Badges
-
Python version
-
Framework (Chainlit)
-
AI Provider (Claude/Anthropic)
-
License
-
Docker
-
Deployment platform
- About Section
-
Brief description (2-3 sentences)
-
Key features as bullet points or table
-
Platform statistics (optional)
- Tech Stack
Table format with categories:
-
Frontend
-
Backend
-
AI/LLM
-
Database
-
Deployment
-
Document Processing
- Architecture Diagram
ASCII art showing:
-
UI layer
-
Application layer
-
AI agents
-
Data/document layer
- Project Structure
project/ ├── app.py ├── modules/ └── ...
- Getting Started
-
Prerequisites
-
Clone & install steps
-
Environment setup
-
Run command
- Deployment
-
Docker instructions
-
Cloud platform instructions
- Contributing
-
Fork instructions
-
PR workflow
-
Link to discussions
- Footer
-
Developed by: Company name
-
Acknowledgements: Credits
-
Call to action: Star the repo
- Push to GitHub
After generating or updating the README, invoke the /github-push skill to push changes to GitHub.
The github-push skill will:
-
Scan for exposed secrets (mandatory security check)
-
Stage README.md and screenshot.png (if created)
-
Commit with an appropriate message (e.g., docs: generate README or docs: update README to latest template )
-
Push to the remote repository
-
Auto-configure repo description, topics, and discussions if needed
Capabilities
-
Auto-capture screenshot of live site using Playwright MCP
-
Generate or update README.md following GitHub best practices
-
Include technology badges with shields.io
-
Create ASCII architecture diagrams
-
Document file structure
-
Provide multi-platform deployment instructions
-
Add proper attribution and acknowledgements
-
Auto-push to GitHub via /github-push skill after generation
Next Steps
After running /create_github_readme :
-
Verify the push succeeded on GitHub
-
Review the auto-captured screenshot (screenshot.png) — replace if needed
-
Verify repo description, topics, and discussions are configured
-
Share the repository link