dawn840705/codex-code-studios/create-stories
Claude Code and agent skill by dawn840705/codex-code-studios
- community
Checking that the SKILL.md file is still in the repository.
Break a single epic into implementable story files. Reads the epic, its GDD, governing ADRs, and control manifest. Each story embeds its GDD requirement TR-ID, ADR guidance, acceptance criteria, story type, and test evidence path. Run after $create-epics for each epic.
Install
npx vskill@latest install dawn840705/codex-code-studios/create-storiesSKILL.md
The same SKILL.md was published earlier as dawn840705/codex-code-studios/create-stories.
Track check — this skill is game-framed. Resolveproduction/track.txt(or thesession'sPROJECT_TYPEline) before Phase 0.- `game` — run as written.- `product` (web / mobile / service) — substitute as you read: player becomes user,game becomes product, GDD becomes PRD (design/gdd/→product/prd/), engine becomesthe stack pinned in.codex/studio/technical-preferences.md. The epic's source document is its PRD (product/prd/prd-<feature>.md). TR-IDs come from the PRD's requirements table.- Unresolved — ask which track this is before doing anything. A greenfield projecthas no signal either way; do not infer one from the repository contents.
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]
1. Parse Argument
Extract --review [full|lean|solo] if present and store as the review mode override for this run. If not provided, read production/review-mode.txt (default full if missing). This resolved mode applies to all gate spawns in this skill — apply the check pattern from ../../docs/director-gates.md before every gate invocation.
$create-stories [epic-slug]— e.g.$create-stories combat$create-stories production/epics/combat/EPIC.md— full path also accepted- No argument — ask: "Which epic would you like to break into stories?"
Glob production/epics/*/EPIC.md and list available epics with their status.
2. Load Everything for This Epic
Read in full:
production/epics/[epic-slug]/EPIC.md— epic overview, governing ADRs, GDD requirements table- The epic's GDD (
design/gdd/[filename].md) — read all 8 sections, especially Acceptance Criteria, Formulas, and Edge Cases - All governing ADRs listed in the epic — read the Decision, Implementation Guidelines, Engine Compatibility, and Engine Notes sections
docs/architecture/control-manifest.md— extract rules for this epic's layer; note the Manifest Version date from the headerdocs/architecture/tr-registry.yaml— load all TR-IDs for this system
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:
"Epic references [ADR-NNNN: title] butdocs/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."
Do not proceed to Step 3 until all referenced ADR files are confirmed present.
Report: "Loaded epic [name], GDD [filename], [N] governing ADRs (all confirmed present), control manifest v[date]."
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: one story = one focused session (~2-4 hours). If a group of criteria would take longer, split into two stories.
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 — run$architecture-decisionto advance it"- 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 as a Codex subagent using gate QL-STORY-READY (../../docs/director-gates.md).
Pass: the full story list with acceptance criteria, story types, and TR-IDs; the epic's GDD acceptance criteria for reference.
Present the QA lead's assessment. For each story flagged as GAPS or INADEQUATE, revise the acceptance criteria before proceeding — stories with untestable criteria cannot be implemented correctly. Once all stories reach ADEQUATE, proceed.
After ADEQUATE: for every Logic and Integration story, ask the qa-lead to produce concrete test case specifications — one per acceptance criterion — in this format:
For Visual/Feel and UI stories, produce manual verification steps instead:
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:
Ask the user directly:
- Prompt: "May I write these [N] stories to
production/epics/[epic-slug]/?" - 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:
Also update production/epics/[epic-slug]/EPIC.md
Replace the "Stories: Not yet created" line with a populated table:
7. After Writing
Ask the user directly 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.
Widget:
- Prompt: "[N] stories written to
production/epics/[epic-slug]/. What next?" - Options (include all that apply):
[A] Start implementing — run $story-readiness [first-story-path](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(only if all epics have stories)[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
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/create-stories/SKILL.md
Popularity
- Repository stars
- 17
- Repository forks
- 2
- 7-day trend score
- 14
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/dawn840705/codex-code-studios/create-stories)