code-documentation — Claude Code plugin: docs and code explanation
A plugin for generating documentation, explaining code and technical writing. Useful when you need to describe an unfamiliar module or build a tutorial.
/plugin marketplace add wshobson/agents
/plugin install code-documentation@claude-code-workflowsWhat code-documentation does
code-documentation covers three jobs: documentation generation, code explanation and technical writing. It also handles automated doc generation and tutorial creation.
Install goes through the wshobson/agents marketplace. Add the marketplace first, then install the plugin from the claude-code-workflows set. The plugin is published by Seth Hobson under the MIT license.
Make sure Claude is open and the marketplace is reachable — without adding wshobson/agents, the install command won't find the package. Codex and Cursor are listed as supported platforms, but no install commands are given for them, so you wire it up by hand there.
What it helps with
- document an unfamiliar module before refactoring
- build a README from existing code
- explain how a function works to a teammate
- write a tutorial for an internal API
- prepare technical copy for a release
Example prompts for the agent
- generate documentation for the
authmodule - explain what this file does and add comments
- build a tutorial for our API from
src/api
How to install code-documentation
Plugin marketplace
/plugin marketplace add wshobson/agents/plugin install code-documentation@claude-code-workflowsStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about code-documentation
How do I install code-documentation in Claude?
Add the marketplace with /plugin marketplace add wshobson/agents, then install the plugin: /plugin install code-documentation@claude-code-workflows.
What does code-documentation do?
It generates documentation, explains code and helps with technical writing. Automated doc generation and tutorial creation are included.
Does the plugin work in Codex and Cursor?
It is listed for Claude, Codex and Cursor, but install commands are only given for Claude. Set it up manually in the other environments.
Source text
code-documentation · MIT
Documentation generation, code explanation, and technical writing with automated doc generation and tutorial creation
© Seth Hobson · MIT · wshobson/agents