reverse-document

Generate design and architecture documentation from existing codebases and prototypes.

Updated Apr 22, 2026
One-click install
npx skills add https://github.com/brand6/Claude-Code-Game-Studios-zh-auto --skill reverse-document-brand6
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reverse-document
Source: https://github.com/brand6/Claude-Code-Game-Studios-zh-auto/tree/main/.claude/skills/reverse-document
Command: npx skills add https://github.com/brand6/Claude-Code-Game-Studios-zh-auto --skill reverse-document-brand6

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reverse-documentation automates the creation of missing design or architecture documentation by analyzing existing code and prototypes and producing structured planning artifacts.

Core Features & Use Cases

  • Code-to-docs: infers design, architecture, and concept documentation from codebase and prototypes.
  • Incremental readiness: fills gaps in GDD and ADR artifacts to align implementation with planning.
  • Use Case: when starting a project with active code, automatically generate initial documentation to jump-start design reviews.

Quick Start

Run the command /reverse-document <type> <path> to generate the corresponding documentation from code.

Frequently Asked Questions about reverse-document

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate design docs from existing source code?

Generating design docs from existing source code involves analyzing file structures and reading key implementation files to produce structured planning artifacts such as GDDs and ADRs. The tool outputs drafts for your review before writing them to documentation paths.

What is reverse-documentation for codebases?

Reverse-documentation is the process of inferring design, architecture, and concept documentation from active code and prototypes. It automates filling gaps in GDD and ADR artifacts to align implementation with planning.

When do I need to reverse-engineer architecture documentation?

You need to reverse-engineer architecture documentation when starting a project with active code that lacks documentation, or when existing design docs are outdated. It helps jump-start design reviews by generating initial planning artifacts.

Can I automatically create ADRs from an existing codebase?

Yes, you can automatically create ADRs from an existing codebase by running a reverse-documentation command that analyzes your code and prototypes. It produces structured ADR drafts that you review before saving them to the appropriate paths.

Does reverse-documentation work with prototypes or only full codebases?

Reverse-documentation works with both prototypes and full codebases. The tool analyzes file structures and reads key implementation files from either source to infer design and architecture, producing structured documentation drafts for review.

What are the limitations of generating GDDs from code?

A limitation of generating GDDs from code is that the output is a structured draft requiring user review before being written to documentation paths. The tool infers design from file structures and implementation files, so accuracy depends on code clarity.