create-stories
Skill26k starsChanged 2 months agoMITView on GitHub
Break one epic into implementable stories embedding TR-ID, ADR guidance, acceptance criteria. Reads the control manifest. After /create-epics.
5 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 - No argument — at
minimalthere are no epics yet (Option A): skip to Step 2'sminimalbranch and synthesize the epic fromdesign/game-brief.md. …dropped by 3 of 3 - When stopping (full / standard-critical):dropped by 3 of 3
- After decomposing all stories (Step 4 complete) but before presenting them for write approval, spawn
qa-leadonce viaAgentusing gate QL-STORY-READY (.claude/docs/director-gates/ql-story-ready.md). …dropped by 3 of 3 - No ADR applies at all: Write
ADR: N/A — [brief reason, e.g. "pure data configuration, no architectural pattern required"]in the story's ADR field. Do NOT leave the field blank — a blank ADR field means "not checked", not "not applicable".dropped by 2 of 3 - Use
AskUserQuestionto close with context-aware next steps:dropped by 1 of 3
Rules people add
- No argument — ask: "Which epic would you like to break into stories?" Glob
production/epics/*/EPIC.mdand list available epics with their status.added by 3 of 3 - All governing ADRs listed in the epic — read the Decision, Implementation Guidelines, Engine Compatibility, and Engine Notes sectionsadded by 3 of 3
- ADR existence validation: After reading the governing ADRs list from the epic, confirm each ADR file exists on disk. If any ADR file cannot be found, stop immediately before decomposing any story:added by 3 of 3
- Do not proceed to Step 3 until all referenced ADR files are confirmed present.added by 3 of 3
- After decomposing all stories (Step 4 complete) but before presenting them for write approval, spawn
qa-leadvia Task using gate QL-STORY-READY (docs/framework/director-gates.md).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
- gonimar/claude-web-studiotheir own version, first seen Sep 27, 2026
- dawn840705/codex-code-studiosedited, first seen Aug 28, 2026
- striderZA/OpenCodeGameStudiosedited, first seen Aug 10, 2026
- cenconq25/claude-code-app-studiotheir own version, first seen May 3, 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 versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 3
- striderZA/OpenCodeGameStudios★ 9043% same
- dawn840705/codex-code-studios★ 1740% same
- HunLuanZhiZhu/Game-Studios-Plugin★ 140% same
Wrote their own version · 2
- cenconq25/claude-code-app-studio★ 41same name
- gonimar/claude-web-studio★ 5same 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-architectureSkill
- create-control-manifestSkill
- create-epicsSkill
- 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
We split this skill into the rules it gives an agent
9 rules. 2 are common, 1 is distinctive, and 6 are very specific to this project.
2
Common
Most of the 5 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 40
Every AskUserQuestion call follows .claude/docs/automation-modes.md (collaborative asks always · guided major-only · autonomous logs and …
- Very specific: line 70
No argument — at minimal there are no epics yet (Option A): skip to Step 2's minimal branch and synthesize the epic from …
- Distinctive: line 178
When stopping (full / standard-critical):
- Very specific: line 223
TR-ID: look up in tr-registry.yaml.
- Very specific: line 229
No ADR applies at all: Write ADR: N/A — [brief reason, e.g.
- Very specific: line 242
After decomposing all stories (Step 4 complete) but before presenting them for write approval, spawn qa-lead once via Agent using gate …
- Common: line 283
Before writing any files, present the full story list:
- Very specific: line 465
Use AskUserQuestion to close with context-aware next steps:
- Common: line 496
After writing (or declining):
“Common” is measured: kept by at least 6 in 10 of the 5 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,story_granularity,qa.level,system_overrides
Resolved above — use as-is; --review overrides review_mode. No block →
defaults in .claude/docs/config-resolution.md.
Create Stories
A story is a single implementable behaviour — small enough to complete in one focused session, self-contained, and fully traceable to a GDD requirement and an ADR decision. Stories are what developers pick up. Epics are what architects define.
Run this skill per epic, not per layer. Run it for Foundation epics first, then Core, and so on — matching the dependency order.
Output: production/epics/[epic-slug]/story-NNN-[slug].md files
Previous step: /create-epics [system]
Next step after stories exist: /story-readiness [story-path] then /dev-story [story-path] —
at workflow: minimal, /dev-story [story-path] directly (/story-readiness is not on the minimal path)
1. Parse Argument
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).
workflow for this epic's system (per .claude/docs/workflow-modes.md) —
use the system_overrides row for <system> if the block lists one, else the
project value. <system> is the epic slug / its GDD system. The tier sets which prerequisites block — see the note in Step 2.
story_granularity — it sets each
story's AC load: 5–10 ACs covering a whole feature at coarse (the default, via rigor: minimal), 2–4 ACs
covering one task at balanced (rigor: standard), 1 AC at fine (the story name is
the AC restatement). Group or split ACs into stories to hit the target.
docs.density — it controls the depth of each story's prose (context,
implementation notes, ADR summary), not the AC count (that is
story_granularity) and never the AC text itself. modes.rigor sets it
alongside workflow; set docs.density explicitly to vary story prose alone:
terse (the default, via rigor: minimal) = notes as bullets, no preamble; balanced = short context paragraph +
notes (rigor: standard); thorough = full context, implementation guidance, and ADR
rationale. The embedded TR-ID reference, ADR Version stamp, and acceptance
criteria are structural and are never trimmed by density.
/create-stories [epic-slug]— e.g./create-stories combat/create-stories production/epics/combat/EPIC.md— full path also accepted- A named epic that does not exist — if
production/epics/[slug]/EPIC.md(or the given path) is missing, stop atstandard/full: "No epic atproduction/epics/[slug]/EPIC.md. Run/create-epicsto create it, or check the slug withls production/epics/." Do not decompose from a guess. Atminimalthere are no/create-epicsepics to name and that skill is not on the path — say so, take Step 2'sminimalbranch, and name the slug it uses. No argument — at
minimalthere are no epics yet (Option A): skip to Step 2'sminimalbranch and synthesize the epic fromdesign/game-brief.md. Atstandard/full, ask "Which epic would you like to break into stories?" and Globproduction/epics/*/EPIC.mdto list available epics with their status.If that glob returns nothing at
standard/full, stop — do not build a question with no options. Report: "No epics found underproduction/epics/. Run/create-epics layer: foundationfirst — an epic is what this skill decomposes."The zero-epic path is load-bearing. Asking which epic and globbing to list them leaves an
AskUserQuestionwith nothing to offer when the glob is empty. Route to/create-epicsinstead — it is named as Previous step in this skill's own header.Note what this skill guarded and what it did not. Step 2's ADR validation is thorough: three tiers, each with its own stop condition, and an explicit message naming the missing file. That is the deepest input. The first input — does an epic exist at all — went unchecked. Guarding the far end of a chain while leaving the near end open is the shape to watch for.
At
minimalthis does not apply: there are deliberately no epics, and the branch above synthesizes one from the brief.
2. Load Everything for This Epic
minimaltier — synthesize the epic from the brief (Option A). Atminimalthere is no/create-epicsstep and usually noEPIC.md. Instead: 0. Nodesign/game-brief.md? Stop: "There is no brief to build stories from yet — run/brainstormfirst; it writes the one-page brief." AnEPIC.mdalready atproduction/epics/<slug>/— the named epic, or the brief-title slug (/create-epicsrun anyway, or an earlier run of this skill) — is the epic: use its scope, still traced to the brief, and never rewrite it; Step 6 only appends its Stories table, and the Step 5 ask says updateEPIC.md. Stories already inproduction/epics/<slug>/? This is a return visit —/helpsends a finished build order back here. Never rewrite an existingstory-*.mdor theEPIC.md: read them, add stories only for brief items they do not yet cover (or the new ones the user names), and number on from the highest existingstory-NNN. The one changeEPIC.mdgets is Step 6's: a row per new story appended to its Stories table — existing rows and the rest of the file stay as they are.
- Read
design/game-brief.mdin full (it is one page).- Synthesize an implicit epic (first run only — a return visit keeps the existing one): draft a lightweight
production/epics/<slug>/EPIC.md, where<slug>is the brief's slugified working title (mvpif untitled) — goal = the brief's one-sentence pitch, scope = its MVP feature list, ordering = its Build order. Keep it terse; this is the container/dev-storyand/sprint-statusexpect. It is written in Step 6, with the stories, after the Step 5 ask names it — never before.- Generate one coarse story per MVP feature (Step 3+), in Build-order sequence, each traced to the brief (not a GDD/TR-ID). Leave stories unblocked on ADR grounds — none exist at this tier. Skip the GDD, control-manifest, TR-registry, and ADR reads below (none exist at
minimal), then continue to Step 3 with the synthesized epic.
For standard/full (a /create-epics epic exists), read in full (these are small):
production/epics/[epic-slug]/EPIC.md— epic overview, governing ADRs, GDD requirements table- The epic's GDD (
design/gdd/[filename].md) — atfullread all 8 sections; atstandardthe 5 required sections (+ conditional Formulas); atminimalthe GDD may not exist — work from the epic brief + acceptance criteria. Always prioritise Acceptance Criteria, Formulas, and Edge Cases where present. docs/architecture/control-manifest.md— grep only this epic's layer (Grep pattern="^## <layer> Layer Rules" path="docs/architecture/control-manifest.md" output_mode="content" -A 40) plus the header Manifest Version date, not a full read of all layersdocs/architecture/tr-registry.yaml— grep only this system's entries (Grep pattern="system: <slug>" path="docs/architecture/tr-registry.yaml" output_mode="content" -B1 -A5, orid: TR-<slug>-), not the whole cross-system registry
Load each governing ADR by section — never with an unbounded full read. A
substantial ADR exceeds the 25k-token Read cap, and a capped read's only
recovery is paging through the remainder — the most expensive possible way to
read a file. Per ADR:
- Map the headings (cheap — line numbers only):
Grep pattern="^## |^### Implementation Guidelines" path="docs/architecture/[adr-file].md" output_mode="content" -n - Bounded-read exactly the sections this skill consumes, using the line
numbers from the map to set
Read(offset, limit)spans that end where the next section begins:## Summaryand## Decision(including its### Implementation Guidelinessubsection) — these feed the story's ADR Decision Summary and Implementation Notes.## Engine Compatibility— feeds the story's Engine, Risk, and Engine Notes fields. (Engine Notes is a story field derived from this section — it is not an ADR section name; do not search for one.)
- Capture the
## Statusand the## Last Verifieddate in one call:
The Status (Accepted / Proposed / …) is what Step 4 decidesGrep pattern="^## (Status|Last Verified|Date)" path="docs/architecture/[adr-file].md" output_mode="content" -A 2ReadyvsBlockedon — never assume it. For the version, useLast Verified, falling back toDate, then tounversionedif both are absent. This becomes the story'sADR Versionstamp —/dev-storyuses it to decide whether it can trust this story's distilled summary instead of re-opening the ADR.
Skip Context, Alternatives Considered, Consequences, Risks, and any
Amendments Log unless a section you loaded explicitly cross-references one of
their entries — then take only the referenced entry with one more bounded
read. If the heading map comes back empty (a nonstandard ADR predating the
template), fall back to one full Read — and if that read truncates at the
cap, do not page through the remainder; grep for the story-relevant
content directly and flag the ADR for
/architecture-decision retrofit [file].
ADR existence validation (tier-gated — resolved in Step 1): After reading the governing ADRs list from the epic, confirm each referenced ADR file exists on disk.
full— if any referenced ADR file cannot be found, stop immediately before decomposing any story.standard— stop only if a critical (Foundation-layer) ADR is missing; for a missing non-critical ADR, warn and continue (the story embeds the ADR reference and is setStatus: Blockeduntil the ADR exists).minimal— no ADR requirement; do not stop. Embed any ADR references that do exist; otherwise decompose against the brief + acceptance criteria and leave stories unblocked on ADR grounds.
When stopping (full / standard-critical):
"Epic references [ADR-NNNN: title] but
docs/architecture/[adr-file].mdwas not found. Check the filename in the epic's Governing ADRs list, or run/architecture-decisionto create it. Cannot create stories until all referenced ADR files are present."
At full, do not proceed to Step 3 until all referenced ADR files are confirmed present.
Report: "Loaded epic [name], GDD [filename], [N] governing ADRs [ADR status], [manifest status]." State the actual situation for the resolved tier — e.g. "all confirmed present, control manifest v[date]" at full; "M present, K missing non-critical (embedded + Blocked)" at standard; "no ADRs / manifest required" at minimal. Do not assert "all confirmed present" if any referenced ADR was missing, or name a manifest version when none exists.
3. Classify Stories by Type
Story Type Classification — assign each story a type based on its acceptance criteria:
| Story Type | Assign when criteria reference... |
| Logic | Formulas, numerical thresholds, state transitions, AI decisions, calculations |
| Integration | Two or more systems interacting, signals crossing boundaries, save/load round-trips |
| Visual/Feel | Animation behaviour, VFX, "feels responsive", timing, screen shake, audio sync |
| UI | Menus, HUD elements, buttons, screens, dialogue boxes, tooltips |
| Config/Data | Balance tuning values, data file changes only — no new code logic |
Mixed stories: assign the type that carries the highest implementation risk.
The type determines what test evidence is required before /story-done can close the story.
4. Decompose the GDD into Stories
For each GDD acceptance criterion:
- Group related criteria that require the same core implementation
- Each group = one story
- Order stories: foundational behaviour first, edge cases last, UI last
Story sizing rule: size each story to the resolved modes.story_granularity
target (above). The "~2-4 hours / one focused session" heuristic is the
balanced target (rigor: standard) — at coarse, the default, a story spans a whole feature (5–10 ACs,
multi-day), at fine a story is a single AC. Split or group criteria to hit the
resolved target, not a fixed session length.
For each story, determine:
- GDD requirement: which acceptance criterion(ia) does this satisfy?
- TR-ID: look up in
tr-registry.yaml. Use the stable ID. If no match, useTR-[system]-???and warn. - Governing ADR: which ADR governs how to implement this?
Status: Accepted→ embed normallyStatus: Proposed→ set storyStatus: Blockedwith note: "BLOCKED: ADR-NNNN is Proposed — accept it with/architecture-decision accept ADR-NNNNonce decided"DeprecatedorSuperseded by ADR-XXXX→ set storyStatus: Blockedwith note: "BLOCKED: ADR-NNNN is [status] — point the story at [successor] (edit its ADR field —/create-storiesnever rewrites an existing story) before implementing"- Multiple ADRs apply: List all governing ADRs in the story's
Governing ADRs:field. Designate the one most directly controlling the implementation pattern as primary (first in the list). Others are listed as secondary references. - No ADR applies at all: Write
ADR: N/A — [brief reason, e.g. "pure data configuration, no architectural pattern required"]in the story's ADR field. Do NOT leave the field blank — a blank ADR field means "not checked", not "not applicable".
- Story Type: from Step 3 classification
- Engine risk: from the ADR's Knowledge Risk field
4b. QA Lead Story Readiness Gate
Review mode check — apply before spawning QL-STORY-READY:
solo→ skip. Note: "QL-STORY-READY skipped — Solo mode." Proceed to Step 5 (present stories for review).lean→ skip (not a PHASE-GATE). Note: "QL-STORY-READY skipped — Lean mode." Proceed to Step 5 (present stories for review).full→ spawn as normal.
After decomposing all stories (Step 4 complete) but before presenting them for write approval, spawn qa-lead once via Agent using gate QL-STORY-READY (.claude/docs/director-gates/ql-story-ready.md). A single call returns both the readiness verdict and the test-case specs — do not spawn qa-lead a second time to generate specs.
Pass: the full story list inline — no story file exists yet, so the stories themselves stand in for the gate's story paths — with each story's acceptance criteria, story type, and TR-IDs with their requirement text from tr-registry.yaml; the epic's GDD acceptance criteria for reference. Require in the return:
- The QL-STORY-READY verdict per story (ADEQUATE / GAPS / INADEQUATE, or NOT ASSESSED naming a missing input).
- For every story it marks ADEQUATE, its test-case spec block (formats below) — one Given/When/Then per acceptance criterion for Logic and Integration stories, or manual verification steps for Visual/Feel and UI stories.
Present the assessment, then act on each story's verdict — the gate's own words, handled per .claude/docs/director-gates.md:
- ADEQUATE — keep the returned specs.
- GAPS — use
AskUserQuestion:Revise flagged criteria/Accept and proceed/Discuss further. Do not revise before the user chooses. On Revise, draft the revised criteria, show them, and re-request specs for just those stories in one follow-up call. On Accept, the criteria stay as written and the story carries no qa-lead specs — its## QA Test Casesreads*Test cases not yet defined — run /qa-plan to generate them.* - INADEQUATE — blocking: the story is not written as it stands. Revise its criteria with the user (draft, show, confirm), then re-request its specs; if the user will not revise it, drop it from this run and name it as dropped in the Step 5 list.
- NOT ASSESSED [missing input] — not an ADEQUATE: name what was missing, then supply it and re-request that story's verdict, or write the story without qa-lead specs (the
/qa-planline above in its## QA Test Cases) and mark itQL-STORY-READY: NOT ASSESSED — [input]in the Step 5 list.
Untestable criteria cannot be implemented correctly, so a story carries qa-lead specs only once it is ADEQUATE.
Prefer an existing QA plan when one already covers a story — this substitutes for the qa-lead's specs, it does not add a spawn. Glob production/qa/qa-plan-*.md for the most recent file; if it holds test specs for stories in this epic (match titles/slugs in its Automated Tests Required section) that differ from the qa-lead's, use AskUserQuestion (Use QA-plan specs / Use qa-lead specs / Skip and leave *Test cases not yet defined — run /qa-plan to generate them.*). Either way no additional qa-lead spawn occurs.
The spec block formats — Logic/Integration:
Test: [criterion text]
Given: [precondition]
When: [action]
Then: [expected result / assertion]
Edge cases: [boundary values or failure states to test]For Visual/Feel and UI stories, produce manual verification steps instead:
Manual check: [criterion text]
Setup: [how to reach the state]
Verify: [what to look for]
Pass condition: [unambiguous pass description]These test case specs are embedded directly into each story's ## QA Test Cases section. The developer implements against these cases. The programmer does not write tests from scratch — QA has already defined what "done" looks like.
5. Present Stories for Review
Before writing any files, present the full story list:
## Stories for Epic: [name]
Story 001: [title] — Logic — ADR-NNNN
Covers: TR-[system]-001 ([1-line summary of requirement])
Test required: tests/unit/[system]/[slug]_test.[ext]
Story 002: [title] — Integration — ADR-MMMM
Covers: TR-[system]-002, TR-[system]-003
Test required: tests/integration/[system]/[slug]_test.[ext]
Story 003: [title] — Visual/Feel — ADR-NNNN
Covers: TR-[system]-004
Evidence required: retained screenshot in production/qa/evidence/ + sign-off in production/qa/evidence/[slug]-evidence.md
[N stories total: N Logic, N Integration, N Visual/Feel, N UI, N Config/Data]Use AskUserQuestion:
- Prompt: "May I write these [N] stories to
production/epics/[epic-slug]/, and updateproduction/epics/[epic-slug]/EPIC.mdandproduction/epics/index.md?" — name every file Step 6 touches: atminimalsay createEPIC.mdonly when none exists yet (the Step 2 draft, shown with the stories), and leaveindex.mdout when it does not exist. - Options:
[A] Yes — write all [N] stories/[B] Not yet — I want to review or adjust first
6. Write Story Files
For each story, write production/epics/[epic-slug]/story-[NNN]-[slug].md:
At
minimaltier the Context/traceability inputs do not exist (no GDD, ADR, TR registry, or control manifest). Fill the template from the brief instead — apply this mapping exactly, so every run is deterministic rather than improvised:
- GDD →
design/game-brief.md- Requirement →
Brief MVP feature N(the feature this story implements — NOT aTR-[system]-NNNID)- ADR Governing Implementation / ADR Decision Summary / ADR Version →
N/A (minimal — no ADRs)- Manifest Version and Control Manifest Rules (this layer) →
N/A (minimal — no control manifest)Engine and Risk → read
docs/engine-reference/<engine>/VERSION.md(engine fromengine.name). Engine isengine.name+engine.version. Risk is the risk level that file assigns to the pinned version — its post-cutoff timeline row, or its stated overall risk. If the file is missing or assigns no level, writeNOT ASSESSED (no VERSION.md risk rating)— never guess a level.This field is load-bearing and had no rule, so it was improvised.
/dev-storyPhase 3 spawns the engine specialist as a mandatory secondary "when engine risk is HIGH (from the ADR or VERSION.md)". Atminimalthere is no ADR, soVERSION.mdis the only source — and nothing here told this skill to read it. A story written with an inventedRisk: MEDIUMagainst aVERSION.mdrating of HIGH silently disables the specialist review. TreatNOT ASSESSEDas HIGH for the spawn decision: an unknown risk is not a low one.- Engine Notes →
none (no ADR engine-compatibility analysis at minimal)- The Acceptance-Criteria source line → "From
design/game-brief.md(the Player goal & fail state field + the MVP feature this story implements), scoped to this story" — derive concrete, testable ACs from what the user wrote there rather than inventing them from a bare MVP bullet- The
## QA Test Casessection → at any tier where the QL-STORY-READY / qa-lead gate is skipped (minimal, orlean/soloreview mode) no qa-lead specs are authored; write "N/A — no qa-lead specs at this tier; implement against the Acceptance Criteria above" rather than improvising test cases.- Any Test Evidence / DoD line is governed by
qa.level, not this template — atqa.level: minimaltests are waived (advisory, never "must exist and pass"), but a Visual/Feel or UI story's retained screenshot is not.
# Story [NNN]: [title]
> **Epic**: [epic name]
> **Status**: Ready
> **Layer**: [Foundation / Core / Feature / Presentation]
> **Type**: [Logic | Integration | Visual/Feel | UI | Config/Data]
> **Estimate**: [hours or t-shirt size — fill before sprint planning]
> **Manifest Version**: [date from control-manifest.md header]
> **Last Updated**: [set by /dev-story when implementation begins]
## Context
**GDD**: `design/gdd/[filename].md`
**Requirement**: `TR-[system]-NNN`
*(Requirement text lives in `docs/architecture/tr-registry.yaml` — read fresh at review time)*
**ADR Governing Implementation**: [ADR-NNNN: title]
**ADR Decision Summary**: [1-2 sentence summary of what the ADR decided]
**ADR Version**: [the ADR's `## Last Verified` date, else its `## Date`, else `unversioned`]
**Engine**: [name + version] | **Risk**: [LOW / MEDIUM / HIGH]
**Engine Notes**: [from ADR Engine Compatibility section — post-cutoff APIs, verification required]
**Control Manifest Rules (this layer)**:
- Required: [relevant required pattern]
- Forbidden: [relevant forbidden pattern]
- Guardrail: [relevant performance guardrail]
---
## Acceptance Criteria
*From GDD `design/gdd/[filename].md`, scoped to this story:*
- [ ] [criterion 1 — directly from GDD]
- [ ] [criterion 2]
- [ ] [performance criterion if applicable]
---
## Implementation Notes
*Derived from ADR-NNNN Implementation Guidelines:*
[Specific, actionable guidance from the ADR. Do not paraphrase in ways that
change meaning. This is what the programmer reads instead of the ADR.]
---
## Out of Scope
*Handled by neighbouring stories — do not implement here:*
- [Story NNN+1]: [what it handles]
---
## QA Test Cases
*Written by qa-lead at story creation. The developer implements against these — do not invent new test cases during implementation. (At tiers where the QL-STORY-READY gate is skipped — `minimal`, or `lean`/`solo` review mode — no qa-lead specs exist; see the `minimal` mapping note above.)*
**[For Logic / Integration stories — automated test specs]:**
- **AC-1**: [criterion text]
- Given: [precondition]
- When: [action]
- Then: [assertion]
- Edge cases: [boundary values / failure states]
**[For Visual/Feel / UI stories — manual verification steps]:**
- **AC-1**: [criterion text]
- Setup: [how to reach the state]
- Verify: [what to look for]
- Pass condition: [unambiguous pass description]
---
## Test Evidence
*Governed by `qa.level`: at `qa.level: minimal` tests are **waived** (advisory, never "must exist and pass"), but a Visual/Feel or UI story's retained screenshot is not.*
**Story Type**: [type]
**Required evidence**:
- Logic: `tests/unit/[system]/[story-slug]_test.[ext]` — must exist and pass (`/story-done` checks that it EXISTS; pass/fail is established by `/gate-check` and `/smoke-check`, both later)
- Integration: `tests/integration/[system]/[story-slug]_test.[ext]` OR playtest doc
- Visual/Feel: a retained screenshot in `production/qa/evidence/` + sign-off in `production/qa/evidence/[story-slug]-evidence.md`
- UI: a retained screenshot of each screen touched, in `production/qa/evidence/`
- Config/Data: smoke check pass (`production/qa/smoke-*.md`)
**Status**: [ ] Not yet created
---
## Dependencies
- Depends on: [Story NNN-1 must be DONE, or "None"]
- Unlocks: [Story NNN+1, or "None"]Also update production/epics/[epic-slug]/EPIC.md
At minimal with no EPIC.md yet, this is where the Step 2 draft is written, with the
table below. Otherwise replace the "Stories: Not yet created" line with a
populated table; if the table already exists (a return visit), append a row per
new story and leave the existing rows as they are:
## Stories
| # | Story | Type | Status | ADR |
|---|-------|------|--------|-----|
| 001 | [title] | Logic | Ready | ADR-NNNN |
| 002 | [title] | Integration | Ready | ADR-MMMM |Also update production/epics/index.md
Find the row in the index table matching this epic (by epic name or slug). Set its Stories column to [N] stories, where N is the epic's total story count after this run — the existing rows plus the ones just written, not only the new ones. If the index file does not exist, say so in one line — Epics index not updated: production/epics/index.md absent — and continue. Do not skip silently: the index is what a reader consults to learn which epics have stories, so an un-updated one keeps reporting Not yet created for work that now exists, and nothing else would ever reveal the gap.
7. After Writing
Use AskUserQuestion to close with context-aware next steps:
Check:
- Are there other epics in
production/epics/without stories yet? List them. - Is this the last epic? If so, include
/sprint-planas an option — except atworkflow: minimal, which has no sprints: the brief's build order is the plan.
Widget:
- Prompt: "[N] stories written to
production/epics/[epic-slug]/. What next?" - Options (include all that apply):
[A] Start implementing — run /dev-story [first-story-path]atminimal,/story-readiness [first-story-path]otherwise (Recommended)[B] Create stories for [next-epic-slug] — run /create-stories [slug](only if other epics have no stories yet)[C] Plan the sprint — run /sprint-plan new(only if all epics have stories, and never atminimal)[D] Stop here for this session
Note in output: "Work through stories in order — each story's Depends on: field tells you what must be DONE before you can start it."
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.
- Read before presenting — load all inputs silently before showing the story list
- Ask once — present all stories for the epic in one summary, not one at a time
- Warn on blocked stories — flag any story with a Proposed ADR before writing
- Ask before writing — get approval for the full story set before writing files
- No invention — acceptance criteria come from GDDs, implementation notes from ADRs, rules from the manifest
- Never start implementation — this skill stops at the story file level
After writing (or declining):
- Verdict: COMPLETE — [N] stories written to
production/epics/[epic-slug]/. Run/dev-story(atminimal) or/story-readiness→/dev-storyto begin implementation. - Verdict: BLOCKED — user declined. No story files written.
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.

