MCPInstall
donchitos avatar

create-stories

Breaks one epic into implementable stories with acceptance criteria. Use when the user wants stories for an epic or the next batch of work to build. Not for turning the whole design into epics.

Installs
686
Last 24h
+22
Trending rank
#5376
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/donchitos/claude-code-game-studios --skill create-stories
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads create-stories automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys review_mode,review_gate,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.

Ask with the question tool. Without one, list the options numbered and end your turn to wait. A skipped or dismissed question is not an answer: ask again in plain text.

Create Stories

A story is one implementable behaviour: small enough for the size story_granularity sets, self-contained, and traced to a requirement and the decision that governs it. Run this skill once per epic, in dependency order: Foundation epics first, then Core, Feature, Presentation.

Writes: production/epics/[epic-slug]/story-NNN-[slug].md, the epic's EPIC.md Stories table, and its row in production/epics/index.md. Next: /dev-story [story-path] at workflow: minimal; otherwise /story-readiness [story-path], then /dev-story.

Asks follow .claude/docs/automation-modes.md (collaborative always asks, guided asks on major choices, autonomous logs and goes on; automation_always_ask categories always ask).

Checklist (copy it and tick as you go):

- [ ] Phase 1: epic found, tier resolved
- [ ] Phase 2: inputs loaded, each ADR's status reported
- [ ] Phase 3-4: stories drafted, typed, Ready or Blocked
- [ ] Phase 5: QA lead review run, or its skip noted
- [ ] Phase 6: story list shown, one ask to write
- [ ] Phase 7: stories, EPIC.md and index.md written (or index absence said)
- [ ] Phase 8: next step asked, closing block printed

Phase 1: Epic and settings

Tier. workflow for the epic's system: the system_overrides row for the epic slug (its GDD system) if there is one, else the project value.

story_granularity sets each story's acceptance-criteria load. Group or split criteria to hit it:

story_granularityACs per storySize
coarse (default, rigor: minimal)5-10a whole feature, multi-day
balanced (rigor: standard)2-4one task, about one session
fine1one criterion; the story name restates it

docs.density sets the depth of each story's prose (context, implementation notes, ADR summary), never the AC count or the AC text: terse (default) = bullet notes, no preamble; balanced = a short context paragraph plus notes; thorough = full context, guidance and ADR rationale. The TR-ID, ADR Version and acceptance criteria are never trimmed.

Which epic. The text typed after the skill name, with any --review <mode> pair removed: an epic slug (combat) or a path (production/epics/combat/EPIC.md). With nothing typed, the epic the user's request names ("the loot epic") counts as named.

  • Named, but no EPIC.md there: at standard and full, stop: "No epic at production/epics/[slug]/EPIC.md. Run /create-epics to create it, or check the slug with ls production/epics/." Never decompose from a guess. At minimal, say this tier needs no /create-epics epic, take Phase 2's minimal branch, and name the slug it uses.
  • Blank, at minimal: take Phase 2's minimal branch.
  • Blank, at standard or full: list production/epics/*/EPIC.md with each status, then ask: "Which epic would you like to break into stories?" with one option per epic. No epics found: stop and say "No epics found under production/epics/. Run /create-epics layer: foundation first." Never ask a question with no options.

Phase 2: Load the inputs

minimal: build the epic from the brief

  1. No design/game-brief.md: stop. "There is no brief to build stories from yet: run /brainstorm first; it writes the one-page brief." When the code root already holds the game (10 or more source files), name /reverse-document design [code root] instead.
  2. Read design/game-brief.md in full (one page).
  3. The epic. <slug> is the brief's working title, slugified (mvp if it has none), or the epic the user named.
    • production/epics/<slug>/EPIC.md exists: it is the epic. Use its scope, still traced to the brief, and never rewrite it.
    • It does not: draft one, written in Phase 7 only after the Phase 6 ask names it. Goal = the brief's one-sentence pitch; scope = its MVP feature list; order = its Build order. Keep it terse.
    • Stories already in the folder (a return visit): never rewrite an existing story-*.md. Add stories only for brief items they do not cover, or new ones the user names, and number on from the highest existing story-NNN.
  4. One story per MVP feature, in Build order, each traced to the brief. No story is blocked on ADR grounds: this tier has none.

Read no GDD, control manifest, TR registry or ADR at minimal. Go to Phase 3.

standard and full: the epic and what governs it

  1. The epic: production/epics/[epic-slug]/EPIC.md in full (its layer, GDD, governing ADRs, and the GDD Requirements table with TR-IDs).
  2. The GDD: its sections by heading, never the whole file: bash .claude/scripts/md-section.sh extract design/gdd/[file].md "Acceptance Criteria", and the same for Formulas, Edge Cases and Detailed Design (exit 3: try Detailed Rules, the design standard's name for the same section); at full the other required sections too (list shows the headings).
  3. The control manifest: the epic's layer only, and the version: bash .claude/scripts/md-section.sh extract docs/architecture/control-manifest.md "[Layer] Layer Rules", plus its Manifest Version line.
  4. The TR registry: this system's entries only: in docs/architecture/tr-registry.yaml, the lines matching system: <slug>\s*$, with each entry's id above and its text below. The anchor keeps combat from matching combat-ai; \s* takes a Windows line ending.
  5. The ADRs, every one the epic names (governing, or in its requirements table, Proposed ones included), in one call:
    bash .claude/scripts/adr-status.sh ADR-0001 ADR-0003 ...
    
    Each row gives the status, layer, version (the story's ADR Version stamp), depends_on, and missing sections. Then read only Summary, Decision (its Implementation Guidelines inside) and Engine Compatibility of each, with md-section.sh extract. Engine Notes is a story field taken from Engine Compatibility, not an ADR section. An ADR with none of these sections predates the template: read it once, and flag it for /architecture-decision retrofit [file].

A named ADR with no file (NOT_FOUND):

  • full: stop before decomposing any story.
  • standard: stop only when it is critical (Foundation layer); otherwise warn, go on, and write the stories it governs as Blocked until it exists.
  • On stopping: "Epic references [ADR-NNNN: title] but no file for it was found in docs/architecture/. Check the epic's Governing ADRs list, or run /architecture-decision to create it. Cannot create stories until the referenced ADR files exist."

Report before drafting, with the real state, every ADR on its own with its status:

Loaded: epic [name] · GDD [file] · manifest v[date], [layer] rules
ADRs: ADR-0001 Accepted · ADR-0002 Accepted · ADR-0003 Accepted · ADR-0004 Proposed · [ADR-NNNN missing]

Never say "all present" when one is missing, or name a manifest version when there is none.

Phase 3: Type each story

TypeWhen its criteria reference
Logicformulas, thresholds, state transitions, AI decisions, calculations
Integrationtwo or more systems, signals across boundaries, save/load round-trips
Visual/Feelanimation, VFX, "feels responsive", timing, screen shake, audio sync
UImenus, HUD, buttons, screens, dialogue boxes, tooltips
Config/Databalance values and data files only, no new logic

A mixed story takes the type with the highest implementation risk. The type sets the evidence /story-done needs.

Phase 4: Draft the stories

Group the requirements that need the same core implementation into one story, at the story_granularity load. Order: foundation behaviour first, edge cases later, UI last. For each story:

  • Requirement: the TR-ID from the registry, matched through the epic's GDD Requirements table. Only when no entry matches, write TR-[system]-??? and say so.
  • ADR: the one that governs how to build it (the requirements table names it).
    • Accepted: embed it.
    • Proposed: Status: Blocked, with "BLOCKED: ADR-NNNN is Proposed — accept it with /architecture-decision accept ADR-NNNN once decided".
    • Deprecated or Superseded: Status: Blocked, with "BLOCKED: ADR-NNNN is [status] — point the story at [successor] (edit its ADR field; /create-stories never rewrites an existing story) before implementing".
    • An Accepted ADR whose depends_on names an ADR that is not Accepted: Blocked the same way, naming that ADR.
    • Several apply: list them all, the most direct first.
    • None applies: ADR: N/A — [reason], e.g. "pure data configuration". Never blank: blank means unchecked.
  • ADR Version: the story's ADR Version is the ADR's ## Last Verified date, else its ## Date, else unversioned (the version column). /dev-story trusts the story's ADR summary while this still matches the ADR.
  • Engine risk: from the ADR's Engine Compatibility (its knowledge risk).
  • Estimate: propose a t-shirt size from the criteria and the files the story touches: S (a few hours), M (about a day) or L (several days). It is a proposal: Phase 6 shows it and the user can change it. /story-readiness fails a story whose Estimate is still the template's bracket, so never leave it.

Phase 5: QA lead review

Read the review_gate line above. skill-gates=skip (solo or lean): no review; note "QL-STORY-READY skipped — [Solo | Lean] mode" in the Phase 6 list and the closing block. skill-gates=run: read references/qa-lead-gate.md and .claude/docs/director-gates.md, and run it now, before the Phase 6 ask. On a skip, do not load it.

Phase 6: Show the stories, ask once

## Stories for Epic: [name]
ADRs: ADR-0001 Accepted · ADR-0002 Accepted · ADR-0004 Proposed   (every ADR, from Phase 2)

Story 001: [title] — Logic — ADR-0001 — Ready — Estimate M
  Covers: TR-[system]-001 ([one-line requirement])
  Test required: tests/unit/[system]/[slug]_test.[ext]

Story 002: [title] — Integration — ADR-0004 — BLOCKED (ADR-0004 is Proposed) — Estimate L
  Covers: TR-[system]-002, TR-[system]-003
  Test required: tests/integration/[system]/[slug]_test.[ext]

Story 003: [title] — Visual/Feel — ADR-0001 — Ready — Estimate S
  Covers: TR-[system]-004
  Evidence required: retained screenshot + sign-off in production/qa/evidence/[slug]-evidence.md

[N stories: N Logic, N Integration, N Visual/Feel, N UI, N Config/Data; N Blocked]
QL-STORY-READY: [skipped — Solo mode | its verdicts]

At minimal, each line traces to Brief MVP feature N, there is no ADRs line, and there is one story per MVP feature: no extra stories for brief items outside the MVP list. Then ask: "May I write these [N] stories to production/epics/[epic-slug]/, and [create | update] production/epics/[epic-slug]/EPIC.md and update production/epics/index.md?" Options: Yes, write all [N] / Not yet, I want to adjust first; an adjustment can change any estimate. Name every file Phase 7 touches: create EPIC.md only when it does not exist, and leave index.md out when it does not exist. Write nothing before the yes.

Phase 7: Write

The story files

Each story is production/epics/[epic-slug]/story-[NNN]-[slug].md, laid out as .claude/docs/templates/story.md. Never reuse a story number. Write each file as a file, never through a shell command: a shell write skips the project's write checks.

At minimal there is no GDD, ADR, TR registry or manifest. Fill these fields exactly:

FieldValue at minimal
GDDdesign/game-brief.md
RequirementBrief MVP feature N, never a TR-ID
ADR Governing Implementation, ADR Decision Summary, ADR VersionN/A (minimal — no ADRs)
Manifest Version, Control Manifest RulesN/A (minimal — no control manifest)
Engineengine.name + engine.version
Riskthe level docs/engine-reference/<engine>/VERSION.md gives the pinned version (its timeline row, or its overall rating). No file or no level: NOT ASSESSED (no VERSION.md risk rating), never a guess. /dev-story reads NOT ASSESSED as HIGH
Engine Notesnone (no ADR engine-compatibility analysis at minimal)
Acceptance Criteriafrom the brief's Player goal & fail state and the MVP feature, made concrete and testable; never invented from a bare bullet

At every tier:

  • QA Test Cases: when the review was skipped, write *N/A — no qa-lead specs at this tier; implement against the Acceptance Criteria above*. Never improvise test cases.
  • Test Evidence: qa.level governs it. At qa.level: minimal tests are waived (advisory), but a Visual/Feel or UI story's retained screenshot is not.
  • Estimate: the size from Phase 6, with any change the user made.
  • Dependencies: name each story this one needs by its path.
  • Files: the code and test files the story is planned to create or change, under the code root and test root. /dev-story replaces them with the real list.

EPIC.md

At minimal with none yet, write the Phase 2 draft with the table below. Otherwise replace its "Stories: Not yet created" line with the table, or on a return visit append one row per new story and leave the rest of the file as it is:

## Stories

| # | Story | Type | Status | ADR |
|---|-------|------|--------|-----|
| 001 | [title] | Logic | Ready | ADR-0001 |
| 002 | [title] | Integration | Blocked | ADR-0004 |

production/epics/index.md

Set the epic's Stories cell to [N] stories, the epic's total after this run. When the file does not exist, say so: Epics index not updated: production/epics/index.md absent.

Phase 8: Close

If other epics in production/epics/ have no stories, list them. Then ask: "[N] stories written to production/epics/[epic-slug]/. What next?" Options, those that apply:

  • Start implementing: /dev-story [first-story-path] at minimal, /story-readiness [first-story-path] otherwise (recommended)
  • Create stories for [next epic]: /create-stories [slug] (only when an epic has none)
  • Plan the sprint: /sprint-plan new (only when every epic has stories; never at minimal, where the brief's build order is the plan)
  • Stop here for this session

Never start implementation or write code: this skill stops at the story files. Acceptance criteria come from the GDD (the brief at minimal), implementation notes from the ADRs, rules from the manifest; none are invented.

The run's last reply ends with this block, after the question above is answered (repeat it if you showed it earlier):

Verdict: COMPLETE — [N] stories written to production/epics/[epic-slug]/ ([N] Ready, [N] Blocked)
Review: [QL-STORY-READY skipped — Solo mode | skipped — Lean mode | its verdicts]
Index: [production/epics/index.md updated | Epics index not updated: production/epics/index.md absent]
Next step: [/dev-story [first-story-path] | /story-readiness [first-story-path]]

When the user declines the write: Verdict: BLOCKED — user declined. No story files written.

FAQ

What does the create-stories skill do?

Breaks one epic into implementable stories with acceptance criteria. Use when the user wants stories for an epic or the next batch of work to build. Not for turning the whole design into epics.

How do I install create-stories?

Run npx skills add https://github.com/donchitos/claude-code-game-studios --skill create-stories in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/create-stories/ (personal) or .claude/skills/create-stories/ (project).

Which AI agents can use create-stories?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is create-stories safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains create-stories?

It is published by donchitos in donchitos/claude-code-game-studios. It has 686 recorded installs.

More from donchitos/claude-code-game-studios

View all →
donchitos avatar

balance-check

donchitos/claude-code-game-studios

Find balance outliers, broken progressions, degenerate strategies, economy imbalances in formulas and data. 'Check game balance'.

Media & Creative1.1K installs
donchitos avatar

playtest-report

donchitos/claude-code-game-studios

Structured playtest report template, or turn existing playtest notes into structured feedback.

Docs & Writing906 installs
donchitos avatar

brainstorm

donchitos/claude-code-game-studios

Guides the user through finding and choosing a game concept. Use when the user wants game ideas, a new concept, a game jam idea, or to explore other directions, including dropping the current idea and starting over.

donchitos avatar

art-bible

donchitos/claude-code-game-studios

Author the Art Bible — visual identity gating asset production. Run before /map-systems.

Media & Creative850 installs
donchitos avatar

design-review

donchitos/claude-code-game-studios

Reviews one design document for completeness, internal consistency, implementability, and design standards. Before handing to programmers.

donchitos avatar

team-narrative

donchitos/claude-code-game-studios

Orchestrate the narrative team — narrative-director, writer, world-builder, level-designer — for story, world lore, narrative-driven levels.

Frontend & Design816 installs

Popular media & creative skills

View category →
heygen-com avatar

hyperframes

heygen-com/hyperframes

Read first to make, edit, animate or render any video with HyperFrames (HTML rendered to video), including launch films, explainers, music videos, charts, maps, vertical clips, title cards, captions and overlays. Holds the render contract, the work loop and what each kind of video needs.

Media & Creative1.7M installs
heygen-com avatar

media-use

heygen-com/hyperframes

Get or make any media for a HyperFrames video - music, sound effects, images, icons, logos, voiceover, avatar and generated video, transcripts, cutouts, colour grades and looks - with HeyGen or free local tools, and mix placed audio. Also for footage that looks dark, flat or dull, or should be stylized or hidden.

Media & Creative1.6M installs
heygen-com avatar

hyperframes-registry

heygen-com/hyperframes

About 450 ready-made HyperFrames blocks and components installed as editable source - transitions, overlays, titles, kinetic type, captions, charts, map overlays, 3D, camera moves. Use it before hand-building any named visual (CRT scanlines, glitch, film grain, a chart); also for hyperframes add and catalog.

Media & Creative1.4M installs
101-skills avatar

ai-video-generation

101-skills/superpowers

Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0, HappyHorse 1.0, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, reference-to-video, video editing, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text to video, image to video, veo, animate image, video from image, ai animation, video generator, generate video, t2v, i2v, ai video maker, create video with ai, runway alternative, pika alternative, sora alternative, kling alternative, seedance, happyhorse

Media & Creative1.1M installs
101-skills avatar

ai-image-generation

101-skills/superpowers

Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FLUX.2 Klein LoRA, Gemini 3 Pro Image, Grok Imagine, Seedream 4.5, Reve, ImagineArt. Capabilities: text-to-image, image-to-image, inpainting, LoRA, image editing, upscaling, text rendering. Use for: AI art, product mockups, concept art, social media graphics, marketing visuals, illustrations. Triggers: flux, image generation, ai image, text to image, stable diffusion, generate image, ai art, midjourney alternative, dall-e alternative, text2img, t2i, image generator, ai picture, create image with ai, generative ai, ai illustration, grok image, gemini image, gpt image, openai image, chatgpt image

Media & Creative1.1M installs
101-skills avatar

ai-avatar-video

101-skills/superpowers

Create AI avatar and talking head videos via inference.sh CLI. Recommended: P-Video-Avatar (fastest, cheapest, built-in TTS). Also: OmniHuman, Fabric, PixVerse. Audio: Inworld TTS-2 (100+ languages, emotion steering for characters), ElevenLabs, Kokoro. Capabilities: audio-driven avatars, text-to-avatar, lipsync videos, talking head generation, virtual presenters, UGC content. Use for: AI presenters, explainer videos, virtual influencers, dubbing, marketing videos, UGC ads, gaming avatars, NPC dialogue. Triggers: ai avatar, talking head, lipsync, avatar video, virtual presenter, ai spokesperson, audio driven video, heygen alternative, synthesia alternative, talking avatar, lip sync, video avatar, ai presenter, digital human, ugc, ugc video, ugc ad, avatar ugc

Media & Creative1.1M installs