Reverse Doc — Documentation skill for Claude Code
Generate architecture documentation from existing code — C4 diagrams, component inventory, dependency map.
How to install Reverse Doc
Installs to ~/.claude/skills/inprimex-otaman-plugin-reverse-doc/SKILL.md
mkdir -p ~/.claude/skills/inprimex-otaman-plugin-reverse-doc && curl -fsSL https://raw.githubusercontent.com/inprimex/otaman-plugin/HEAD/commands/reverse-doc.md -o ~/.claude/skills/inprimex-otaman-plugin-reverse-doc/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Reverse Doc does
name: reverse-doc description: "Generate architecture documentation from existing code — C4 diagrams, component inventory, dependency map" model: sonnet effort: medium arguments:
- name: scope description: "Scope: 'all' (full project), or a specific repo name" required: false
/otaman:reverse-doc
Generate architecture documentation by analyzing existing code. Useful for brownfield adoption — when inheriting a codebase that lacks documentation.
Steps
Step 0: Find pro
Alternatives in Documentation
- HitCC — Complete reverse-engineering documentation of the full logic of Claude Code CLI Node.js version v2.1.84 670 ★
- Cog — 240+ Cognitive architecture for Claude Code -- persistent memory, self-reflection, and foresight via plain-tex 294 ★
- Create Component Doc — Create Component Documentation 150 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Reverse Engineer
Reads an existing codebase and produces structured requirements, architecture documentation, and a landmine re
Doc Write
Use when writing documentation from scratch or improving existing docs. Covers README, ARCHITECTURE, API refer
Explain Plan
Convert a plan doc into a self-contained interactive HTML explanation (Mermaid diagrams, blast-radius map, ste
Autodoc Init
Generate a full code-documentation wiki from a source repo using an ultracode workflow. Clones the repo, scaff
Create Architecture Documentation
Generate comprehensive architecture documentation with diagrams, ADRs, and interactive visualization
Arc42
Generate or update arc42 architecture documentation with C4 diagrams for the current project. Reads the codeba
Related Agents
Blueprint Agent
Generates docs/BLUEPRINT.md — a living map of the project covering stack, architecture diagram, API inventory,
Feature Estimator Architecture
Sub-agent of the feature-estimator pipeline. Produces the architecture overview document with Mermaid diagrams
Technical Doc Writer
Technical design documentation writer using GitHub Markdown with Mermaid diagrams. Use for architecture docs,