create-architecture
Skill26k starsChanged 2 months agoMITView on GitHub
Author the architecture blueprint before code is written. Validates decisions against the pinned engine, flags knowledge gaps.
6 other projects use a version of this, 3 of them edited; 3 of 3 edited versions we compared changed its rules.
How people change it
3 of 3 edited versions changed its rules, and some changes recur.
Of the 3 edited versions we compared: 3 made changes of their own.
Rules people drop
- Every
AskUserQuestioncall follows.claude/docs/automation-modes.md(collaborative asks always · guided major-only · autonomous logs and proceeds;automation_always_askcategories always prompt).dropped by 3 of 3 - Read the four project-wide engine documents in full — they are small, and every part of each is used:dropped by 3 of 3
- Do not proceed on a partial read and note it later. This phase is where design assumptions get baked into ADRs, and an assumption made here is re-derived by everything downstream rather than re-checked.dropped by 3 of 3
- If either verdict is REJECT or INFEASIBLE, do not offer
Accept— the blockers are revised (or discussed) first.Revise flagged items firstre-drafts each flagged section and shows it for approval as in Phases 1–4; …dropped by 3 of 3 - Step 1 — Update session state: Write a summary to
production/session-state/active.mdcovering: artifact written, TD/LP sign-off verdicts, any blockers, required ADRs remaining, and next step.dropped by 2 of 3 - If nothing is blocking, write instead:dropped by 2 of 3
- Never ask approval for a section the user has not yet seen.dropped by 2 of 3
- Run
/architecture-review— bootstraps the Requirements Traceability Matrix and TR registry from the ADRs just written. Required before the Pre-Production gate.dropped by 2 of 3
Rules people add
- If
--review [full|lean|solo]was passed → use thatadded by 3 of 3 - Read the engine reference library completely:added by 3 of 3
- All files in
docs/engine-reference/[engine]/modules/→ Extract: current API patterns per domainadded by 3 of 3 - Read all approved design documents and extract technical requirements from each:added by 3 of 3
- Read all files in
docs/architecture/to understand what has already been decided. List any ADRs found and their domains.added by 3 of 3 - Ask: "This inventory identifies [N] systems in HIGH RISK engine domains. Shall I continue building the architecture with these warnings flagged throughout?"added by 2 of 3
- Ask: "May I write the master architecture document to
docs/architecture/architecture.md?"added by 2 of 3 - Ask: "May I update the Document Status section in
docs/architecture/architecture.mdwith the sign-off?"added by 2 of 3
We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Most recently taken up by
- HunLuanZhiZhu/Game-Studios-Pluginedited, first seen Oct 5, 2026
- dawn840705/codex-code-studiosedited, first seen Aug 28, 2026
- striderZA/OpenCodeGameStudiosedited, first seen Aug 10, 2026
- ailess-lab/CCFGtheir own version, first seen Jun 13, 2026
- cenconq25/claude-code-app-studiotheir own version, first seen May 3, 2026
- adolfoaranaes12/BMAD-ENHANCEDtheir own version, first seen Jan 28, 2026
Who's talking about Donchitos/Claude-Code-Game-Studios
- @woody-ai-tools.bsky.social“【GitHubトレンド調査】 Claude Codeをゲーム開発スタジオに変貌させる「Claude-Code-Game-Studios」が登場。…”Bluesky · Apr 19, 2026 · 10 likes
- @github-trending.bsky.social“🎉 Celebrating! 🎉 (500+ new stars) 📦 Donchitos / Claude-Code-Game-Studios ⭐ 9,860 (+523) 🗒 Shell Turn …”Bluesky · Apr 15, 2026 · 4 likes
- @impossible.bsky.social“This is the project in question. github.com/Donchitos/Cl... Most of these projects feel like toys or …”Bluesky · May 19, 2026 · 3 likes
- @github-trending.bsky.social“🎉 Celebrating! 🎉 (500+ new stars) 📦 Donchitos / Claude-Code-Game-Studios ⭐ 13,024 (+828) 🗒 Shell Turn …”Bluesky · Apr 19, 2026 · 3 likes
- @thestackradar.bsky.social“Claude-Code-Game-Studios — Turn Claude Code into a full game dev studio — 49 AI agents, 72 workflow skills, …”Bluesky · Nov 1, 2026 · 2 likes
The biggest 5 of 53 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 53
Talked about on GitHub and Bluesky (53 times).
On GitHub · 41
- Nov 19, 2026GF-ARCH-12: Studio Intelligence inspirado em Graphify, Game Studios e DeepSeek Harness — jogoiarexx-blip/gameforge-ia0 reactions
- Nov 19, 2026chore(architecture): share game-dev agents and skills — OliverRomhagen/vrigstad-joyride0 reactions · 9 comments
- Nov 15, 2026Sync upstream v1.3.0 — spirit986/Claude-Code-Game-Studios0 reactions
- Nov 13, 2026add links — rumca-js/rumca-js.github.io0 reactions
- Nov 12, 2026[추적] GDD 문서 책임과 생성 에이전트 역할 분리 — arch-spatula/isekai-generator0 reactions
36 more on GitHub
- Nov 10, 2026research: GitHub 오픈소스 10종 심층 비교 및 JARVIS 개발 세션 인계 (2026-11-10) — coddddin/jarvis-mcp0 reactions
- Nov 9, 2026feat(chaos-engine): game-studio follow-up from the 2026-11-09 study — ShaftHQ/SHAFT_ENGINE0 reactions · 2 comments
- Nov 9, 2026agent-skills.github.donchitos.claude-code-game-studios: 1.2.0 → 1.3.0 — sudosubin/agents.nix0 reactions
- Nov 9, 2026Research: inventory external Unity game-dev skills for project-local adoption — AlvaGonz/A-B-Revival0 reactions · 1 comment
- Nov 9, 2026PROJECT MASTER DIRECTIVE — Dr-sOuL7/PlayGround0 reactions · 3 comments
- Nov 8, 2026[Future Isles] Reuse and validate upstream GameDev Skills (Phaser, game systems, Blender) — alston-personal/agentmanager0 reactions · 5 comments
- Nov 6, 2026[P1] Save the text of the golden pages to evals/golden/ — minhtran3124/mnemo0 reactions · 1 comment
- Nov 3, 2026[edition] 2026-11-03 18:00 — leoneoo/ai-lianmeng0 reactions · 1 comment
- Nov 3, 2026🔥 GitHub Trending AI 早报 · 2026-11-03 · Top 5 项目 — happydog-intj/ai-xiaohongshu-daily0 reactions
- Nov 3, 2026Github trending [Donchitos/Claude-Code-Game-Studios] 49个agent+74技能按真实工作室层级把Claude Code变游戏团队 — web1992/github-trending0 reactions
- Nov 2, 2026🔥 GitHub Trending AI 早报 · 2026-11-03 · Top 5 项目 — happydog-intj/ai-xiaohongshu-daily0 reactions
- Nov 2, 2026🔥 GitHub Trending AI 早报 · 2026-11-02 · Top 6 项目 — happydog-intj/ai-xiaohongshu-daily0 reactions
- Nov 2, 2026day-035: Claude Code Game Studios — CLAUDE.md auto-discoveryを発見 — Matsushima-A-830/ai-100days0 reactions
- Nov 2, 2026Github trending [Donchitos/Claude-Code-Game-Studios] 49个agent+74技能按真实工作室层级把Claude Code变游戏团队 — web1992/github-trending0 reactions
- Nov 1, 2026today: Day 035にClaude Code Game Studiosを設定 — Matsushima-A-830/ai-100days0 reactions
- Nov 1, 2026research: 2026-11-01分のネタ候補5件をbacklog.mdに追記 — Matsushima-A-830/ai-100days0 reactions
- Nov 1, 2026🔥 GitHub Trending AI 早报 · 2026-11-02 · Top 6 项目 — happydog-intj/ai-xiaohongshu-daily0 reactions
- Nov 1, 2026🔥 GitHub Trending AI 早报 · 2026-11-01 · Top 7 项目 — happydog-intj/ai-xiaohongshu-daily0 reactions
- Nov 1, 2026Github trending [Donchitos/Claude-Code-Game-Studios] 49子代理打造完整游戏工作室 — web1992/github-trending0 reactions
- Oct 31, 2026🔥 GitHub Trending AI 早报 · 2026-11-01 · Top 7 项目 — happydog-intj/ai-xiaohongshu-daily0 reactions
- Oct 30, 2026Donchitos 'Claude-Code-Game-Studios' — 49개 에이전트·74개 스킬로 Claude Code를 게임 개발 스튜디오로, 일간 트렌딩 진입 (10/29, GitHub) — roomedia/ax-trend0 reactions
- Oct 25, 2026Import Claude Code Game Studios into .claude — RoxorLoops1337/Games0 reactions · 1 comment
- Oct 21, 2026Skill mới cho agent: soát cân bằng, chống gian lận, soak/perf, bot chập chờn, phân loại chơi thử — nguyenbinhanltv/soul-land-mmo0 reactions
- Oct 19, 2026agent-skills.github.donchitos.claude-code-game-studios: 1.1.3 → 1.2.0 — sudosubin/agents.nix0 reactions
- Oct 15, 2026研究作者列出的 16 個遊戲引擎與 AI 專案;新增 economy-balance skill — a91453/railway-game-ios0 reactions
- Oct 13, 2026agent-skills.github.donchitos.claude-code-game-studios: 1.1.2 → 1.1.3 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.donchitos.claude-code-game-studios: 1.1.0 → 1.1.2 — sudosubin/agents.nix0 reactions
- Sep 26, 2026agent-skills.github.donchitos.claude-code-game-studios: init at 1.1.0 — sudosubin/agents.nix0 reactions
- Sep 25, 2026Add Game Studios, rohitg00, BaseGold, and MineSwap — CryptoSuess/FoutainOfYouth0 reactions
- Aug 6, 2026技能侦察 2026-08-06 01:00Z:+8 精选(220) — NyphSan/CursorSkill0 reactions
- Aug 5, 2026技能侦察 DIGEST 2026-08-05 21:00Z:+8 一致性/体素/动画与 AngelScript·Art Bible — NyphSan/CursorSkill0 reactions
- Apr 30, 2026docs: add shields.io badges to README.md / README.ja.md — kirin0198/aphelion-agents0 reactions
- Apr 18, 2026📱 SNS 콘텐츠 - 2026-04-18 16:10 KST — leaf468/autothreads0 reactions
- Apr 18, 2026🤖 AI 트렌드 리포트 - 2026-04-18 16:10 KST — leaf468/autothreads0 reactions
- Apr 6, 2026Audit candidate: Donchitos/Claude-Code-Game-Studios — xiaolai/nlpm0 reactions · 2 comments
- Mar 22, 2026Add game studio agent support to agent-tools (adapted from Claude-Code-Game-Studios) — Unwrenchable/agent-tools0 reactions
On Bluesky · 12
- Apr 19, 2026【GitHubトレンド調査】 Claude Codeをゲーム開発スタジオに変貌させる「Claude-Code-Game-Studios」が登場。… — @woody-ai-tools.bsky.social10 likes and reposts
- Apr 15, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 Donchitos / Claude-Code-Game-Studios ⭐ 9,860 (+523) 🗒 Shell Turn Claude Code into a full game dev… — @github-trending.bsky.social4 likes and reposts · 1 reply
- May 19, 2026This is the project in question. github.com/Donchitos/Cl... Most of these projects feel like toys or performance art masquerading as useful… — @impossible.bsky.social3 likes and reposts · 2 replies
- Apr 19, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 Donchitos / Claude-Code-Game-Studios ⭐ 13,024 (+828) 🗒 Shell Turn Claude Code into a full game dev… — @github-trending.bsky.social3 likes and reposts · 1 reply
- Nov 1, 2026Claude-Code-Game-Studios — Turn Claude Code into a full game dev studio — 49 AI agents, 72 workflow skills, and a complete coordination… — @thestackradar.bsky.social2 likes and reposts
7 more on Bluesky
- Nov 1, 2026An entire game dev studio in one Claude session? 🎮 Claude-Code-Game-Studios turns Claude Code into an AI production studio: 49 agents, 72… — @thestackradar.bsky.social1 likes and repost
- Oct 31, 2026今日のGitHubトレンド Donchitos/Claude-Code-Game-Studios Claude Codeのセッションを擬似的なゲーム開発スタジオとして運用するためのツールです。… — @dailygithubtrends.bsky.social1 likes and repost
- May 19, 2026It was this one: github.com/Donchitos/Cl... — @dphrygian.com1 likes and repost · 1 reply
- Apr 21, 2026https://github.com/Donchitos/Claude-Code-Game-Studios — @tom-doerr.bsky.social1 likes and repost
- Apr 1, 2026Un studio de 48 agents IA spécialisés dans Claude Code : hiérarchie complète (directors, leads, specialists), workflows automatisés et… — @camilleroux.com1 likes and repost
- Nov 2, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 Donchitos / Claude-Code-Game-Studios ⭐ 33,084 (+1,380) 🗒 Shell Turn Claude Code into a full game… — @github-trending.bsky.social0 likes and reposts · 1 reply
- Oct 29, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 Donchitos / Claude-Code-Game-Studios ⭐ 28,645 (+538) 🗒 Shell Turn Claude Code into a full game dev… — @github-trending.bsky.social0 likes and reposts · 1 reply
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 3
- striderZA/OpenCodeGameStudios★ 9068% same
- dawn840705/codex-code-studios★ 1763% same
- HunLuanZhiZhu/Game-Studios-Plugin★ 160% same
Wrote their own version · 3
- cenconq25/claude-code-app-studio★ 41same name
- adolfoaranaes12/BMAD-ENHANCED★ 2same name
- ailess-lab/CCFG★ 2same name
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 repository78 other files it gives its agents.
- CCGS Skill Testing Framework/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- design/CLAUDE.mdCLAUDE.md
- docs/CLAUDE.mdCLAUDE.md
- src/CLAUDE.mdCLAUDE.md
- adoptSkill
- architecture-decisionSkill
- architecture-reviewSkill
- art-bibleSkill
- asset-auditSkill
- asset-specSkill
- balance-checkSkill
- brainstormSkill
- bug-reportSkill
- bug-triageSkill
- changelogSkill
- code-reviewSkill
- consistency-checkSkill
- content-auditSkill
- create-control-manifestSkill
- create-epicsSkill
- create-storiesSkill
- day-one-patchSkill
- design-reviewSkill
- design-systemSkill
- dev-storySkill
- estimateSkill
- gate-checkSkill
- helpSkill
- hotfixSkill
- launch-checklistSkill
- localizeSkill
- map-systemsSkill
- milestone-reviewSkill
- onboardSkill
- patch-notesSkill
- perf-profileSkill
- playtest-reportSkill
- project-stage-detectSkill
- propagate-design-changeSkill
- prototypeSkill
- qa-planSkill
- quick-designSkill
- regression-suiteSkill
- release-checklistSkill
- retrospectiveSkill
- reverse-documentSkill
- review-all-gddsSkill
- scope-checkSkill
- security-auditSkill
- settingsSkill
- setup-engineSkill
- skill-improveSkill
- skill-testSkill
- smoke-checkSkill
- soak-testSkill
- sprint-planSkill
- sprint-statusSkill
- startSkill
- story-doneSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
23 rules. 0 are common, 12 are distinctive, and 11 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
12
Distinctive
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 29
Every AskUserQuestion call follows .claude/docs/automation-modes.md (collaborative asks always · guided major-only · autonomous logs and …
- Distinctive: line 57
Before anything else, load the full project context in this order:
- Distinctive: line 61
Read the four project-wide engine documents in full — they are small, and every part of each is used:
- Distinctive: line 89
If no engine is configured, stop and prompt:
- Distinctive: line 116
Do not proceed on a partial read and note it later.
- Distinctive: line 182
Before proceeding, display a structured summary:
- Distinctive: line 301
Use ASCII sequence diagrams where helpful.
- Distinctive: line 321
Write in pseudocode or the project's actual language (from technical preferences).
- Very specific: line 324
Engine awareness check: If any interface uses engine-specific types (e.g.
- Distinctive: line 456
After writing the master architecture document, perform an explicit sign-off before handoff.
- Very specific: line 475
Use AskUserQuestion — "Technical Director and Lead Programmer have reviewed the architecture.
- Very specific: line 477
If either verdict is REJECT or INFEASIBLE, do not offer Accept — the blockers are revised (or discussed) first.
- Distinctive: line 483
Update the Document Status section:
- Very specific: line 498
Step 1 — Update session state: Write a summary to production/session-state/active.md covering: artifact written, TD/LP sign-off verdicts, …
- Distinctive: line 538
If nothing is blocking, write instead:
- Distinctive: line 569
Never ask approval for a section the user has not yet seen.
- Distinctive: line 582
Never make a binding architectural decision without user input.
- Very specific: line 589
Run /architecture-decision [title] for each required ADR listed in Phase 6 — Foundation layer ADRs first
- Very specific: line 590
Run /architecture-review — bootstraps the Requirements Traceability Matrix and TR registry from the ADRs just written.
- Very specific: line 591
Run /test-setup to scaffold tests/unit/, tests/integration/, CI workflow, and an example test (required for gate-check)
- Very specific: line 592
Run /ux-design to initialize design/ux/interaction-patterns.md and design/accessibility-requirements.md (required for gate-check)
- Very specific: line 593
Run /create-control-manifest once the required ADRs are written to produce the layer rules manifest
- Very specific: line 594
Run /gate-check pre-production when all required ADRs, /test-setup, and /ux-design are complete
“Common” is measured: kept by at least 6 in 10 of the 6 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
!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys review_mode,automation,workflow,docs.density
Resolved above — use as-is; --review overrides review_mode. No block →
defaults in .claude/docs/config-resolution.md.
Create Architecture
This skill produces docs/architecture/architecture.md — the master architecture
document that translates all approved GDDs into a concrete technical blueprint.
It sits between design and implementation, and must exist before sprint planning begins.
Distinct from /architecture-decision: ADRs record individual point decisions.
This skill creates the whole-system blueprint that gives ADRs their context.
See .claude/docs/director-gates.md for the full check pattern. Individual gate definitions live in .claude/docs/director-gates/[gate-id].md — the spawned agent reads its own gate file; do not read it in the parent session.
Every AskUserQuestion call follows .claude/docs/automation-modes.md
(collaborative asks always · guided major-only · autonomous logs and proceeds;
automation_always_ask categories always prompt).
docs.density — it controls per-section depth, where workflow
controls which sections exist. modes.rigor sets both together; set
docs.density explicitly to vary depth alone: terse (the default, via rigor: minimal) = layer diagrams + decision bullets,
no essays; balanced = diagrams + paragraph explanations of layer choices
(rigor: standard); thorough = full prose with rationale, trade-offs, and alternatives
considered per layer. Apply it to every section you author.
workflow (see .claude/docs/workflow-modes.md):
full— full architecture: all layers, module ownership, data flow, API boundaries, full ADR audit.standard— simplified: system layer map + critical ADR list only.minimal— not required. Can still be run voluntarily.
Argument modes:
- No argument /
full: Full guided walkthrough — all sections, start to finish layers: Focus on the system layer diagram onlydata-flow: Focus on data flow between modules onlyapi-boundaries: Focus on API boundary definitions onlyadr-audit: Audit existing ADRs for engine compatibility gaps only
Phase 0: Load All Context
Before anything else, load the full project context in this order:
0a. Engine Context (Critical)
Read the four project-wide engine documents in full — they are small, and every part of each is used:
docs/engine-reference/[engine]/VERSION.md→ Extract: engine name, version, LLM cutoff, post-cutoff risk levelsdocs/engine-reference/[engine]/breaking-changes.md→ Extract: all HIGH and MEDIUM risk changesdocs/engine-reference/[engine]/deprecated-apis.md→ Extract: APIs to avoiddocs/engine-reference/[engine]/current-best-practices.md→ Extract: post-cutoff best practices that differ from training data
Then read only the module docs whose domain this game actually uses —
not the whole modules/ directory:
docs/engine-reference/[engine]/modules/— glob it to establish what exists, then match against the domains present indesign/gdd/systems-index.md(the same domain vocabulary the ADR template uses: Physics, Rendering, UI, Audio, Navigation, Animation, Networking, Core, Input). Read the matching modules; skip the rest. → Extract: current API patterns per domainA game with no multiplayer system does not need the networking module loaded to write its architecture, and loading it costs the same as one that does. If the domain match is ambiguous, read the module — a missed engine constraint is far more expensive here than a redundant read, because this phase is where those constraints get baked into the architecture.
If no engine is configured, stop and prompt:
"No engine is configured. Run
/setup-enginefirst. Architecture cannot be written without knowing which engine and version you are targeting."
0b. Design Context + Technical Requirements Extraction
Load the approved design documents and extract technical requirements from each:
design/gdd/game-concept.md— game pillars, genre, core loopdesign/gdd/systems-index.md— all systems, dependencies, priority tiers
Check both exist before reading either. Neither is optional here, and both need an absence branch — §0a stops for an unconfigured engine, and these two matter just as much:
systems-index.mdabsent — stop:"No systems index found. Run
/map-systemsfirst. An architecture written without it invents layers for systems nobody mapped, and every ADR, epic and story downstream inherits that invention." Atminimalthe index is not required (§ tier note above) — say so and proceed from the brief instead.game-concept.mdabsent — atstandard/full, stop and point at/brainstorm. Atminimal, readdesign/game-brief.mdin its place; if that is absent too, stop — there is no design record to architect against.- Either present but empty or still template placeholders — treat as absent. Present-but-empty is the case that most looks like present.
Do not proceed on a partial read and note it later. This phase is where design
assumptions get baked into ADRs, and an assumption made here is re-derived by
everything downstream rather than re-checked.
3. Project config — naming.* and performance.* from project.yaml (for any
key absent or empty, fall back to .claude/docs/technical-preferences.md);
allowed libraries and forbidden patterns from
.claude/docs/technical-preferences.md (not migrated to project.yaml)
4. Every GDD in design/gdd/ — extract technical requirements from the
sections that carry them, not from whole files. Establish the denominator
first (glob design/gdd/*.md, count N), then:
Grep pattern="^## (Detailed Rules|Detailed Design|Formulas|Dependencies|Tuning Knobs|Acceptance Criteria)" glob="design/gdd/*.md" output_mode="content" -A 40Overview and Player Fantasy are narrative and imply no architecture; the
scanned set is where rules, numbers, and cross-system contracts live. Accept
either ## Detailed Rules or ## Detailed Design — the design standard and
the GDD template disagree on the name and they denote the same section.
Full-read a GDD when it matched zero sections (it predates the template — a zero-match means "unstructured", never "no requirements") or when a scanned section refers to material outside itself. Never treat an absent section as an absent requirement: report any GDD that contributed nothing, rather than letting it drop silently out of the baseline below.
For each, extract:
- Data structures implied by the game rules
- Performance constraints stated or implied
- Engine capabilities the system requires
- Cross-system communication patterns (what talks to what, how)
- State that must persist (save/load implications)
- Threading or timing requirements
Build a Technical Requirements Baseline — a flat list of all extracted
requirements across all GDDs, numbered TR-[gdd-slug]-[NNN]. This is the
complete set of what the architecture must cover. Present it as:
## Technical Requirements Baseline
Extracted from [N] GDDs | [X] total requirements
| Req ID | GDD | System | Requirement | Domain |
|--------|-----|--------|-------------|--------|
| TR-combat-001 | combat.md | Combat | Hitbox detection per-frame | Physics |
| TR-combat-002 | combat.md | Combat | Combo state machine | Core |
| TR-inventory-001 | inventory.md | Inventory | Item persistence | Save/Load |This baseline feeds into every subsequent phase. No GDD requirement should be left without an architectural decision to support it by the end of this session.
0c. Existing Architecture Decisions
To learn what has already been decided and in which domain, scan the ADR headers — do not full-read every ADR to produce a list of numbers and domains:
Grep pattern="^## (Status|Summary)" glob="docs/architecture/adr-*.md" output_mode="content" -A 4
Grep pattern="\*\*Domain\*\*" glob="docs/architecture/adr-*.md" output_mode="content"## Summary (a 2-sentence what-and-why) plus ## Status and the Engine
Compatibility Domain field are exactly "what was decided and its domain". List
the ADRs found, their status, and their domains from the scan. Full-read a
specific ADR only when a new decision this session would collide with it and you
need its reasoning — not to build the inventory.
0d. Generate Knowledge Gap Inventory
Before proceeding, display a structured summary:
## Engine Knowledge Gap Inventory
Engine: [name + version]
LLM Training Covers: up to approximately [version]
Post-Cutoff Versions: [list]
### HIGH RISK Domains (must verify against engine reference before deciding)
- [Domain]: [Key changes]
### MEDIUM RISK Domains (verify key APIs)
- [Domain]: [Key changes]
### LOW RISK Domains (in training data, likely reliable)
- [Domain]: [no significant post-cutoff changes]
### Systems from GDD that touch HIGH/MEDIUM risk domains:
- [GDD system name] → [domain] → [risk level]Use AskUserQuestion:
- Prompt: "One or more engine domains are HIGH RISK — the LLM's knowledge may be unreliable for these areas. Architectural recommendations in these domains should be cross-referenced with the engine docs before being acted on. How would you like to proceed?"
- Options:
[A] Proceed — flag HIGH RISK domains throughout the output[B] Let me check the engine reference first — pause here[C] Show me which domains are HIGH RISK and why
0e. Existing Architecture Document
Glob docs/architecture/architecture.md. If it exists, this run updates it —
it never replaces it unasked. Read its ## Document Status block and its ##
headings, then use AskUserQuestion:
- Prompt: "An architecture document already exists (v[N], [last updated]). What should this run do?"
- Options:
[A] Update chosen sections in place/[B] Rewrite the whole document — replaces the existing file/[C] Stop
On [A], ask which sections. Phases 1–6 author only those and say which they
skipped; Phase 7 replaces just those sections and raises Version to N+1,
leaving every other section as it is. [B] runs the full walkthrough, and
Phase 7's ask says it replaces the existing file.
A focus-area argument (layers, data-flow, api-boundaries, adr-audit)
is [A] with that one section chosen: it runs only its phase (1, 3, 4 or 5),
and Phase 7 writes that section. Phase 7b still runs on the updated document —
an update is reviewed like a first draft, at the review modes that review one. With no existing document there is nothing to
update — say so, and offer the full walkthrough instead.
Phase 1: System Layer Mapping
Map every system from systems-index.md into an architecture layer. The standard
game architecture layers are:
┌─────────────────────────────────────────────┐
│ PRESENTATION LAYER │ ← UI, HUD, menus, VFX, audio
├─────────────────────────────────────────────┤
│ FEATURE LAYER │ ← gameplay systems, AI, quests
├─────────────────────────────────────────────┤
│ CORE LAYER │ ← physics, input, combat, movement
├─────────────────────────────────────────────┤
│ FOUNDATION LAYER │ ← engine integration, save/load,
│ │ scene management, event bus
├─────────────────────────────────────────────┤
│ PLATFORM LAYER │ ← OS, hardware, engine API surface
└─────────────────────────────────────────────┘For each GDD system, ask:
- Which layer does it belong to?
- What are its module boundaries?
- What does it own exclusively? (data, state, behaviour)
Present the proposed layer assignment and ask for approval before proceeding to
the next section. Record the approved layer map in
production/session-state/active.md; it goes into the document at Phase 7.
Engine awareness check: For each system assigned to the Core and Foundation layers, flag if it touches a HIGH or MEDIUM risk engine domain. Show the relevant engine reference excerpt inline.
Phase 2: Module Ownership Map
For each module defined in Phase 1, define ownership:
- Owns: what data and state this module is solely responsible for
- Exposes: what other modules may read or call
- Consumes: what it reads from other modules
- Engine APIs used: which specific engine classes/nodes/signals this module calls directly (with version and risk level noted)
Format as a table per layer, then as an ASCII dependency diagram.
Engine awareness check: For every engine API listed, verify against the relevant module reference doc. If an API is post-cutoff, flag it:
⚠️ [ClassName.method()] — Godot 4.6 (post-cutoff, HIGH risk)
Verified against: docs/engine-reference/godot/modules/[domain].md
Behaviour confirmed: [yes / NEEDS VERIFICATION]Get user approval on the ownership map, then record it in
production/session-state/active.md; it is written at Phase 7.
Phase 3: Data Flow
Define how data moves between modules during key game scenarios. Cover at minimum:
- Frame update path: Input → Core systems → State → Rendering
- Event/signal path: How systems communicate without tight coupling
- Save/load path: What state is serialised, which module owns serialisation
- Initialisation order: Which modules must boot before others
Use ASCII sequence diagrams where helpful. For each data flow:
- Name the data being transferred
- Identify the producer and consumer
- State whether this is synchronous call, signal/event, or shared state
- Flag any data flows that cross thread boundaries
Get user approval on each scenario, then record it in
production/session-state/active.md; it is written at Phase 7.
Phase 4: API Boundaries
Define the public contracts between modules. For each boundary:
- What is the interface a module exposes to the rest of the system?
- What are the entry points (functions/signals/properties)?
- What invariants must callers respect?
- What must the module guarantee to callers?
Write in pseudocode or the project's actual language (from technical preferences). These become the contracts programmers implement against.
Engine awareness check: If any interface uses engine-specific types (e.g.
Node, Resource, Signal in Godot), flag the version and verify the type
exists and has not changed signature in the target engine version.
Get user approval on the API boundaries, then record them in
production/session-state/active.md; they are written at Phase 7.
Phase 5: ADR Audit + Traceability Check
Review all existing ADRs from Phase 0c against both the architecture built in Phases 1-4 AND the Technical Requirements Baseline from Phase 0b.
ADR Quality Check
For each ADR:
- Does it have an Engine Compatibility section?
- Is the engine version recorded?
- Are post-cutoff APIs flagged?
- Does it have a "GDD Requirements Addressed" section?
- Does it conflict with the layer/ownership decisions made in this session?
- Is it still valid for the pinned engine version?
| ADR | Engine Compat | Version | GDD Linkage | Conflicts | Valid |
| ADR-0001: [title] | ✅/❌ | ✅/❌ | ✅/❌ | None/[conflict] | ✅/⚠️ |
Traceability Coverage Check
Map every requirement from the Technical Requirements Baseline to existing ADRs. For each requirement, check if any ADR's "GDD Requirements Addressed" section or decision text covers it:
| Req ID | Requirement | ADR Coverage | Status |
| TR-combat-001 | Hitbox detection per-frame | ADR-0003 | ✅ |
| TR-combat-002 | Combo state machine | — | ❌ GAP |
Count: X covered, Y gaps. For each gap, it becomes a Required New ADR.
Required New ADRs
List all decisions made during this architecture session (Phases 1-4) that do not yet have a corresponding ADR, PLUS all uncovered Technical Requirements. Group by layer — Foundation first:
Foundation Layer (must create before any coding):
/architecture-decision [title]→ covers: TR-[id], TR-[id]
Core Layer:
/architecture-decision [title]→ covers: TR-[id]
Phase 6: Missing ADR List
Based on the full architecture, produce a complete list of ADRs that should exist but don't yet. Group by priority:
Must have before coding starts (Foundation & Core decisions):
- [e.g. "Scene management and scene loading strategy"]
- [e.g. "Event bus vs direct signal architecture"]
Should have before the relevant system is built:
- [e.g. "Inventory serialisation format"]
Can defer to implementation:
- [e.g. "Specific shader technique for water"]
Phase 7: Write the Master Architecture Document
Once all sections are approved, write the complete document to
docs/architecture/architecture.md.
In an update (Phase 0e [A], or a focus-area argument), write only the chosen
sections instead, replacing each in place with Edit, and raise Version; the
ask below then names those sections and the version change.
Display a one-paragraph summary of what the document will contain (layers, modules, data flows, ADR gaps). Then use AskUserQuestion:
- "All sections approved. May I write the master architecture document?"
- [A] Yes — write to
docs/architecture/architecture.mdnow - [B] Show me the full draft inline first, then ask again
- [C] Not yet — I have more changes to discuss
- [A] Yes — write to
The document structure:
# [Game Name] — Master Architecture
## Document Status
- Version: [N]
- Last Updated: [date]
- Engine: [name + version]
- GDDs Covered: [list]
- ADRs Referenced: [list]
## Engine Knowledge Gap Summary
[Condensed from Phase 0d inventory — HIGH/MEDIUM risk domains and their implications]
## System Layer Map
[From Phase 1]
## Module Ownership
[From Phase 2]
## Data Flow
[From Phase 3]
## API Boundaries
[From Phase 4]
## ADR Audit
[From Phase 5]
## Required ADRs
[From Phase 6]
## Architecture Principles
[3-5 key principles that govern all technical decisions for this project,
derived from the game concept, GDDs, and technical preferences]
## Open Questions
[Decisions deferred — must be resolved before the relevant layer is built]Phase 7b: Technical Director Sign-Off + Lead Programmer Feasibility Review
After writing the master architecture document, perform an explicit sign-off before handoff.
Review mode check — apply before spawning either gate:
solo→ skip both. Note: "TD-ARCHITECTURE and LP-FEASIBILITY skipped — Solo mode." Go to Step 4 and record both as skipped, then Phase 8.lean→ skip both (neither is a PHASE-GATE). Note: "TD-ARCHITECTURE and LP-FEASIBILITY skipped — Lean mode." Go to Step 4 and record both as skipped, then Phase 8.full→ spawn both, in parallel.
Step 1 — Spawn technical-director via Agent using gate TD-ARCHITECTURE (.claude/docs/director-gates/td-architecture.md):
Pass: the architecture document path (docs/architecture/architecture.md), the Technical Requirements Baseline (TR-IDs and count), the ADR list with statuses, and the Engine Knowledge Gap Inventory from Phase 0d. Issue this call and Step 2's before waiting for either result.
Step 2 — Spawn lead-programmer via Agent using gate LP-FEASIBILITY (.claude/docs/director-gates/lp-feasibility.md):
Pass: architecture document path, technical requirements baseline summary, ADR list.
Step 3 — Present both assessments to the user:
Show the TD-ARCHITECTURE verdict (APPROVE / CONCERNS / REJECT) and the LP-FEASIBILITY verdict (FEASIBLE / CONCERNS / INFEASIBLE) side by side.
Use AskUserQuestion — "Technical Director and Lead Programmer have reviewed the architecture. How would you like to proceed?"
Options: Accept — proceed to handoff / Revise flagged items first / Discuss specific concerns.
If either verdict is REJECT or INFEASIBLE, do not offer Accept — the blockers are revised (or discussed) first.
Revise flagged items first re-drafts each flagged section and shows it for approval as in Phases 1–4; the revised document is then written once, through Phase 7's ask, and Step 4 records REVISED after [verdict].
A NOT ASSESSED answer is never recorded as APPROVE or FEASIBLE: Step 4 records it with the input that was missing (director-gates.md).
Step 4 — Record sign-off in the architecture document:
Update the Document Status section:
- TD-ARCHITECTURE: [date] — APPROVE / CONCERNS (accepted) / REVISED after CONCERNS / REVISED after REJECT / NOT ASSESSED — [missing input] / skipped — [mode] mode
- LP-FEASIBILITY: [date] — FEASIBLE / CONCERNS (accepted) / REVISED after CONCERNS / REVISED after INFEASIBLE / NOT ASSESSED — [missing input] / skipped — [mode] modeShow the proposed Document Status block inline, then use AskUserQuestion:
- "May I update the Document Status section with the sign-off results?"
- [A] Yes — apply to
docs/architecture/architecture.md - [B] Not yet — I want to revisit the concerns first
- [A] Yes — apply to
Phase 8: Handoff
Step 1 — Update session state: Write a summary to production/session-state/active.md covering: artifact written, TD/LP sign-off verdicts, any blockers, required ADRs remaining, and next step.
Step 2 — Output the handoff using exactly this template (no freeform prose, no rephrasing of section titles):
Architecture Complete
docs/architecture/architecture.md v[N] — [TD-ARCHITECTURE: APPROVE / CONCERNS (accepted) / REVISED after CONCERNS / REVISED after REJECT / NOT ASSESSED / skipped — [mode] mode]. [One sentence on what the architecture covers.]
Run These ADRs Next
1. /architecture-decision "[Title]" → ADR-[XXXX]
[One sentence: what it defines and what it unblocks.]
2. /architecture-decision "[Title]" → ADR-[XXXX]
[One sentence.]
3. /architecture-decision "[Title]" → ADR-[XXXX]
[One sentence.]
Then: /architecture-review, and /create-control-manifest once it passes and those ADRs are Accepted — it turns them into the layer rules manifest.
List top 3 from Phase 6 in priority order. If fewer than 3 remain, list only what's outstanding.
Gate-Check Readiness
Required before
/gate-check pre-production:
- Accept ADRs: [list Proposed ADR IDs that must be Accepted]
- Write ADRs: [list ADR IDs that must still be written]
- Run
/architecture-review— writes the review report and the traceability index (docs/architecture/requirements-traceability.md) the gate reads- Run
/test-setup— scaffoldstests/unit/,tests/integration/, CI workflow, and an example test file- Run
/ux-design— createsdesign/ux/interaction-patterns.mdanddesign/accessibility-requirements.mdRun
/gate-check pre-productionwhen all boxes are checked.
If nothing is blocking, write instead:
No blockers — run
/gate-check pre-productionnow.
Open Questions to Watch
| ID | Summary | Priority | Resolution Path |
| QQ-XX | [short description] | High / Medium / Low | [ADR or system that resolves it] |
Omit this section entirely if there are no open QQs.
(End of handoff. Do not add trailing commentary after the closing rule.)
Collaborative Protocol
Applies in collaborative mode (the default). For guided and
autonomous modes, see .claude/docs/automation-modes.md — the rules below
describe what collaborative mode requires, not universal behavior.
This skill follows the collaborative design principle at every phase:
- Load context silently — do not narrate file reads
- Present findings — show the knowledge gap inventory and layer proposals
- Ask before deciding — present options for each architectural choice
- Draft before approval — show the content inline before asking to write it. Never ask approval for a section the user has not yet seen.
- Use
AskUserQuestionfor write approvals — plain text "May I?" is not sufficient. Use the structured tool with labeled options [A]/[B]/[C] (write now / show full draft first / not yet). For multi-file changesets, list every file and what changes, then ask once grouped — not separate plain-text asks per file. - One write, after every section is approved — the document is written once,
at Phase 7; Phase 7b's Step 4 only updates its Document Status, after its own
ask. Record each approved section's decisions in
production/session-state/active.mdas you go, so a crash loses no decision. A revision that Phase 7b forces is written the same way — once, after its re-drafted sections are approved — and an update (Phase 0e) writes only the sections it chose.
Never make a binding architectural decision without user input. If the user is unsure, present 2-4 options with pros/cons before asking them to decide.
Recommended Next Steps
- Run
/architecture-decision [title]for each required ADR listed in Phase 6 — Foundation layer ADRs first - Run
/architecture-review— bootstraps the Requirements Traceability Matrix and TR registry from the ADRs just written. Required before the Pre-Production gate. - Run
/test-setupto scaffoldtests/unit/,tests/integration/, CI workflow, and an example test (required for gate-check) - Run
/ux-designto initializedesign/ux/interaction-patterns.mdanddesign/accessibility-requirements.md(required for gate-check) - Run
/create-control-manifestonce the required ADRs are written to produce the layer rules manifest - Run
/gate-check pre-productionwhen all required ADRs,/test-setup, and/ux-designare complete
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.

