generate-readme
Skill0 starsChanged 46 days agoMITView on GitHub
Generate a full, industry-standard README.md for non-extension GitHub projects (libraries, CLIs, web apps, APIs, data science). Includes Installation, Contributing, License, and badges. For VS Code extensions, use /extension-page or /readme instead. Use when the user asks to create or improve a README for a non-extension project.
- Reads credentials
- Installs packages
8 other projects use a version of this.
Adopted by
Most recently taken up by
- juanitourquiza/shipframetheir own version, first seen Oct 23, 2026
- microsoft/Agent365-Samplestheir own version, first seen Oct 20, 2026
- kostiantyn-matsebora/canopy-examplestheir own version, first seen Oct 11, 2026
- Jay-1409/skillstheir own version, first seen Oct 3, 2026
- eddmann/agent-toolkittheir own version, first seen Sep 22, 2026
- prathakmalik/agent-standards-kittheir own version, first seen Jul 25, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- microsoft/Agent365-Samples★ 113same name
- gricha/dangerous-skills★ 38same name
- juanitourquiza/shipframe★ 4same name
- eddmann/agent-toolkit★ 2same name
- Jay-1409/skills★ 2same name
- kostiantyn-matsebora/canopy-examples★ 0same name
- prathakmalik/agent-standards-kit★ 0same name
- tranviet0710/agent-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- create-prSkill
- extension-pageSkill
- readmeSkill
- releaseSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Never produce a generic template.
- Distinctive: line 135
Every command/code in a fenced block with language specified
- Distinctive: line 136
No filler — if a section has nothing real to say, leave it out
- Distinctive: line 143
Write README.md to the project root
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Generate README
Produce a polished, industry-standard README.md grounded in what you find in the codebase and real-world examples from top GitHub projects.
If the project is a VS Code extension (package.json contains "engines": { "vscode": ... }): stop immediately and tell the user to use /extension-page or /readme instead. This skill is for non-extension projects only.
Never produce a generic template. Every section must be grounded in what you actually found.
Step 1 — Explore the Project (Explore subagent)
Spawn an Explore subagent to keep codebase details out of your context:
Agent({
subagent_type: "Explore",
description: "Explore project for README generation",
prompt: "Explore this project at [path]. Return ONLY these facts — no file contents:
1. Project type: CLI tool / Python library / web app / API / data science / other
2. Primary language and framework
3. What the project does in 1–2 plain sentences
4. Install command (from package.json scripts, pyproject.toml, Makefile, setup.py)
5. Test command (from scripts)
6. License type (from LICENSE file or package.json license field)
7. Current README.md H2 headings if README exists (headings only)
8. Whether CI config exists (.github/workflows/, .travis.yml, Dockerfile)
9. Whether .env.example exists and any key variable names
Be concise."
})Step 2 — Research Top GitHub READMEs (Research subagent)
Spawn a research subagent to fetch examples without polluting this context:
Agent({
description: "Research top GitHub READMEs for structural patterns",
prompt: "Find and fetch 2–3 README files from top starred GitHub repos of the same type as this project.
Run these web searches first (adapt to the actual project type and language):
- 'top starred [language] [project-type] github site:github.com'
- 'awesome [project-type] github README examples'
Then fetch raw READMEs from the most relevant repos:
https://raw.githubusercontent.com/<owner>/<repo>/main/README.md
(try master if main fails)
Also check these curated sources relevant to the project type:
- Python libraries: requests, fastapi, pydantic READMEs
- CLI tools: cli/cli, sharkdp/bat, junegunn/fzf READMEs
- TypeScript/Node: sindresorhus/got, colinhacks/zod READMEs
- Web apps: calcom/cal.com, maybe-finance/maybe READMEs
- Data/ML: huggingface/transformers, ultralytics/ultralytics READMEs
For each README fetched, return ONLY extracted patterns — no raw content:
1. Section order (H2 headings in order)
2. Opening pattern: one-liner tagline / paragraph / badges-first
3. Badge style: none / compact row / verbose
4. Code example format: how much shown, inline vs block
5. Approximate word count
End with: repo name and URL for each one you fetched."
})Tell the user which repos were referenced before writing.
Step 3 — Pick Structure
Based on the project type from Step 1, apply the matching section order. Real-world patterns from Step 2 beat these defaults when they conflict.
| Project type | Section order |
| Python library | H1 + tagline, badges (PyPI/Python/License/CI), overview, Features, Installation (pip install), Quick Start with code example, Usage, Development, Contributing, License |
| CLI tool | H1 + tagline, badges (Version/License/CI), overview, Installation (all package managers that apply), Usage with flags table + examples, Configuration, Contributing, License |
| Web app / frontend | H1 + tagline, badges (CI/License), overview, Features, Tech Stack, Getting Started (prerequisites + commands), Environment Variables, Testing, Deployment, Contributing, License |
| API / backend | H1 + tagline, badges (CI/Docker/License), overview, Features, Getting Started (prerequisites + Docker option), API Reference (key endpoints table), Configuration, Testing, Contributing, License |
| Data science / ML | H1 + tagline, badges (Python/License), overview, Results (key metric upfront), Dataset, Setup, Usage (Training + Inference sections), Project Structure, Contributing, License |
Show the user the planned section list as a short bullet list:
"Here's what I'm planning — let me know if you want to adjust anything, otherwise I'll go ahead."
Step 4 — Write README.md
Always include
H1 project name + single punchy tagline on the line below (npm-style, not a sentence)
Badges — only include badges that genuinely apply. Common picks:
- CI status (GitHub Actions / Travis CI)
- Version (npm / PyPI / crates.io) — only if published
- License
- Language / platform version
Overview — 2–4 sentences. What it does, who it's for, why it exists. No buzzwords.
Features — 4–8 bullet points, concrete and specific ("Groups consecutive coverage lines into ranges" not "Easy to use")
Installation — exact commands copy-pasted from actual project config
Quick Start / Usage — at least one real working example with input and expected output
Contributing — 3–5 lines: fork, feature branch, PR. Reference CONTRIBUTING.md if it exists.
License — one line with type and link to LICENSE file
Include when genuinely relevant
- Screenshots / Demo —
<!-- Add screenshot here -->placeholder if visual but no image - Configuration — if the project has env vars, config files, or CLI flags
- Running Tests — exact test command
- Project Structure — for non-obvious layouts (monorepos, plugins)
- Roadmap / Limitations — only if there's real content
- Acknowledgements — if the project is built on notable tools
Writing rules
- Active voice, imperative: "Run
npm install" not "You can run..." - Short sentences — documentation not prose
- Every command/code in a fenced block with language specified
- No filler — if a section has nothing real to say, leave it out
- Target: 300–600 words for small/medium projects; up to 900 for larger ones
Step 5 — Deliver
- Write
README.mdto the project root - Tell the user:
- Which repos you drew inspiration from (name + URL)
- Any non-obvious structural choices
- Any sections you omitted and why
- Offer the most relevant follow-up: "Want me to also generate a
CONTRIBUTING.md?" or "Should I add a GitHub Actions CI workflow?"
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

