/documentation-plugin:docs-generate [--api] [--readme] [--changelog]from documentation-plugin
Generates API reference, README, and CHANGELOG from docstrings, type signatures, and conventional commits. Use for fresh docs from code.
Ships in documentation-plugin. 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.
Read when SKILL.md points to them.
| Use this skill when... | Use docs-sync instead when... |
|---|---|
| Generating fresh API reference docs from docstrings, type signatures, and module structure | Reconciling existing skill/command/agent catalogs with the current codebase |
| Updating README.md from code analysis (installation steps, feature list, badges) | Fixing wrong counts or stale entries in CLAUDE.md / README catalogs |
| Producing a CHANGELOG from conventional-commit history | Preparing a service teardown checklist (use docs-decommission) |
| Building documentation pages that will be served via GitHub Pages or similar | Converting Markdown to print-ready PDF (use docs-latex) |
find . -maxdepth 1 \( -name 'pyproject.toml' -o -name 'package.json' -o -name 'Cargo.toml' -o -name 'go.mod' \)find . -maxdepth 1 \( -name 'README.md' -o -type d -name 'docs' \)find . -type f \( -name "*.py" -o -name "*.ts" -o -name "*.js" \)find . -type f -name "*.py" -not -path '*/node_modules/*' -not -path '*/.claude/worktrees/*'--api: Generate API reference documentation--readme: Update README.md based on code analysis--changelog: Update CHANGELOG.md from git historyDelegate this task to the agents-plugin:docs agent.
Use the Agent tool with subagent_type: agents-plugin:docs to generate or update project documentation. Pass all the context gathered in Context and the parsed parameters to the agent.
The docs agent should:
Analyze codebase:
Generate requested documentation:
If --api:
If --readme:
If --changelog:
If no flags: Generate all documentation
Follow documentation standards:
Output summary:
Provide the agent with:
The agent has expertise in:
For large projects, spawn teammates for parallel documentation generation:
| Teammate | Focus | Value |
|---|---|---|
| API docs teammate | Extract and generate API reference | Parallel with README generation |
| README teammate | Update project README and guides | Parallel with API docs |
| Changelog teammate | Generate changelog from git history | Independent of other doc tasks |
This is optional — the skill works with a single agent for most projects.
What SKILL.md sets; muted values are Claude Code's defaults
general-purpose), in the backgroundnpx claudepluginhub laurigates/claude-plugins --plugin documentation-plugin11 skills in this plugin
/claude-blog-sourcesFetch Claude Blog and official Claude Code docs. Use when researching Claude Code capabilities, CLAUDE.md optimization, memory hierarchy, or @import patterns./docs-claim-hygieneKeep figures in docs true: cite the command, not a count that moves; scope measurements; fix a corrected claim in every summary. Use when writing a number into docs or correcting a finding./docs-decommissionGenerate DECOMMISSION-<service>.md covering infra, data, access, DNS, dependencies, monitoring, and financial checklists. Use when decommissioning a service./docs-fetch-fallbacksWebFetch 404/403/timeout/empty-SPA fallback ladder: strip query, raw.githubusercontent, `gh api`, docs-source-at-a-pinned-tag, context7/WebSearch. Use when a doc or GitHub URL fetch fails or returns a page with no content./docs-latexConvert Markdown to LaTeX with TikZ and compile to PDF. Use when wanting a presentation-quality PDF, a professional report with diagrams, or print-ready documentation./docs-reference-checkDangling doc-reference gate: flag markdown naming repo paths or relative links that no longer exist. Use when docs cite moved/deleted files, or wiring a doc-drift lint.Other plugins' skills for the same job