reverse-document
Skill1 starsChanged 22 days agoMITView on GitHub
Generates studio documents (PRD, feature specs, architecture, data model, API contract, ADRs) from an existing codebase by spawning specialist agents in parallel, marking every inferred statement. Use after /adopt on a brownfield project, or when code exists without docs.
18 other projects use a version of this.
Adopted by
Most recently taken up by
- bullish0x/GameStudiotheir own version, first seen Nov 29, 2026
- chuanglibs/Claude-Code-Game-Studios-Codextheir own version, first seen Nov 15, 2026
- Donchitos/Claude-Code-Game-Studiostheir own version, first seen Nov 9, 2026
- striderZA/OpenCodeGameStudiostheir own version, first seen Nov 4, 2026
- venus2099/codex-game-studiostheir own version, first seen Oct 17, 2026
- scotidev/GameDevStudiotheir own version, first seen Oct 9, 2026
Other versions18 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 18
- Donchitos/Claude-Code-Game-Studios★ 39ksame name
- pixel-cellar/Claude-Code-Game-Studios★ 324same name
- striderZA/OpenCodeGameStudios★ 124same name
- tranhieutt/software_development_department★ 71same name
- cenconq25/claude-code-app-studio★ 40same name
- bullish0x/GameStudio★ 29same name
- CoralGame/Claude-Code-Game-Studios★ 19same name
- dawn840705/codex-code-studios★ 17same name
- CodePhobiia/claude-roblox-game-studio★ 9same name
- lilangMax/ClaudeCodeGameStudios★ 8same name
8 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository100 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- a11y-auditSkill
- add-ai-featureSkill
- add-authSkill
- add-cmsSkill
- add-i18nSkill
- add-paymentsSkill
- add-realtimeSkill
- adoptSkill
- analytics-planSkill
- api-contractSkill
- architecture-decisionSkill
- architecture-reviewSkill
- brainstormSkill
- brand-identitySkill
- bug-reportSkill
- bug-triageSkill
- changelogSkill
- ci-setupSkill
- client-demoSkill
- competitor-auditSkill
- consistency-checkSkill
- content-calendarSkill
- content-strategySkill
- create-architectureSkill
- create-epicsSkill
- create-storiesSkill
- cro-reviewSkill
- data-modelSkill
- db-migrationSkill
- dependency-auditSkill
- deploy-setupSkill
- design-reviewSkill
- design-systemSkill
- design-tokensSkill
- dev-storySkill
- e2eSkill
- email-flowsSkill
- estimateSkill
- experimentSkill
- feature-specSkill
- funnel-reviewSkill
- gate-checkSkill
- helpSkill
- hotfixSkill
- incidentSkill
- install-depsSkill
- launch-checklistSkill
- load-testSkill
- market-researchSkill
- milestone-reviewSkill
- observability-setupSkill
- onboardSkill
- perf-auditSkill
- personasSkill
- postmortemSkill
- privacy-auditSkill
- project-stage-detectSkill
- propagate-design-changeSkill
- prototypeSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 34
Never overwrite an existing doc: if the path exists, write <name>.reverse.md beside it and say so.
- Very specific: line 52
Use bash .claude/scripts/next-number.sh docs/architecture/adr for ADR numbers.
“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Reverse-document an existing codebase
Reads the code and writes the documents the rest of the studio expects, so
/feature-spec, /dev-story and the gates have something to work from. Every
statement the code does not prove is marked [inferred], and every gap is
marked [TO CONFIRM]. It never changes application code.
Inputs
project.yaml(run/adoptfirst if stack keys are empty: stop and say so)paths.code_root, the routes, handlers, schema/migrations, tests, READMEgit logfor decision archaeology- Templates:
prd,feature-spec,architecture,data-model,adr,api-contract.yaml - Argument: limit to one document family (default
all)
Phases
Phase 1: Plan
Inventory with Glob: route files, API handlers, schema files, integration SDK
imports, test files. Show the plan: which documents will be generated, by which
agent, at which path. Under modes.automation: ask, ask "Generate these?"
once for the whole set (paths listed); the agents then write the named paths.
Never overwrite an existing doc: if the path exists, write
<name>.reverse.md beside it and say so.
Phase 2: Generate in parallel
Spawn independent agents together (one message, several Agent calls):
| Agent | Output |
lead-backend (+ configured backend specialist) | docs/architecture/api/openapi.yaml (or a ## API Contract per spec for server-action/RPC stacks) |
data-engineer (+ configured data specialist) | docs/architecture/data-model.md: entities, relations, constraints, indexes, from schema/migrations |
technical-director | docs/architecture/architecture.md + ADRs for decisions evident in code (framework, DB, auth provider, hosting) as docs/architecture/adr/NNNN-<slug>.md with Status: Accepted (reverse-documented) |
product-manager | docs/specs/features/<slug>.md per user-facing feature area found in routes |
Brief each with: the code paths to read, the template, the exact output path,
"mark unproven claims [inferred] and unknowns [TO CONFIRM], cite file paths
for every behaviour", and "do not modify code".
Use bash .claude/scripts/next-number.sh docs/architecture/adr for ADR numbers.
Phase 3: PRD (after Phase 2)
Spawn product-manager with the feature specs and README to draft
docs/product/prd.md. The problem, audience and metrics usually cannot be
read from code: leave them [TO CONFIRM] and list them as questions.
Phase 4: Review
Report: documents written, the number of [inferred] and [TO CONFIRM]
markers in each, contradictions found (e.g. tests asserting behaviour the
routes no longer have), and the top questions for the user. Append a line to
production/session-state/active.md.
Output
Docs under docs/product/, docs/specs/features/, docs/architecture/.
Rigor
minimal: architecture + data model only unless asked.full: also a threat model draft (security-lead) for auth, payments and uploads.
Next step
Answer the [TO CONFIRM] questions, then /project-stage-detect and /help.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

