reverse-document

Generate GDDs, ADRs, or concept documents from existing code and prototypes.

277|65|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/pixel-cellar/Claude-Code-Game-Studios --skill reverse-document-pixel-cellar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reverse-document
Source: https://github.com/pixel-cellar/Claude-Code-Game-Studios/tree/main/.claude/skills/reverse-document
Command: npx skills add https://github.com/pixel-cellar/Claude-Code-Game-Studios --skill reverse-document-pixel-cellar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill analyzes existing code and prototypes to generate corresponding design or architecture documents, filling gaps when documentation is missing or unclear, and capturing the intended rationale after clarifications.

Core Features & Use Cases

  • Analyze code and prototypes to generate GDD, ADR, or concept documents from the given source paths.
  • Extract key design decisions, dependencies, and rationale, and organize them into structured documents.
  • Use collaborative clarifications to anchor intent before drafting artifacts.

Quick Start

Run the command /reverse-document design src/gameplay/combat to generate a design document from existing 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 architecture documentation from existing source code?

To generate architecture documentation from source code, this Skill parses existing codebases and prototypes to extract design decisions and dependencies, organizing them into structured ADRs or design docs after collaborative clarifications.

How do I reverse engineer a game design document from a prototype codebase?

Reverse engineering a GDD from prototype code involves parsing source paths like src/gameplay to map implementation details to design artifacts, delivering templated concept documents with clear rationale after anchoring intent.

Can I produce ADRs for outdated or missing documentation in src/core directories?

Yes, you can produce ADRs for outdated documentation in src/core by analyzing the existing code to extract key architectural decisions, mapping those decisions to structured templates with clear rationale.

What is the best way to document legacy code when the original design rationale is missing?

Documenting legacy code without original rationale requires reverse-engineering the implementation to infer decisions, then using collaborative clarifications to anchor intent before drafting templated design or architecture artifacts.

Does this code analysis approach work for both game design documents and software architecture records?

Yes, this code analysis approach works for both by parsing code and prototypes to map implementation details into either GDDs for gameplay systems or ADRs for core software architecture, delivering structured outputs.

When should I avoid reverse-engineering code to generate design docs?

You should avoid reverse-engineering code to generate design docs when the source code is heavily obfuscated or lacks coherent structure, as parsing relies on readable implementation logic to extract accurate design decisions.