/dd:docs:readmefrom dd:docs
Generates or updates a README.md by analyzing a project's codebase, dependencies, and structure. Useful when a user asks to write, create, update, or fix a README.
Ships in dd:docs. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generate a clear, technical, user-friendly README.md by analyzing the project.
Voice: follow ${CLAUDE_PLUGIN_ROOT}/references/voice.md — read it before writing.
Gather the context below. First size the project — git ls-files | wc -l (or a quick glance at the tree) — then decide where to do the reading:
general-purpose) with a prompt asking it to explore the project and return a compact structured report, not file dumps.Use judgment on the threshold. Either way, gather:
package.json, Cargo.toml, go.mod, pyproject.toml), build system (Makefile, Taskfile, justfile, docker-compose), CI (.gitlab-ci.yml, .github/workflows/).src/main.rs, main.go, index.ts, app.py, package-manifest bin entries, Dockerfile CMD/ENTRYPOINT — and summarize in 1–2 sentences..env.example / config files — variable + purpose.docs/ files worth linking.Read the existing README.md yourself in this thread (don't rely on the subagent's paraphrase) — you need it verbatim to preserve human-written content. Only rewrite sections that are outdated or missing; keep custom sections, acknowledgements, and project-specific context.
Follow this structure. Skip sections that don't apply — an empty section signals neglect, not thoroughness.
# project-name
One-line description of what the project does. No fluff.
## Prerequisites
- **Tool** — [Install link](url)
- **Tool** — [Install link](url)
## Installation
### Quick Install (recommended)
\`\`\`bash
oneliner here
\`\`\`
### From Source
\`\`\`bash
git clone ...
cd ...
build command
\`\`\`
### Verify
\`\`\`bash
command --version
\`\`\`
## Usage
Show the primary workflow or most common commands.
Keep examples copy-pasteable.
## Configuration
Minimal config example inline.
Full config → [docs/configuration.md](docs/configuration.md)
## [Domain-specific sections]
Only what the user needs. Command reference, API surface, state management, etc.
## Contributing
Short instructions or link to CONTRIBUTING.md.
## License
One line with link.
Lead with the simplest install method — the first thing a reader sees determines whether they try or bounce.
Priority order:
If the project has no install script, suggest creating one and note it as a recommendation.
| Rule | Details |
|---|---|
| Prerequisites | Short bullet list. One line per tool with install link. No explanations — the link is the explanation. |
| Installation | Oneliner first. Every install path ends with a verify command. |
| Configuration | Show minimal working config inline. If config is complex (>30 lines), extract full version to docs/configuration.md and link to it. |
| Usage | Real commands, real output. Show the happy path first. |
| Complex sections | If any section exceeds ~50 lines, extract to docs/<topic>.md and reference: See [docs/topic.md](docs/topic.md) for details. |
| Environment variables | Table format: Variable / Purpose. No defaults column unless defaults are non-obvious. |
If the README would become too long or has sections with deep detail:
docs/ directory if it doesn't existdocs/configuration.md, docs/architecture.md, docs/api.md)[!IMPORTANT] The README is the entry point, not the encyclopedia. Keep it scannable. Link out for depth.
After writing, verify the README against this checklist:
| # | Check | Fail action |
|---|---|---|
| 1 | Can a new developer understand what this project does within 30 seconds? | Rewrite the description |
| 2 | Can they install it by copy-pasting commands? | Fix install section |
| 3 | Are prerequisites just short links, not paragraphs? | Trim to bullet + link |
| 4 | Is installation within the first 3 sections? | Move it up |
| 5 | Does any section exceed ~50 lines? | Extract to docs/ |
| 6 | Are there marketing words (revolutionary, powerful, seamless, blazing fast)? | Remove them |
| 7 | Are callout blocks used appropriately (not decoratively)? | Remove unnecessary ones |
| 8 | Do all commands actually work if copy-pasted? | Fix paths, flags, placeholders |
| 9 | Is there a verify step after install? | Add one |
| 10 | Are relative links correct? | Test each path |
Report the review results to the user. If any check fails, fix it before finalizing.
What SKILL.md sets; muted values are Claude Code's defaults
mediumOther plugins' skills for the same job
npx claudepluginhub napalmpapalam/skills --plugin docs2 skills in this plugin