Skip to content
Development
Command

/document-all

Auto-document the entire codebase by generating module-level docs, function signatures, and API references.

From plugin
rohitg00-claude-code-toolkit
2.5k199 skills138 agents199 commands
Install
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/document-all

Context preview

What this command does when you run it.

Auto-document the entire codebase by generating module-level docs, function signatures, and API references.

Command definition

document-all.md

Auto-document the entire codebase by generating module-level docs, function signatures, and API references.

Steps

1. Scan the project structure to identify all source files and their organization. 2. For each module or directory: 3. For each public function or method: 4. Generate an API reference organized by module. 5. Create a dependency graph showing how modules relate. 6. Identify undocumented or poorly documented areas. 7. Output documentation in the project's preferred format (JSDoc, docstrings, etc.).

Format

# Module: <name>
Purpose: <what this module does>
Exports: <list of public APIs>
Dependencies: <what it imports>

Rules

  • Follow existing documentation conventions in the project.
  • Only document public/exported APIs, not internal helpers.
  • Include real usage examples found in the codebase, not fabricated ones.
Ships withrohitg00-claude-code-toolkit

The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.

Get the whole plugin