halflength-ampleness75

Doc Gen — Documentation skill for Claude Code

Documentation community

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

Terminal
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 Repository