architecture-decision
Skill26k starsChanged 2 months agoMITView on GitHub
Create an ADR documenting a technical decision: context, alternatives considered, consequences.
19 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 - If no: write nothing, and report the missing sections by name.dropped by 3 of 3
- Check the current status. If it is already
Accepted, say so and stop. If it isDeprecatedorSuperseded, refuse: reviving a superseded decision is a new ADR, not a status edit.dropped by 3 of 3 - If it is
DeprecatedorSuperseded, refuse: reviving a superseded decision is a new ADR, not a status edit.dropped by 3 of 3 - Check its dependencies first. Read
## ADR Dependencies.dropped by 3 of 3 - If it depends on any ADR that is not itself
Accepted, refuse and name them:dropped by 3 of 3 - Run this before reading any existing ADR — the registry exists specifically so a new ADR's author does not need to open prior ADRs to learn their binding facts (state ownership, interface contracts, forbidden patterns).dropped by 3 of 3
- Read GDDs the same way
/design-systemStep 2b does: only GDDs the registry or the ADR list names as directly relevant, and only their## Dependencies,## Formulas, and## Edge Casessections ( …dropped by 3 of 3
Rules people add
- If
--review [full|lean|solo]was passed → use thatadded by 3 of 3 - After adding all missing sections, update the ADR's
## Datefield if it is absent.added by 3 of 3 - Read related code, existing ADRs, and relevant GDDs from
design/gdd/.added by 3 of 3 - Read
docs/framework/technical-preferences.mdEngine Specialistssection to get the primary specialistadded by 3 of 3 - If no engine is configured (
[TO BE CONFIGURED]), skip this stepadded by 3 of 3 - If CONCERNS or REJECT: revise the Decision or Alternatives sections accordingly before proceedingadded by 3 of 3
- If no inconsistencies: skip this block silently.added by 3 of 3
- Update any stories that were
Status: Blockedpending this ADR toStatus: Ready.added by 3 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
- Azure/agent-landing-zonetheir own version, first seen Oct 2, 2026
- aprameyak/coding-skillstheir own version, first seen Oct 2, 2026
- gonimar/claude-web-studiotheir own version, first seen Sep 27, 2026
- Quirkybrain/claude-code-swe-frameworktheir own version, first seen Sep 20, 2026
- irwebtools/Product-Skillstheir own version, first seen Sep 9, 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 versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 3
- striderZA/OpenCodeGameStudios★ 9042% same
- dawn840705/codex-code-studios★ 1742% same
- HunLuanZhiZhu/Game-Studios-Plugin★ 144% same
Wrote their own version · 16
- Azure/agent-landing-zone★ 1.2ksame name
- pixel-cellar/Claude-Code-Game-Studios★ 338same name
- Azure/agent-app-ingestion★ 188same name
- Azure/agent-app-orchestrator★ 102same name
- cenconq25/claude-code-app-studio★ 41same name
- Azure/gpt-rag-mcp★ 22same name
- Azure/bicep-ptn-aiml-landing-zone★ 19same name
- CoralGame/Claude-Code-Game-Studios★ 19same name
- Azure/agent-app-ui★ 10same name
- khuynh22/agent-dev-team★ 9same name
6 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 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-reviewSkill
- art-bibleSkill
- asset-auditSkill
- asset-specSkill
- balance-checkSkill
- brainstormSkill
- bug-reportSkill
- bug-triageSkill
- changelogSkill
- code-reviewSkill
- consistency-checkSkill
- content-auditSkill
- create-architectureSkill
- 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
46 rules. 0 are common, 24 are distinctive, and 22 are very specific to this project.
0
Common
Most of the 18 edited versions we read keep these.
24
Distinctive
This author's own choices. Worth a look.
22
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
When this skill is invoked:
- Very specific: line 24
Every AskUserQuestion call follows .claude/docs/automation-modes.md (collaborative asks always · guided major-only · autonomous logs and …
- Distinctive: line 53
Read the existing ADR file completely.
- Distinctive: line 76
Ask: "Shall I add the [N] missing sections?
- Distinctive: line 77
If no: write nothing, and report the missing sections by name.
- Distinctive: line 96
Never modify any existing section: Only append or fill absent sections.
- Very specific: line 115
Check the current status: If it is already Accepted, say so and stop.
- Very specific: line 116
If it is Deprecated or Superseded, refuse: reviving a superseded decision is a new ADR, not a status edit.
- Very specific: line 118
Check its dependencies first: Read ## ADR Dependencies.
- Very specific: line 131
If it depends on any ADR that is not itself Accepted, refuse and name them:
- Distinctive: line 179
If NOT in retrofit or acceptance mode, proceed to Step 1 below (normal ADR authoring).
- Distinctive: line 181
No-argument guard: If no argument was provided (title is empty), ask before running Phase 0:
- Distinctive: line 187
Use the user's response as the title, then proceed to Step 1.
- Distinctive: line 193
Before doing anything else, establish the engine environment:
- Very specific: line 195
Read docs/engine-reference/[engine]/VERSION.md to get:
- Very specific: line 204
Read the corresponding module reference if it exists: docs/engine-reference/[engine]/modules/[domain].md
- Very specific: line 207
Read docs/engine-reference/[engine]/breaking-changes.md — flag any changes in the relevant domain that post-date the LLM's training cutoff.
- Very specific: line 210
Read docs/engine-reference/[engine]/deprecated-apis.md — flag any APIs in the relevant domain that should not be used.
- Distinctive: line 213
Display a knowledge gap warning: before proceeding if the domain carries MEDIUM or HIGH risk:
- Very specific: line 230
If no engine has been configured yet, prompt: "No engine is configured.
- Very specific: line 231
Run /setup-engine first, or tell me which engine you are using."
- Very specific: line 245
Read docs/registry/architecture.yaml.
- Distinctive: line 247
Run this before reading any existing ADR — the registry exists specifically so a new ADR's author does not need to open prior ADRs to learn …
- Distinctive: line 273
If the user's proposed decision would contradict any registered stance, surface the conflict immediately:
- Distinctive: line 282
Do not proceed to Step 4 (collaborative design) until any conflict is resolved or explicitly accepted as an intentional exception.
- Very specific: line 303
Read GDDs the same way /design-system Step 2b does: only GDDs the registry or the ADR list names as directly relevant, and only their ## …
- Very specific: line 317
Before asking anything, derive the skill's best guesses from the context already gathered (GDDs read, engine reference loaded, existing …
- Very specific: line 335
Status: Always Proposed for new ADRs — never ask the user what the status is
- Distinctive: line 362
Do not generate the ADR until the user confirms assumptions or provides corrections.
- Distinctive: line 519
If the specialist identifies a blocking issue (wrong API, deprecated approach, engine version incompatibility): revise the Decision and …
- Distinctive: line 520
If the specialist finds minor notes only: incorporate them into the ADR's Risks subsection
- Distinctive: line 560
Do not treat an ADR that references no GDDs as one whose GDDs are consistent.
- Distinctive: line 563
Only the warning block itself is conditional.
- Distinctive: line 567
If GDD sync issues were found:
- Distinctive: line 573
If no GDD sync issues:
- Distinctive: line 578
If yes to any write option, write the file, creating the directory if needed.
- Very specific: line 600
Registry append logic: When writing to docs/registry/architecture.yaml, do NOT assume sections are empty.
- Very specific: line 601
Read the current state of docs/registry/architecture.yaml
- Very specific: line 604
If the section has entries already, use the closing content of the last entry as the old_string anchor, and append the new entry after it
- Very specific: line 612
Only proceed if the user selects yes.
- Very specific: line 619
After the ADR is written (and registry optionally updated), close with AskUserQuestion.
- Distinctive: line 621
Before generating the widget:
- Very specific: line 622
Read docs/registry/architecture.yaml — check if any priority ADRs are still unwritten (look for ADRs flagged in technical-preferences.md or …
- Distinctive: line 623
Check if all prerequisite ADRs are now written.
- Very specific: line 635
If there are no remaining priority ADRs and no undesigned GDD systems, offer only "Stop here" and suggest running /architecture-review in a …
- Distinctive: line 652
Instead, tell the user what is now waiting on acceptance:
“Common” is measured: kept by at least 6 in 10 of the 18 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,team.size
Resolved above — use as-is; --review overrides review_mode. No block →
defaults in .claude/docs/config-resolution.md.
When this skill is invoked:
0. Parse Arguments — Detect Retrofit / Acceptance Mode
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).
team.size: which agents validate this ADR (orthogonal to review_mode/workflow).
individual(default):technical-director(TD-ADR) + the engine-specialist.smallandstudio: the same two. This skill spawns no engine sub-specialist and no adversarial reviewer at any size.
docs.density — it controls the depth of the ADR's prose sections, not
which sections the skeleton emits (that is fixed). modes.rigor sets it
alongside workflow; set docs.density explicitly to vary ADR verbosity alone:
terse (the default, via rigor: minimal) = decision + alternatives as bullets, one line of rationale each;
balanced = paragraph per section with light rationale (rigor: standard); thorough =
full prose with trade-offs and worked rationale in Decision, Alternatives, and
Consequences. Apply it to the prose sections; the Engine Compatibility, ADR
Dependencies, and GDD Requirements tables are structural and stay whole at every
density.
workflow (see .claude/docs/workflow-modes.md):
full— all ADRs on the required ADR list must be completed.standard— critical ADRs only (Foundation-layer systems).minimal— not required. Can still be run voluntarily.
If the argument starts with retrofit followed by a file path
(e.g., /architecture-decision retrofit docs/architecture/adr-0001-event-system.md):
Enter retrofit mode:
- Read the existing ADR file completely.
- Identify which template sections are present by scanning headings:
## Status— BLOCKING if missing:/story-readinesscannot check ADR acceptance## ADR Dependencies— HIGH if missing: dependency ordering breaks## Engine Compatibility— HIGH if missing: post-cutoff risk unknown## GDD Requirements Addressed— MEDIUM if missing: traceability lost## Date— MEDIUM if missing, and no## Last Verifiedeither:/create-storiesstamps stories with it and/dev-storycompares against it, so without it a story can never tell whether the ADR changed
- Present to the user:
## Retrofit: [ADR title] File: [path] Sections already present (will not be touched): ✓ Status: [current value, or "MISSING — will add"] ✓ [section] Missing sections to add: ✗ Status — BLOCKING (stories cannot validate ADR acceptance without this) ✗ ADR Dependencies — HIGH ✗ Engine Compatibility — HIGH - Ask: "Shall I add the [N] missing sections? I will not modify any existing content." If no: write nothing, and report the missing sections by name.
- If yes:
- For Status: ask the user — "What is the current status of this decision?"
Options: "Proposed", "Accepted", "Deprecated", "Superseded by ADR-XXXX"
An
Acceptedanswer — a decision already in force — is not written as given: writeProposed, add the other missing sections, then run acceptance mode (below) on this ADR. Its dependency check, confirmation and story unblocking apply here too; it stays the only path that setsAccepted. - For ADR Dependencies: ask — "Does this decision depend on any other ADR? Does it enable or block any other ADR or epic?" Accept "None" for each field.
- For Engine Compatibility: read the engine reference docs (same as Step 1 below) and ask the user to confirm the domain. Then generate the table with verified data.
- For GDD Requirements Addressed: ask — "Which GDD systems motivated this decision? What specific requirement in each GDD does this ADR address?"
- Append each missing section to the ADR file using the Edit tool.
- For Date (counted only when there is no
## Last Verified): append## Datewith today's date — even when it is the only missing section, the case/dev-storysends you here for — and say that it records the retrofit, not when the decision was made. - Never modify any existing section. Only append or fill absent sections.
- For Status: ask the user — "What is the current status of this decision?"
Options: "Proposed", "Accepted", "Deprecated", "Superseded by ADR-XXXX"
An
- Suggest: "Run
/architecture-reviewto re-validate coverage now that this ADR has its Status and Dependencies fields."
If the argument starts with accept followed by an ADR id
(e.g., /architecture-decision accept ADR-0005):
Enter acceptance mode. This is the only path in the framework that moves an
ADR from Proposed to Accepted. Authoring always produces Proposed
(Step 5), while
/create-control-manifest, /create-epics, /create-stories and /gate-check
all require Accepted — so without this mode the pipeline had a state it could
enter and never leave.
- Resolve the id to a file, then read it. Glob
docs/architecture/adr-NNNN-*.mdfor the given number. If no file matches, or more than one does, stop and say which — do not pick one. If the file has no## Statussection, stop and say so; a missing Status is exactly what retrofit mode is for. - Check the current status. If it is already
Accepted, say so and stop. If it isDeprecatedorSuperseded, refuse: reviving a superseded decision is a new ADR, not a status edit. Check its dependencies first. Read
## ADR Dependencies.If that section is absent, empty, or reads
UNKNOWN, do not read it as "no dependencies" — refuse and say which:"ADR-0005's dependency section is [absent / UNKNOWN], so I cannot tell what this decision rests on. An empty dependency list and an unexamined one look identical here, and only one of them is safe to accept. Run
/architecture-decision retrofit <path>to establish it."A dependency check reading a field that defaults to empty is the vacuous-pass shape this gate exists to prevent — the check would examine nothing and report clean.
If it depends on any ADR that is not itself
Accepted, refuse and name them:"ADR-0005 depends on ADR-0002, which is still Proposed. Accept ADR-0002 first — an accepted decision resting on an unaccepted one is not a decision, it is a deferral with a different label." This is the same dependency rule
/architecture-reviewalready flags; here it is enforced rather than reported.- Confirm with the user, always. Per
CONTRACT.md, acceptance authority is the user, ortechnical-directoron the user's explicit confirmation — no other agent, and never this skill on its own. UseAskUserQuestion:- Prompt: "Accept ADR-NNNN — [title]? This is what unblocks stories and epics that depend on it."
- Options:
[A] Yes — accept it/[B] Not yet — leave it ProposedThis prompt fires regardless ofmodes.automation, includingautonomous. Acceptance is the decision the whole architecture pipeline gates on; it is not a step to be inferred.
Find the stories this will unblock, BEFORE the prompt in step 4. Grep every story for a Blocked Status line —
Grep pattern="Status\**:\**\s*Blocked" path="production/epics" glob="**/story-*.md" output_mode="files_with_matches", which matches> **Status**: Blocked(the form/create-storieswrites),**Status:** BlockedandStatus: Blocked— and keep the files that name this ADR's id as the reason they are blocked. That pairing is what "blocked pending this ADR" means — a story blocked for an unrelated reason will not name it. Leave out a story that names this ADR only as the successor to point at (point the story at ADR-NNNN, the note for aDeprecatedorSupersededADR): it is still governed by the old ADR, and accepting the successor does not re-point it.Stories live only under
production/epics/. A flat top-level stories directory does not exist and no skill creates one — never write or match a path outsideproduction/epics/./dev-storymatches entries by file path, so a story recorded under any other path silently fails to match and never gets picked up.Feed the count into step 4's prompt so it reads "3 stories become Ready" rather than a generic claim: the user is being asked to authorise an effect, and should be shown the effect. If none match, say "no stories are waiting on this" — that is useful information, not an empty result to omit.
- On confirmation,
Editthe## Statusline toAccepted. Leave an existing## Dateas it is: it records when the ADR was written, and/create-storiesstamps stories with it (or## Last Verified), so rewriting it on acceptance would make every story drafted against the Proposed ADR look out of date to/dev-story. If that section is absent, add it with today's date — retrofit mode already owns this shape, and acceptance must not fail on a template that predates the field. - Then set each story found in step 5 from
BlockedtoReady. Unblocking is a consequence of acceptance, never of authoring — see Step 6's note below. - Report what moved: the ADR (and its
## Date, if one was added), and every story that became Ready.
If NOT in retrofit or acceptance mode, proceed to Step 1 below (normal ADR authoring).
No-argument guard: If no argument was provided (title is empty), ask before running Phase 0:
"What technical decision are you documenting? Please provide a short title (e.g.,
event-system-architecture,physics-engine-choice)."
Use the user's response as the title, then proceed to Step 1.
1. Load Engine Context (ALWAYS FIRST)
Before doing anything else, establish the engine environment:
- Read
docs/engine-reference/[engine]/VERSION.mdto get:- Engine name and version
- LLM knowledge cutoff date
- Post-cutoff version risk levels (LOW / MEDIUM / HIGH)
- Identify the domain of this architecture decision from the title or user description. Common domains: Physics, Rendering, UI, Audio, Navigation, Animation, Networking, Core, Input, Scripting.
- Read the corresponding module reference if it exists:
docs/engine-reference/[engine]/modules/[domain].md - Read
docs/engine-reference/[engine]/breaking-changes.md— flag any changes in the relevant domain that post-date the LLM's training cutoff. - Read
docs/engine-reference/[engine]/deprecated-apis.md— flag any APIs in the relevant domain that should not be used. Display a knowledge gap warning before proceeding if the domain carries MEDIUM or HIGH risk:
⚠️ ENGINE KNOWLEDGE GAP WARNING Engine: [name + version] Domain: [domain] Risk Level: HIGH — This version is post-LLM-cutoff. Key changes verified from engine-reference docs: - [Change 1 relevant to this domain] - [Change 2] This ADR will be cross-referenced against the engine reference library. Proceed with verified information only — do NOT rely solely on training data.If no engine has been configured yet, prompt: "No engine is configured. Run
/setup-enginefirst, or tell me which engine you are using."
2. Determine the next ADR number
Scan docs/architecture/ for existing ADRs to find the next number.
3. Gather context
3a: Architecture Registry Check (BLOCKING gate) — do this FIRST
Read docs/registry/architecture.yaml. Extract entries relevant to this ADR's
domain and decision (grep by system name, domain keyword, or state being touched).
Run this before reading any existing ADR — the registry exists specifically so a
new ADR's author does not need to open prior ADRs to learn their binding facts
(state ownership, interface contracts, forbidden patterns).
Present any relevant stances to the user before the collaborative design begins, as locked constraints:
## Existing Architectural Stances (must not contradict)
State Ownership:
player_health → owned by health-system (ADR-0001)
Interface: HealthComponent.current_health (read-only float)
→ If this ADR reads or writes player health, it must use this interface.
Interface Contracts:
damage_delivery → signal pattern (ADR-0003)
Signal: damage_dealt(amount, target, is_crit)
→ If this ADR delivers or receives damage events, it must use this signal.
Forbidden Patterns:
✗ autoload_singleton_coupling (ADR-0001)
✗ direct_cross_system_state_write (ADR-0000)
→ The proposed approach must not use these patterns.If the user's proposed decision would contradict any registered stance, surface the conflict immediately:
"⚠️ Conflict: This ADR proposes [X], but ADR-[NNNN] established that [Y] is the accepted pattern for this purpose. Proceeding without resolving this will produce contradictory ADRs and inconsistent stories. Options: (1) Align with the existing stance, (2) Supersede ADR-[NNNN] with an explicit replacement, (3) Explain why this case is an exception."
Do not proceed to Step 4 (collaborative design) until any conflict is resolved or explicitly accepted as an intentional exception.
3b: Existing ADRs and Related GDDs — registry-scoped, never unbounded
The registry (3a) covers what prior decisions bind — not always why. If the
registry surfaced a directly relevant ADR and its reasoning matters here (not
just its stated facts), read that specific ADR — never glob-and-read every
ADR in docs/architecture/ on the chance one is relevant:
- Map its headings first (cheap):
Grep pattern="^## " path="docs/architecture/[adr-file].md" output_mode="content" -n - Under ~50KB (
Bash: wc -c "docs/architecture/[adr-file].md") — one fullReadis fine; per-call overhead exceeds the savings from bounded reads at this size. - ~50KB or larger — bounded-read only
## Context,## Decision, and## Consequences(the sections that carry reasoning, not just facts) viaRead(offset, limit)from the heading map.
Read GDDs the same way /design-system Step 2b does: only GDDs the registry
or the ADR list names as directly relevant, and only their ## Dependencies,
## Formulas, and ## Edge Cases sections
(Grep pattern="^## (Dependencies|Formulas|Edge Cases)" ... -A 40) — never a
speculative full read of design/gdd/*.md looking for anything that might
relate.
Skip 3b entirely if the registry already answers everything this decision needs — most ADRs will.
4. Guide the decision collaboratively
Before asking anything, derive the skill's best guesses from the context already
gathered (GDDs read, engine reference loaded, existing ADRs scanned). Then present
a confirm/adjust prompt using AskUserQuestion — not open-ended questions.
Derive assumptions first:
- Problem: Infer from the title + GDD context what decision needs to be made
- Alternatives: Propose 2-3 concrete options from engine reference + GDD requirements
- Dependencies: Scan existing ADRs for upstream dependencies. If the scan is
inconclusive, present
UNKNOWN — scan inconclusive, please confirm, neverNone. The two are not interchangeable:Noneasserts that nothing upstream constrains this decision, and a user confirming a prefilled list cannot tell an assertion from a guess. This field is load-bearing —/architecture-reviewflags unaccepted dependencies,/dev-storyreads it, and the acceptance route in Phase 0 refuses to accept an ADR whose dependencies are not themselves Accepted. A dependency list that defaulted to empty makes that check pass while examining nothing.UNKNOWNmust be resolved during the confirm/adjust prompt; it is a prompt state, never a value written to the file - GDD linkage: Extract which GDD systems the title directly relates to
- Status: Always
Proposedfor new ADRs — never ask the user what the status is
Scope of assumptions tab: Assumptions cover only: problem framing, alternative approaches, upstream dependencies, GDD linkage, and status. Schema design questions (e.g., "How should spawn timing work?", "Should data be inline or external?") are NOT assumptions — they are design decisions belonging to a separate step after the assumptions are confirmed. Do not include schema design questions in the assumptions AskUserQuestion widget.
After assumptions are confirmed, if the ADR involves schema or data design choices, use a separate multi-tab AskUserQuestion to ask each design question independently before drafting.
Present assumptions with AskUserQuestion:
Here's what I'm assuming before drafting:
Problem: [one-sentence problem statement derived from context]
Alternatives I'll consider:
A) [option derived from engine reference]
B) [option derived from GDD requirements]
C) [option from common patterns]
GDD systems driving this: [list derived from context]
Dependencies: [upstream ADRs if any, otherwise "None"]
Status: Proposed
[A] Proceed — draft with these assumptions
[B] Change the alternatives list
[C] Adjust the GDD linkage
[D] Add a performance budget constraint
[E] Something else needs changing firstDo not generate the ADR until the user confirms assumptions or provides corrections.
After engine specialist and TD reviews return (Step 5.5/5.6), if unresolved
decisions remain, present each one as a separate AskUserQuestion with the proposed
options as choices plus a free-text escape:
Decision: [specific unresolved point]
[A] [option from specialist review]
[B] [alternative option]
[C] Different approach — I'll describe itADR Dependencies — derive from existing ADRs, then confirm:
- Does this decision depend on any other ADR not yet Accepted?
- Does it unlock or unblock any other ADR or epic?
- Does it block any specific epic from starting?
Record answers in the ADR Dependencies section. Write "None" for each field if no constraints apply.
5. Generate the ADR
Following this format:
# ADR-[NNNN]: [Title]
## Status
[Proposed | Accepted | Deprecated | Superseded by ADR-XXXX]
## Date
[Date of decision]
## Last Verified
[YYYY-MM-DD — when this ADR was last confirmed accurate against the current
engine version and design. Update this date when you re-read and confirm it is
still correct, even if nothing changed.]
## Decision Makers
[Who was involved in this decision]
## Summary
[2 sentences: what problem this ADR solves, and what was decided. Written for
tiered context loading — a skill scanning 20 ADRs uses this to decide whether to
read the full decision. Be specific: name the system, the problem, and the
chosen approach.]
## Engine Compatibility
| Field | Value |
|-------|-------|
| **Engine** | [e.g. Godot 4.6] |
| **Domain** | [Physics / Rendering / UI / Audio / Navigation / Animation / Networking / Core / Input] |
| **Knowledge Risk** | [LOW / MEDIUM / HIGH — from VERSION.md] |
| **References Consulted** | [List engine-reference docs read, e.g. `docs/engine-reference/godot/modules/physics.md`] |
| **Post-Cutoff APIs Used** | [Any APIs from post-LLM-cutoff versions this decision depends on, or "None"] |
| **Verification Required** | [Specific behaviours to test before shipping, or "None"] |
## ADR Dependencies
| Field | Value |
|-------|-------|
| **Depends On** | [ADR-NNNN (must be Accepted before this can be implemented), or "None"] |
| **Enables** | [ADR-NNNN (this ADR unlocks that decision), or "None"] |
| **Blocks** | [Epic/Story name — cannot start until this ADR is Accepted, or "None"] |
| **Ordering Note** | [Any sequencing constraint that isn't captured above] |
## Context
### Problem Statement
[What problem are we solving? Why does this decision need to be made now?]
### Constraints
- [Technical constraints]
- [Timeline constraints]
- [Resource constraints]
- [Compatibility requirements]
### Requirements
- [Must support X]
- [Must perform within Y budget]
- [Must integrate with Z]
## Decision
[The specific technical decision made, described in enough detail for someone
to implement it.]
### Architecture Diagram
[ASCII diagram or description of the system architecture this creates]
### Key Interfaces
[API contracts or interface definitions this decision creates]
### Implementation Guidelines
[Specific guidance for the programmer implementing this decision — the rules a
`/create-control-manifest` or `/dev-story` run should follow. State mandates as
"must / must never" so they extract cleanly.]
## Alternatives Considered
### Alternative 1: [Name]
- **Description**: [How this would work]
- **Pros**: [Advantages]
- **Cons**: [Disadvantages]
- **Rejection Reason**: [Why this was not chosen]
### Alternative 2: [Name]
- **Description**: [How this would work]
- **Pros**: [Advantages]
- **Cons**: [Disadvantages]
- **Rejection Reason**: [Why this was not chosen]
## Consequences
### Positive
- [Good outcomes of this decision]
### Negative
- [Trade-offs and costs accepted]
## Risks
- [Things that could go wrong]
- [Mitigation for each risk]
## GDD Requirements Addressed
| GDD System | Requirement | How This ADR Addresses It |
|------------|-------------|--------------------------|
| [system-name].md | [specific rule, formula, or performance constraint from that GDD] | [how this decision satisfies it] |
## Performance Implications
- **CPU**: [Expected impact]
- **Memory**: [Expected impact]
- **Load Time**: [Expected impact]
- **Network**: [Expected impact, if applicable]
## Migration Plan
[If this changes existing code, how do we get from here to there?]
## Validation Criteria
[How will we know this decision was correct? What metrics or tests?]
## Related
- [Links to related ADRs — note if supersedes, contradicts, or depends on]
- [Links to related design documents]5.5. Engine Specialist Validation — Before saving, spawn the primary engine specialist via Agent to validate the drafted ADR:
- Resolve the primary specialist:
<engine>-specialistderived fromengine.nameinproject.yaml(Godot→godot-specialist, Unity→unity-specialist, Unreal→unreal-specialist); ifengine.nameis absent or empty, read the Primary line of the## Engine Specialistssection in.claude/docs/technical-preferences.md - If no engine is configured (neither source yields an engine), skip this step Record
Engine validation: NOT ASSESSED — no engine configured (`engine.name` unset in `project.yaml`)in this run's output. A skipped check that says nothing is indistinguishable from a check that passed; the reader cannot tell engine guidance was never sought. - Spawn
subagent_type: [primary specialist]with: the ADR's Engine Compatibility section, Decision section, Key Interfaces, and the engine reference docs path. Ask them to:- Confirm the proposed approach is idiomatic for the pinned engine version
- Flag any APIs or patterns that are deprecated or changed post-training-cutoff
- Identify engine-specific risks or gotchas not captured in the current ADR draft
- If the specialist identifies a blocking issue (wrong API, deprecated approach, engine version incompatibility): revise the Decision and Engine Compatibility sections accordingly, then confirm the changes with the user before proceeding
- If the specialist finds minor notes only: incorporate them into the ADR's Risks subsection
Review mode check — apply before spawning TD-ADR:
solo→ skip. Note: "TD-ADR skipped — Solo mode." Proceed to Step 5.7 (GDD sync check).lean→ skip (not a PHASE-GATE). Note: "TD-ADR skipped — Lean mode." Proceed to Step 5.7 (GDD sync check).full→ spawn as normal.
5.6. Technical Director Strategic Review — After the engine specialist validation, spawn technical-director via Agent using gate TD-ADR (.claude/docs/director-gates/td-adr.md):
- Pass: the ADR file path (or draft content), engine version, domain, any existing ADRs in the same domain
- The TD validates architectural coherence (is this decision consistent with the whole system?) — distinct from the engine specialist's API-level check
- On CONCERNS: show them to the user verbatim and ask with the standard options from
director-gates.md—Revise flagged items/Accept and proceed/Discuss further. Revise the flagged Decision or Alternatives sections only onRevise flagged items. - On REJECT: show the blockers verbatim and revise the Decision or Alternatives sections before proceeding.
- A revised draft still reaches the user through the write approval below; nothing is written before it. A
NOT ASSESSEDanswer is not an approval — name the missing input (director-gates.md).
5.7. GDD Sync Check — Before presenting the write approval, scan all GDDs referenced in the "GDD Requirements Addressed" section for naming inconsistencies with the ADR's Key Interfaces and Decision sections (renamed signals, API methods, or data types). If any are found, surface them as a prominent warning block immediately before the write approval — not as a footnote:
⚠️ GDD SYNC REQUIRED
[gdd-filename].md uses names this ADR has renamed:
[old_name] → [new_name_from_adr]
[old_name_2] → [new_name_2_from_adr]
The GDD must be updated before or alongside writing this ADR to prevent
developers reading the GDD from implementing the wrong interface.This check has three outcomes, not two. The two above are "found" and "none found"; the third is could not check, and until now it fell through the silent branch and rendered exactly like a clean result.
- None found — print one line, do not stay silent:
GDD sync: checked [N] referenced GDD(s), no naming inconsistencies.A silent pass is indistinguishable from a check that never ran, and this one guards against developers implementing the wrong interface from a stale GDD. - Could not check — the ADR has no
GDD Requirements Addressedsection, it names no GDDs, or a named GDD does not exist on disk. Print:GDD sync: NOT ASSESSED — [which reason, and which files]Do not treat an ADR that references no GDDs as one whose GDDs are consistent. Nothing was compared.
Only the warning block itself is conditional; the check always reports.
- Write approval — Use
AskUserQuestion:
If GDD sync issues were found:
- "ADR draft is complete. How would you like to proceed?"
- [A] Write ADR + update GDD in the same pass
- [B] Write ADR only — I'll update the GDD manually
- [C] Not yet — I need to review further
If no GDD sync issues:
- "ADR draft is complete. May I write it?"
- [A] Write ADR to
docs/architecture/adr-[NNNN]-[slug].md - [B] Not yet — I need to review further
- [A] Write ADR to
If yes to any write option, write the file, creating the directory if needed. For option [A] with GDD update: also update the GDD file(s) to use the new names.
- Update Architecture Registry
Scan the written ADR for new architectural stances that should be registered:
- State it claims ownership of
- Interface contracts it defines (signal signatures, method APIs)
- Performance budget it claims
- API choices it makes explicitly
- Patterns it bans (Consequences → Negative or explicit "do not use X")
Present candidates:
Registry candidates from this ADR:
NEW state ownership: player_stamina → stamina-system
NEW interface contract: stamina_depleted signal
NEW performance budget: stamina-system: 0.5ms/frame
NEW forbidden pattern: polling stamina each frame (use signal instead)
EXISTING (referenced_by update only): player_health → already registered ✅Registry append logic: When writing to docs/registry/architecture.yaml, do NOT assume sections are empty. The file may already have entries from previous ADRs written in this session. Before each Edit call:
- Read the current state of
docs/registry/architecture.yaml - Find the correct section (state_ownership, interfaces, forbidden_patterns, api_decisions)
- Append the new entry AFTER the last existing entry in that section — do not try to replace a
[]placeholder that may no longer exist - If the section has entries already, use the closing content of the last entry as the
old_stringanchor, and append the new entry after it
BLOCKING — do not write to docs/registry/architecture.yaml without explicit user approval.
Ask using AskUserQuestion:
- "May I update
docs/registry/architecture.yamlwith these [N] new stances?"- Options: "Yes — update the registry", "Not yet — I want to review the candidates", "Skip registry update"
Only proceed if the user selects yes. If yes: append new entries. Never modify existing entries — if a stance is
changing, set the old entry to status: superseded_by: ADR-[NNNN] and add the new entry.
6. Closing Next Steps
After the ADR is written (and registry optionally updated), close with AskUserQuestion.
Before generating the widget:
- Read
docs/registry/architecture.yaml— check if any priority ADRs are still unwritten (look for ADRs flagged in technical-preferences.md or systems-index.md as prerequisites) - Check if all prerequisite ADRs are now written. If yes, include a "Start writing GDDs" option.
- List ALL remaining priority ADRs as individual options — not just the next one or two.
Widget format:
ADR-[NNNN] written and registry updated. What would you like to do next?
[1] Write [next-priority-adr-name] — [brief description from prerequisites list]
[2] Write [another-priority-adr] — [brief description] (include ALL remaining ones)
[N] Start writing GDDs — run `/design-system [first-undesigned-system]` (only show if all prerequisite ADRs are written)
[N+1] Stop here for this sessionIf there are no remaining priority ADRs and no undesigned GDD systems, offer only "Stop here" and suggest running /architecture-review in a fresh session.
Always include this fixed notice in the closing output (do NOT omit it):
To validate ADR coverage against your GDDs, open a fresh Claude Code session and run
/architecture-review.Never run
/architecture-reviewin the same session as/architecture-decision. The reviewing agent must be independent of the authoring context to give an unbiased assessment. Running it here would invalidate the review.
Do NOT unblock stories here. This ADR is Proposed — Step 5 guarantees it,
and a story blocked pending this decision is still pending it. Unblocking on
authoring is how the deadlock stayed invisible: it defeated the guard at the
moment the guard became relevant, so the pipeline appeared to flow while running
on decisions nobody had accepted.
Instead, tell the user what is now waiting on acceptance:
"ADR-NNNN is written and
Proposed. [N] stories remainBlockedpending it. Run/architecture-decision accept ADR-NNNNwhen the decision is settled — that is what moves them toReady."
List the blocked stories by path so the cost of leaving it Proposed is visible. (Acceptance has consequences enforced across many skills and an authority recorded in only a few, so the route between them must stay explicit.)
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.

