document-app — Claude Code command: document a codebase
document-app — a command to generate structured descriptions of AI-built code. Moved to the ai-shipping plugin; this installer shows where to find it and how to connect.
MIT ★ 28,211 updated 2026-10-16
/plugin marketplace add phuryn/pm-skills
/plugin install pm-ai-shipping@pm-skillsWhat document-app does
document-app analyzes a codebase or specific directory and produces documentation of its structure and logic. By default it examines the entire project; you can target a single path or area.
The command now lives in the ai-shipping plugin within phuryn/product-engineering. This copy in pm-skills serves as a redirect: when an agent loads pm-ai-shipping, it sees where the command moved and can guide you to install the current version.
If ai-shipping is already installed, use ai-shipping:document-app instead. If not, run the install commands above and the command becomes available.
What it helps with
- Generate an overview of project structure for team onboarding
- Fill a README with module descriptions and interactions
- Document AI-written code before code review
- Extract key components and entry points from an application
Example prompts for the agent
- Document the structure of the
src/componentsdirectory - Create a full overview of the entire codebase
- Describe payment processing logic in
src/services/payments
How to install document-app
1Plugin marketplace
/plugin marketplace add phuryn/pm-skills/plugin install pm-ai-shipping@pm-skills2Manually: put the files in place
.claude/commands/document-app.mdCall it with /document-app. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/document-app.mdCall it with /prompts:document-app. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/document-app.prompt.mdManually: put the files in place
.gemini/commands/document-app.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about document-app
How do I install document-app in Claude Code?
Run /plugin marketplace add phuryn/pm-skills, then /plugin install pm-ai-shipping@pm-skills. The command will then be available.
What does document-app do?
It reads through a codebase or part of it and produces documentation covering structure, key modules, and how they interact. Designed to work well with AI-generated code.
Why did this command move?
The active version is now in the ai-shipping plugin (phuryn/product-engineering). This copy stays here so agents know where it went. To use the current version, install ai-shipping from the marketplace.
Source text
document-app.md · MIT
--- description: Moved to phuryn/product-engineering, where it is maintained in the ai-shipping plugin; this copy says where it went and how to install it. Use when asked to document an AI-built codebase. argument-hint: "[check] <repo path or area; defaults to the whole repository>" --- # /document-app has moved `document-app` is maintained in [phuryn/product-engineering](https://github.com/phuryn/product-engineering/tree/main/ai-shipping/skills/document-app), in its `ai-shipping` plugin, with the rest of the AI Shipping Kit. This command, now a skill there, stays in pm-skills only so an agent that loads it knows where it went. - **`ai-shipping:document-app` is installed:** use it, not this copy. - **It isn't:** tell the user that `document-app` moved and how to install it, then help with the task as you would without it: ```bash claude plugin marketplace add phuryn/product-engineering claude plugin install ai-shipping@product-engineering ``` Other agents: [the repository's README](https://github.com/phuryn/product-engineering#install). Once it's installed, turn off `pm-ai-shipping` here, so this copy no longer loads beside it.
© Paweł Huryn · MIT · phuryn/pm-skills