cli-forge-readme
Skill0 starsChanged 3 months agoMITView on GitHub
Use this skill whenever the user wants to create, improve, audit, or rewrite a README.md file for any project. Triggers include: 'readme', 'README', 'documentation for my project', 'write a readme', 'improve my readme', 'project landing page', or any request to document a codebase, library, CLI tool, infrastructure project, or research repo. Also triggers when the user asks to 'make my project more accessible', 'add a getting started guide', or wants badges, installation instructions, or contributing guidelines. Use this skill even when the user just says 'document this' or 'make this repo presentable'. Do NOT use for API reference docs generation, full documentation sites (mdbook, docusaurus), or man pages.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- Destynova2/cli-code-skillsedited, first seen Nov 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- Destynova2/cli-code-skills★ 599% same
Wrote their own version · 0
None found.
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 repository39 other files it gives its agents.
- .cursor/rules/cli-audit-code.mdcCursor rule
- .cursor/rules/cli-audit-doc.mdcCursor rule
- .cursor/rules/cli-forge-arch.mdcCursor rule
- .cursor/rules/cli-forge-schema.mdcCursor rule
- cli-audit-codeSkill
- cli-audit-dataSkill
- cli-audit-docSkill
- cli-audit-driftSkill
- cli-audit-hanoiSkill
- cli-audit-reviewSkill
- cli-audit-shellSkill
- cli-audit-syncSkill
- cli-audit-tangleSkill
- cli-audit-testSkill
- cli-audit-wizardSkill
- cli-audit-xraySkill
- cli-cycleSkill
- cli-forge-archSkill
- cli-forge-chefSkill
- cli-forge-choice-uxSkill
- cli-forge-dataSkill
- cli-forge-demoSkill
- cli-forge-docSkill
- cli-forge-githubSkill
- cli-forge-hldSkill
- cli-forge-infraSkill
- cli-forge-lldSkill
- cli-forge-oci-rootlessSkill
- cli-forge-perfSkill
- cli-forge-pipelineSkill
- cli-forge-plumeSkill
- cli-forge-prezSkill
- cli-forge-profileSkill
- cli-forge-quorumSkill
- cli-forge-resilienceSkill
- cli-forge-schemaSkill
- cli-forge-treeSkill
- cli-git-conventionalSkill
- cli-watermarkSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 64
Read existing files: README.md, CHANGELOG, LICENSE, CI configs, manifest
- Distinctive: line 65
Only ask for what's missing
- Very specific: line 70
Read references/pyramid.md for the detailed tier structure, rules, and badge templates.
- Distinctive: line 87
No empty sections: if nothing to say, omit entirely.
- Distinctive: line 114
Write to project root as README.md
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Optimization: This skill uses on-demand loading. Heavy content lives in
references/and is loaded only when needed.
Language rule: Skill instructions are written in English. When generating user-facing output, detect the project's primary language (from README, comments, docs, commit messages) and produce the README in that language. If the project is bilingual, ask the user which language to use before proceeding.
Diacritics rule: When the chosen output language uses diacritics (French, Spanish, Portuguese, etc.), render them correctly — including on capitals (É, À, Ç, Ô…). Never strip accents to ASCII: write "sécurité" not "securite", "Rôle" not "Role". ASCII-flattened French is a defect, not a style.
Writing style: Favor clarity — short sentences, one idea per sentence, plain words. A metaphor only when it clarifies. Keep one consistent register (impersonal/infinitive for operational docs). Separate narrative prose, meant to make the reader understand, from telegraphic content (tables, commands, checklists) which stays terse for action.
No fabricated output: Never invent command output, console captures, API responses, metrics, or logs. When real output is needed, emit a clearly-marked placeholder (🚧 "replace with a real capture"), never plausible-but-fake text presented as real.
README Generator — Production First
Generate professional README.md files where results come first, plumbing comes second.
Gotchas — read ../gotchas.md before producing output to avoid known mistakes.
Philosophy
A README is a landing page, not a technical manual.
- 90% of visitors want to know: what, why, how to start
- 10% want to contribute or understand internals
- Structure for the 90%, don't punish them with the 10%
Tone rule: Friendly on the surface, technical in depth.
- Tier 1–2: plain language, no jargon, a junior dev or a PM can understand
- Tier 3: full technical depth, assume the reader codes
Workflow
Step 1 — Detect project context
Build the shared reconnaissance brief first — read ../shared/recon.md (what / who / problem / headline / differentiator / golden-path). The same brief feeds prez and demo, so the README, slides, and live demo tell one story.
Then read the project root to auto-detect the type:
| Signal | Project Type |
Cargo.toml | rust-lib or rust-cli (check [[bin]]) |
go.mod | go-lib or go-cli |
package.json | js-lib, js-app, or js-cli (check bin field) |
pyproject.toml / setup.py | python-lib or python-cli |
*.tf / terragrunt.hcl | infra-terraform |
helmfile.yaml / Chart.yaml | infra-helm |
docker-compose*.yml + app code | app-backend |
Containerfile / Dockerfile | container |
kustomization.yaml | kustomize (+flux if flux-system/) |
site.yml / playbooks/ / roles/ | ansible |
*.sh + no other code | shell-scripts |
If nothing detected → ask user with QCM (project type, language, deployment status).
Step 2 — Gather content
- Read existing files: README.md, CHANGELOG, LICENSE, CI configs, manifest
- Only ask for what's missing
- Find the hero moment: the ONE thing that makes someone go "I need this"
Step 3 — Write using the 3-Tier Pyramid
Read references/pyramid.md for the detailed tier structure, rules, and badge templates.
| Tier | Audience | Content |
| 1 — Hook | Everyone | Project name, one-liner, badges, visual |
| 2 — Get Started | Most people | Quickstart (3 cmds max), features (5 max), examples with output |
| 3 — Contribute | Devs / QA | Project structure, dev setup, architecture, contributing, license |
Then apply project-type-specific adaptations. Read references/project-types.md for per-type customization.
Formatting Standards
#= project name only.##= sections.###= subsections. Never deeper than####- Code blocks: always specify language (
bash,rust,yaml...) - Tables: for structured data only (env vars, flags, endpoints). Never for prose
- Links: relative for in-repo, absolute for external
- Target length: Tier 1+2 fit in ~3 screen heights. Tier 3 can expand
- No empty sections: if nothing to say, omit entirely. No TODOs in shipped READMEs
Quality Scoring — README Completeness Index (RCI)
RCI = Σ(wᵢ × sᵢ) / Σ(wᵢ) × 10| # | Item | Weight |
| 1 | Hook / one-liner | 5 |
| 2 | Quickstart | 5 |
| 3 | Install instructions | 4 |
| 4 | Usage examples | 4 |
| 5 | Badges | 2 |
| 6 | Project structure | 3 |
| 7 | Configuration | 3 |
| 8 | Contributing | 2 |
| 9 | License | 1 |
| 10 | Visual result | 3 |
Scoring: 0.0=absent, 0.25=stub, 0.5=exists but weak, 0.75=good, 1.0=excellent
Thresholds: 8+ excellent, 6-8 good, 4-6 needs work, <4 incomplete
Output
- Write to project root as
README.md - Show a brief summary: which tier sections were generated, what's missing/skipped
- Output the RCI table at the end of the review
Dynamic Handoffs
| Condition detected | Recommend | Why |
| Project needs full docs, not just README | /cli-forge-doc | Full documentation generation |
| Architecture diagram needed | /cli-forge-schema | Generate Mermaid |
| Commands section has untested scripts | /cli-audit-shell | Verify scripts work |
Rule: Recommend, don't auto-execute.
Integration with other cli-* skills
| Skill | Relation |
/cli-forge-tree | Generate the "Project Structure" section automatically |
/cli-forge-schema | Generate the diagrams embedded in the README |
/cli-forge-doc | The README is the entry point for the full documentation |
/cli-audit-doc | Audit the quality of the generated README |
/cli-audit-sync | Verify that the README stays coherent with the code |
/cli-cycle | Included in the cycle's documentation audit |
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.

