adopt
Brownfield audit — do existing artifacts actually work? Numbered migration plan. Unlike /project-stage-detect, checks compliance…
Generate missing design or architecture docs from existing implementation — works backwards from code and prototypes.
Claude Code
$ npx -y skills add Donchitos/Claude-Code-Game-Studios --skill reverse-document --agent claude-code
Codex
$ npx skills add Donchitos/Claude-Code-Game-Studios --skill reverse-document -a codex -y
Cursor
$ npx skills add Donchitos/Claude-Code-Game-Studios --skill reverse-document -a cursor -y
Gemini CLI
$ npx skills add Donchitos/Claude-Code-Game-Studios --skill reverse-document -a gemini-cli -y
GitHub Copilot
$ npx skills add Donchitos/Claude-Code-Game-Studios --skill reverse-document -a github-copilot -y
OpenCode
$ npx skills add Donchitos/Claude-Code-Game-Studios --skill reverse-document -a opencode -y
Windsurf
$ npx skills add Donchitos/Claude-Code-Game-Studios --skill reverse-document -a windsurf -y
name: reverse-document description: "Writes missing design or architecture docs, or a game's brief, from code. Use when code or prototypes have no docs." argument-hint: "<type> <path> (e.g., 'design src/gameplay/combat', 'architecture Assets/Scripts/Core' or 'brief prototypes/my-game')" user-invocable: true allowed-tools: Read, Glob, Grep, Write, Edit, Bash(bash "*/.claude/skills/reverse-document/../../hooks/yaml-helper.sh" resolve_config *), Bash(bash .claude/scripts/game-read.sh *) model: sonnet # Read-only diagnostic skill — no specialist agent delegation needed
This skill analyzes existing implementation (code, prototypes, systems) and generates appropriate design or architecture documentation. Use this when:
---
**Format**: `/reverse-document <type> <path>`
**Type options**:
folder with `index.html`), its Features marked built. **Read `references/from-a-game.md` now and follow it**: it takes the place of Phases 2 to 7 for a game. For any other type, do not load it.
**Path**: Directory or file to analyze, under the code root — `src/` Godot, `Assets/` Unity, `Source/<Module>/` Unreal (`.claude/docs/code-root-resolution.md`)
!`bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys workflow,system_overrides,automation`
**Automation mode**: Resolve `modes.automation` (`project.local.yaml` → `project.yaml` → default `collaborative`). Every question and every file write follows `.claude/docs/automation-modes.md` (collaborative asks always · guided major-only · autonomous logs and proceeds; `automation_always_ask` categories always prompt).
Resolved above — use as-is. No block → defaults in `.claude/docs/config-resolution.md`.
**Resolve the workflow tier** for the target system: map `<path>` to a system name, then use the `system_overrides` row for that system if the block above lists one, else the project `workflow` value. It sets how much document is generated — see Phase 5. Semantics of each tier are in `.claude/docs/workflow-modes.md`.
> **Resolve the tier — do not assume it.** `workflow-modes.md` defines what each > tier *means*, but it cannot say what *this project* is set to; take that from > the block above. The consequence is large here — at `full` this skill > writes an 8-section GDD and at `minimal` a one-page brief, so a wrong tier > produces the wrong artifact entirely.
**Examples**:
/reverse-document design src/gameplay/magic-system /reverse-document architecture Source/MyGame/Private/EntityComponent /reverse-document concept prototypes/vehicle-combat
**Read and understand the code/prototype**:
**For design documents (GDD):**
**For architecture docs (ADR):**
**For concept docs (prototype analysis):**
Ask about intent; the person can read the code already:
**Design questions**:
**Architecture questions**:
**Concept questions**:
**Run this before Phase 4, and stop here if it fails.** This skill infers a design from an implementation, so when the implementation is thin there is nothing to infer *from* — and the template below will happily accept invented content, because every section of it is mandatory.
Count what Phase 2 actually found:
| Signal | What counts | |---|---| | Mechanics | A named behaviour with observable rules — not a stub, not an empty class | | Formulas | An expression computing a gameplay value from inputs | | Values | A tuning constant with a use site |
**If all three counts are zero, or the target path holds fewer than ~20 lines of non-boilerplate code, stop and say so:**
> "`[path]` does not contain enough implementation to reverse-document. > Found: [N] mechanics, [N] formulas, [N] tuning values. > Reverse-documentation i
Turn Claude Code into a full game dev studio — 49 AI agents, 72 workflow skills, and a complete coordination system mirroring real studio hierarchy.
Brownfield audit — do existing artifacts actually work? Numbered migration plan. Unlike /project-stage-detect, checks compliance…
Create an ADR documenting a technical decision: context, alternatives considered, consequences.
Traceability matrix mapping GDD requirements to ADRs. Finds gaps, cross-ADR conflicts, engine compatibility. PASS/CONCERNS/NOT…
Author the Art Bible — visual identity gating asset production. Run before /map-systems.
Audit assets against naming conventions, file size budgets, format standards. Finds orphaned assets, missing references.
Per-asset visual specs plus AI generation prompts from GDDs and character profiles. After the art bible.
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
Create a new Architecture Decision Record with sequential numbering and AgentDB registration