readme-writing
Skill1 starsChanged 6 months agoMITView on GitHub
Creates or improves repository README files using repository analysis, type-specific README patterns, and optional agent-facing guidance. Use when the user asks to write, rewrite, audit, or upgrade README.md documentation for libraries, frameworks, CLIs, applications, AI/ML projects, datasets, DevOps tools, infrastructure projects, SDKs, templates, agent plugins, or documentation repositories.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- luxiangze/skillstheir own version, first seen Nov 1, 2026
- Charlyhno-eng/jev-codex-pilottheir own version, first seen Oct 13, 2026
- codetesla51/skillstheir own version, first seen Sep 25, 2026
- Jannchie/skillstheir own version, first seen Aug 1, 2026
- KhaledSaeed18/dotclaudetheir own version, first seen Jul 4, 2026
- yiweiwan/skillstheir own version, first seen May 12, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- codetesla51/skills★ 32same name
- Charlyhno-eng/jev-codex-pilot★ 7same name
- KhaledSaeed18/dotclaude★ 5same name
- indubitably-ai/indubitably-skills★ 1same name
- Jannchie/skills★ 1same name
- yiweiwan/skills★ 1same name
- luxiangze/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.
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 4 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Write README files from repository facts, not generic templates.
- Very specific: line 16
After running repository analysis, read references/index.md to map repo_type to the right guide and optional research file.
- Distinctive: line 38
Treat the output as a draftable fact sheet.
- Very specific: line 40
Read references/index.md for the repo-type guide and research mapping.
- Very specific: line 42
Read the repo-type reference matching repo_type.
- Very specific: line 43
Read the mapped references/research/*.md only when examples or anti-patterns would improve the draft.
- Very specific: line 46
Use agent_content_strategy: omit means no agent section, link-to-agent-doc means link to existing AGENTS.md or CLAUDE.md, and inline means …
- Very specific: line 47
Run python skills/readme-writing/scripts/validate_readme.py <repo> --analysis <analysis.json> when you have a README draft saved.
- Very specific: line 52
Never force For Human or For Agents headings.
- Very specific: line 53
Prefer commands from command_details when inferred is false.
- Distinctive: line 54
Keep the first screen concrete: project name, value, audience, and the fastest useful action.
- Distinctive: line 56
Do not copy researched README prose.
“Common” is measured: kept by at least 6 in 10 of the 5 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
README Writing
Overview
Write README files from repository facts, not generic templates. Use the bundled scripts to create a stable analysis, then load only the reference files needed for the detected repository type.
Agent-facing content is optional. Decide whether to inline it, link to an agent doc, or omit it using references/audience-policy.md and the script's agent_content_strategy.
Reference Map
After running repository analysis, read references/index.md to map repo_type to the right guide and optional research file. Then load the minimum set needed:
- Agent policy:
references/audience-policy.md - Libraries and SDKs:
references/repo-types/libraries-sdks.md - CLI and developer tools:
references/repo-types/cli-devtools.md - Applications and UI:
references/repo-types/apps-ui.md - AI/ML, data, and benchmarks:
references/repo-types/ai-ml-data.md - Infrastructure and DevOps:
references/repo-types/infra-devops.md - Documentation, learning, and awesome lists:
references/repo-types/docs-learning.md - Plugins and agent skills:
references/repo-types/plugins-agent-skills.md - Security, privacy, and protocols:
references/repo-types/security-protocols.md - Fallback/general repositories:
references/repo-types/general.md
Dependencies
scripts/analyze_repo.pyandscripts/validate_readme.pyuse only the Python standard library. Run them with Python 3.10+.
Workflow
- Analyze the repository:
- Run
python skills/readme-writing/scripts/analyze_repo.py <repo> --format json --output <analysis.json>. - For a human-readable starting point, run
python skills/readme-writing/scripts/analyze_repo.py <repo> --format markdown-outline --output <analysis-outline.md>. - Treat the output as a draftable fact sheet. Do not commit generated analysis files unless the user asks.
- Run
- Load references:
- Read
references/index.mdfor the repo-type guide and research mapping. - Read
references/audience-policy.md. - Read the repo-type reference matching
repo_type; read a second type only for true hybrids such as CLI plus library or AI app plus dataset. - Read the mapped
references/research/*.mdonly when examples or anti-patterns would improve the draft.
- Read
- Draft and validate:
- Build a natural README structure from the repo-type reference and the analysis output.
- Use
agent_content_strategy:omitmeans no agent section,link-to-agent-docmeans link to existingAGENTS.mdorCLAUDE.md, andinlinemeans include concise agent-oriented usage or compatibility notes. - Run
python skills/readme-writing/scripts/validate_readme.py <repo> --analysis <analysis.json>when you have a README draft saved. - Fix reported issues or explain any intentionally accepted warning.
Quality Rules
- Never force
For HumanorFor Agentsheadings. Use them only when they fit the repo and user request. - Prefer commands from
command_detailswheninferredisfalse; label inferred commands explicitly, with the marker source matchingcommand_details.sourceorcommand_details.evidence. - Keep the first screen concrete: project name, value, audience, and the fastest useful action.
- Link to deeper docs instead of duplicating mature documentation.
- Do not copy researched README prose. Use references for patterns, not source text.
- Omit unsupported badges, benchmarks, install commands, guarantees, and roadmap claims.
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.

