What problem does it solve?
When implementation exists without planning artifacts, it is hard to understand the original design intent, architecture decisions, and missing edge-case behavior. This Skill reverse-engineers code and prototypes to produce clear, reviewable design documents and architecture records that capture both what the system does and the rationale behind it.
Core Features & Use Cases
- Implementation analysis: Reads code and prototype folders to identify mechanics, state machines, formulas, and system interactions.
- Document generation: Produces GDD sections, ADRs, or concept documents using templates and a defined output structure.
- Clarification-first workflow: Surfaces unclear intent areas and asks targeted questions before drafting to avoid incorrect assumptions.
- Collaborative write-out: Presents findings and drafts, waits for approval, and can write templated markdown files into the repository when authorized.
- Use cases: Formalize a prototyped mechanic, onboard to an undocumented codebase, or capture architecture decisions after implementation.
Quick Start
Run the reverse-document command with a type and path, for example: /reverse-document design src/gameplay/combat