Skip to main content
command CX Codex

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

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add composio-community/awesome-claude-plugins
/plugin install documentation-generator@awesome-claude-plugins
Open on GitHub

What 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-generator Document the functions in src/auth.py, including parameters, return values, and call examples.
  • /documentation-generator Create API docs with endpoint methods, request and response schemas, authentication details, rate limits, and error codes.
  • /documentation-generator Draft 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-plugins

2Manually: put the files in place

.claude/commands/documentation-generator.md

Call it with /documentation-generator. For all projects use ~/.claude/commands/

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.

Similar slash commands

All slash commands for Writing and docs →
generate-api-documentation davila7 generate-api-documentation scans source code for endpoint annotations and builds API documentation. Supports Swagger UI, Redoc, Postman collections, and automated CI/CD steps. CX Codex +1 1,849installs documentation-engineer VoltAgent Community documentation-engineer is a Claude Code subagent that generates and maintains developer documentation, API references, and architecture guides, identifying gaps between code and docs. CX Codex 735installs documentation official anthropics documentation — a skill for technical writing that drafts READMEs, API references, runbooks, architecture docs and onboarding guides. Useful when the code exists but the description does not. CX Codex +1 10,800installs code-documentation aj-geddes code-documentation — a skill for Claude Code, Codex, Cursor, GitHub Copilot, and Gemini CLI that generates language-standard documentation: JSDoc, Python docstrings, JavaDoc, and inline comments. CX Codex +1 502installs documentation-templates davila7 The documentation-templates skill provides outlines and templates for READMEs, API references, code comments, and project records. Use it when starting documentation or bringing existing pages into a clearer structure. CX Codex +1 305installs code-documentation-analyzer Jeremy Longshore Auto-activating skill for auditing code documentation: API references, user guides, architecture docs. Triggers on phrases like "code documentation analyzer" or "code analyzer". CX Codex +1 1installs

From the same set68

The whole set →
code-review code-review inspects recent repository changes using git context. It spots security flaws, performance bottlenecks, and test gaps before you push code. CX Codex +1 ★ 2,003repo stars list-subs list-subs inspects active skill-bus subscriptions across global and project settings. Use it to trace conditions and predict which skills would run. CX Codex +1 ★ 2,003repo stars pause-subs pause-subs turns the skill bus off, everywhere or for one project. Subscriptions stay in place and stop firing until you switch them back. CX Codex +1 ★ 2,003repo stars perf-analyzer perf-analyzer — a Claude Code subagent that turns profiling results and benchmark experiments into evidence-backed recommendations structured by a strict template. CX Codex ★ 2,003repo stars perf-investigation-logger perf-investigation-logger — a subagent for structured documentation of performance investigations. Captures verbatim user statements, findings, and evidence in a single log. CX Codex ★ 2,003repo stars pause-subs pause-subs is a Claude Code skill that temporarily disables skill-bus subscriptions without removing their settings, for tasks interrupted by background triggers. CX Codex +1 ★ 2,003repo stars create-pr create-pr is a Claude Code command that turns working changes into a pull request. It branches the work, formats edited files, and prepares commits. CX Codex +1 ★ 2,003repo stars commit A slash command that builds your git commit: stages files, writes a conventional-commit message with an emoji, and runs the project's checks first. CX Codex +1 ★ 2,003repo stars

Project sponsors

Companies that keep this analytics open