generate-readme
Skill765 starsChanged 4 months agoMITView on GitHub
Generate or refresh a comprehensive, professional README.md for a repository, with architecture overview, mermaid and optional C4 diagrams, repository structure, dependencies, and API documentation. Use whenever the user asks to create, write, update, improve, or regenerate a README, project documentation, or a project overview page — even if they just say "document this project" or "this repo needs docs".
6 other projects use a version of this.
Adopted by
Most recently taken up by
- Jay-1409/skillstheir own version, first seen Oct 3, 2026
- juanitourquiza/shipframetheir own version, first seen Oct 1, 2026
- eddmann/agent-toolkittheir own version, first seen Sep 22, 2026
- tranviet0710/agent-skillstheir own version, first seen May 13, 2026
- microsoft/Agent365-Samplestheir own version, first seen May 6, 2026
- gricha/dangerous-skillstheir own version, first seen Mar 23, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- microsoft/Agent365-Samples★ 112same name
- gricha/dangerous-skills★ 38same name
- eddmann/agent-toolkit★ 2same name
- Jay-1409/skills★ 2same name
- juanitourquiza/shipframe★ 2same 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 repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/agent-development.mdcCursor rule
- .cursor/rules/code-patterns.mdcCursor rule
- .cursor/rules/project-overview.mdcCursor rule
- analyze-codebaseSkill
- generate-ai-rulesSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 3 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Check for existing analysis documents in <repo>/.ai/docs/ (structure, dependency, data-flow, request-flow, API analyses).
- Distinctive: line 16
If they exist: use them as your primary source, but spot-check key claims against the code — they may be stale.
- Distinctive: line 21
Ask the user (or infer from their request) whether to incorporate the existing README:
- Distinctive: line 43
Use only information that can be reasonably inferred from the code and repository structure — never invent capabilities, and describe …
- Very specific: line 44
Do not include or reference any file from the .ai/docs/ directory — those are internal AI artifacts.
- Very specific: line 52
Write the file to <repo>/README.md, then summarize for the user what changed versus the previous README (if any) and flag anything you …
“Common” is measured: kept by at least 6 in 10 of the 6 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
Transform codebase analysis into a clear, welcoming README.md that helps engineers quickly understand the project.
Workflow
1. Gather analysis data
Check for existing analysis documents in <repo>/.ai/docs/ (structure, dependency, data-flow, request-flow, API analyses). They may have been produced by the analyze-codebase skill.
- If they exist: use them as your primary source, but spot-check key claims against the code — they may be stale.
- If they don't exist: offer to run the
analyze-codebaseskill first (better results, reusable artifacts). If the user declines or wants it quick, explore the codebase directly yourself before writing.
2. Handle the existing README
Ask the user (or infer from their request) whether to incorporate the existing README:
- Incorporate (default when a README exists): read it first; keep useful, still-accurate information — especially manually written content like setup quirks, badges, links, and licensing. Verify claims against the code; the old README may be outdated.
- From scratch: ignore the existing file entirely.
3. Write the README
Include the following sections, in this order, unless the user excludes some. Only use these headlines plus any carried over from the existing README — don't invent extra sections.
- Project Overview — title, concise description, purpose, key features, likely use cases.
- Table of Contents — for READMEs long enough to need one.
- Architecture — high-level overview, technology stack, component relationships with a mermaid diagram, key design patterns.
- C4 Model Architecture (optional, skip unless the project's complexity warrants it or the user asks) — context and container diagrams as mermaid, wrapped in
<details>/<summary>tags. Only include levels that can be reasonably deduced from the codebase. - Repository Structure — important directories and key files with their roles. Keep minimal and concise.
- Dependencies and Integration — internal/external service dependencies, message queues, event streams. Do not list ordinary libraries here.
- API Documentation — endpoints and request/response formats in an easy-to-read form (tables work well). No raw proto/schema dumps.
- Development Notes — project-specific conventions, how to run/test, performance considerations.
- Known Issues and Limitations — TODOs/FIXMEs found in code, incomplete features, technical debt.
- Additional Documentation — markdown links to other docs in the repository.
Writing guidelines
- Use only information that can be reasonably inferred from the code and repository structure — never invent capabilities, and describe existing code, not hypothetical code.
- Do not include or reference any file from the
.ai/docs/directory — those are internal AI artifacts. - Format with proper Markdown: headings, syntax-highlighted code blocks, lists, and tables.
- Make the README welcoming and clear for developers new to the project.
- For mermaid diagrams: group by logical boundaries, use meaningful relationship labels with descriptive verbs, keep visual hierarchy clean, and prefer several small focused diagrams over one giant one.
- Note (in your report to the user, not the README) any areas where additional documentation would help.
4. Report
Write the file to <repo>/README.md, then summarize for the user what changed versus the previous README (if any) and flag anything you couldn't verify from the code.
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.

