documentation-generator — Claude Code command: docs, install
The documentation-generator command turns code, APIs, and project details into structured developer documentation. Use it when setup notes, examples, or endpoint references need to be written.
no license ★ 2,003 updated 2026-07-26
/plugin marketplace add composio-community/awesome-claude-plugins
/plugin install documentation-generator@awesome-claude-pluginsWhat documentation-generator does
The command asks Claude Code to document functions and methods with their inputs and returned values, then add usage examples, edge cases, error handling, and performance notes. For APIs, it covers endpoints, HTTP methods, request and response schemas, authentication, rate limits, error codes, and interactive examples.
It can also shape project documentation around installation, setup, configuration, troubleshooting, and contribution guidance. The output uses Markdown and practical examples. That scope is too broad for a short one-off note.
Run the slash command and point it at the code, API, or project to document. The material you provide determines which sections the agent can fill in.
What it helps with
- document functions with parameters and return values
- describe API endpoints and their HTTP methods
- add usage examples and edge-case handling
- write project setup and installation instructions
- organize configuration and troubleshooting notes
Example prompts for the agent
/documentation-generatorDocument the functions insrc/auth.py, including parameters, return values, and call examples./documentation-generatorCreate API docs with endpoint methods, request and response schemas, authentication details, rate limits, and error codes./documentation-generatorDraft project documentation covering installation, setup, configuration, troubleshooting, and contribution guidance.
How to install documentation-generator
1Plugin marketplace
/plugin marketplace add composio-community/awesome-claude-plugins/plugin install documentation-generator@awesome-claude-plugins2Manually: put the files in place
.claude/commands/documentation-generator.mdCall it with /documentation-generator. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/documentation-generator.mdCall it with /prompts:documentation-generator. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/documentation-generator.prompt.mdManually: put the files in place
.gemini/commands/documentation-generator.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about documentation-generator
How do I install documentation-generator in Claude Code?
Run /plugin marketplace add composio-community/awesome-claude-plugins, then /plugin install documentation-generator@awesome-claude-plugins, and add .claude/commands/documentation-generator.md.
What does documentation-generator do?
It creates Markdown documentation for code, APIs, and projects. Its outline can include explanations, examples, API schemas, setup details, configuration, and troubleshooting.
What can it include in API documentation?
It can cover endpoint descriptions, HTTP methods, request and response schemas, authentication requirements, rate limits, error codes, and interactive examples.