documentation-plugin/skills/docs-generate/SKILL.md
Generate or update docs from code annotations, docstrings, and git history. Use when wanting API reference, README from code, or CHANGELOG from conventional commits.
npx skillsauth add laurigates/claude-plugins docs-generateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| 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" \)grep -r "\"\"\"" --include="*.py" -l--api: Generate API reference documentation--readme: Update README.md based on code analysis--changelog: Update CHANGELOG.md from git historyDelegate this task to the documentation agent.
Use the Agent tool with subagent_type: documentation to generate or update project documentation. Pass all the context gathered above and the parsed parameters to the agent.
The documentation 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.
tools
Scaffold a new ComfyUI custom-node repo (pyproject, CI, release-please, vitest+pytest, JS extension skeleton) in the picker/gesture vein. Use when bootstrapping or init-ing a comfyui node pack.
tools
Orchestrate a ComfyUI node pack from idea to registry: scaffold, create + seed the repo, open the gitops adoption PR. Use when releasing or spinning up a new comfyui node pack.
testing
macOS EndpointSecurity/EDR high CPU & battery drain. Use when Kandji ESF / XProtect pegs a core; trace the exec storm via powermetrics + eslogger.
development
odiff pixel-by-pixel image diffing. Use when comparing screenshots, detecting visual regressions, diffing before/after PNGs, asserting golden images.