reverse-document · git:20260907.501dbca · 2026-09-07 · sha256 de3f528d5a42acbc
reverse-document git:20260907.501dbcaA
Immutable. This exact content never changes and is served at /api/v1/blob/de3f528d5a42acbc.
--- name: reverse-document description: >- Generate design or architecture documents from existing implementation. Works backwards from code/prototypes to create missing planning docs. --- # Reverse Document Codex port of Claude Code Game Studios /reverse-document. Use this skill when the task matches the workflow described below. Keep the Codex version lightweight: load `references/claude-skill.md` only when the original detailed Claude workflow is needed. ## Codex Workflow 1. Read repository-local instructions first: `AGENTS.md`, `CLAUDE.md`, the nearest path-scoped instructions (`Assets/CLAUDE.md` for Unity when present), and any referenced project docs. 2. Use this workflow's intent, but follow Codex tool and collaboration rules. 3. Apply SOLID, Clean Code, clear English naming, dependency boundaries, and focused tests for new or changed expected behavior. 4. When a Claude workflow mentions a custom agent, treat it as a role reference. Do the work locally unless the user explicitly asks for sub-agents or parallel agent work. 5. For implementation tasks, make the change directly when the request is clear; ask only when a decision cannot be safely inferred from local context. 6. Verify with the repository's available checks and summarize changed files, tests run, and residual risk. ## Original Workflow Summary Generate design or architecture documents from existing implementation. Works backwards from code/prototypes to create missing planning docs. ## Detailed Reference - Original Claude skill: `references/claude-skill.md`