Doc Gen — Documentation skill for Claude Code
Generate documentation — JSDoc, docstrings, README sections, or API docs.
How to install Doc Gen
Installs to ~/.claude/skills/halflength-ampleness75-claude-code-recipes-doc-gen/SKILL.md
mkdir -p ~/.claude/skills/halflength-ampleness75-claude-code-recipes-doc-gen && curl -fsSL https://raw.githubusercontent.com/halflength-ampleness75/claude-code-recipes/HEAD/commands/doc-gen.md -o ~/.claude/skills/halflength-ampleness75-claude-code-recipes-doc-gen/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Doc Gen does
model: haiku description: Generate documentation — JSDoc, docstrings, README sections, or API docs allowed-tools:
- Bash
- Read
- Glob
- Grep
- Edit
- Write
Generate documentation for the code specified in `$ARGUMENTS`. The argument may be a file path, a directory, a function name, or a keyword like "readme" or "api".
Step 1 — Determine Documentation Type
Parse `$ARGUMENTS` to figure out what kind of documentation is needed:
| Argument contains | Action |
|---|---|
| A |
Alternatives in Documentation
- Doc Co-authoring — Guide users through structured workflow for co-authoring documentation 94.1k ★
- Translate Doc Zh — Translate English documentation to Chinese 5.7k ★
- API Docs Generator — Generate comprehensive API documentation from code 2.6k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Massu Doc Gen
Generate JSDoc comments, README sections, and API docs for undocumented code
Doc Updater
Update existing documentation after code changes — READMEs, docstrings, JSDoc, API references. Distinct from /
Aod.Document
Quality review — code simplification, docstrings, CHANGELOG, API docs (supports --autonomous)
Docs Drift
Use to catch documentation that has silently gone stale — it spawns ONE fresh sibling session via CCC that ext
API Doc
Reads backend route files and generates OpenAPI 3.0 YAML documentation, saved to docs/openapi.yaml. Supports E
Doc Write
Use when writing documentation from scratch or improving existing docs. Covers README, ARCHITECTURE, API refer
Related Agents
Comment Verifier
Adversarial post-loop verifier — grades the QUALITY of inline source doc-comments (XML , JSDoc, docstrings, sh
Quality Docs
Documentation coverage check - verify Swagger docs, JSDoc comments, and API documentation.
Spgr Agent Documentation
Owns all developer-facing documentation: API reference, SDK clients, README, changelog, release notes, docstri