create-stories
Skill4 starsChanged 46 days agoMITView on GitHub
Slices a feature spec into implementable vertical-slice stories (contract → backend → frontend/game → tests) with acceptance criteria mapped to tests, size, layer and ADR links, in production/stories/F-NNN/. Run after /feature-spec and before /sprint-plan, or for 'break this feature into stories', 'create stories for F-NNN', 'what are the tasks'.
10 other projects use a version of this.
Adopted by
Most recently taken up by
- striderZA/OpenCodeGameStudiostheir own version, first seen Nov 4, 2026
- Donchitos/Claude-Code-Game-Studiostheir own version, first seen Oct 19, 2026
- venus2099/codex-game-studiostheir own version, first seen Oct 17, 2026
- ShiningPlague/shiningplague-studiotheir own version, first seen Oct 11, 2026
- HunLuanZhiZhu/Game-Studios-Plugintheir own version, first seen Oct 5, 2026
- dawn840705/claude-code-studiostheir own version, first seen Aug 28, 2026
Used with
Projects with it also use vertical-slice.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
hongyuancSkillvertical-slice
Build and evaluate a production-quality vertical slice before advancing from Pre-Production to Production.
Also in 4 projects that use this
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- Donchitos/Claude-Code-Game-Studios★ 27ksame name
- striderZA/OpenCodeGameStudios★ 118same name
- cenconq25/claude-code-app-studio★ 40same name
- dawn840705/codex-code-studios★ 17same name
- lilangMax/ClaudeCodeGameStudios★ 8same name
- hongyuanc/codex-game-studios★ 5same name
- dawn840705/claude-code-studios★ 1same name
- HunLuanZhiZhu/Game-Studios-Plugin★ 1same name
- venus2099/codex-game-studios★ 1same name
- ShiningPlague/shiningplague-studio★ 0same 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 repository52 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- testing/CLAUDE.mdCLAUDE.md
- a11y-auditSkill
- adoptSkill
- api-contractSkill
- architecture-decisionSkill
- architecture-reviewSkill
- backlogSkill
- brainstormSkill
- changelogSkill
- code-reviewSkill
- collaboration-protocolSkill
- data-modelSkill
- dependency-auditSkill
- deploySkill
- design-systemSkill
- dev-storySkill
- docsSkill
- feature-specSkill
- game-conceptSkill
- hardenSkill
- helpSkill
- hotfixSkill
- impactSkill
- incidentSkill
- initSkill
- migrateSkill
- pentestSkill
- perf-auditSkill
- product-specSkill
- qa-planSkill
- refactorSkill
- release-checklistSkill
- retrospectiveSkill
- security-auditSkill
- setup-stackSkill
- skill-improveSkill
- skill-testSkill
- sprint-planSkill
- sprint-statusSkill
- stack-updateSkill
- startSkill
- story-doneSkill
- team-featureSkill
- team-gameSkill
- team-releaseSkill
- team-securitySkill
- tech-debtSkill
- test-setupSkill
- threat-modelSkill
- updateSkill
- ux-specSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Findings: read production/findings.md.
- Distinctive: line 26
Platform stories: Add each one whose trigger holds.
- Very specific: line 38
After the "write" answer: touch .claude/.write-consent (rule 7 — the consent-guard hook checks the marker).
- Distinctive: line 44
No prose ordering paragraph below the list.
- Distinctive: line 53
When HEAD is a story branch, name it and offer: switch to the default branch and commit there (Recommended — a pipeline-wide document) · …
“Common” is measured: kept by at least 6 in 10 of the 10 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
Create Stories
Reply in the project conversation language (CLAUDE.md → Language); code, identifiers, paths and commit messages stay in English.
Templates (.claude/docs/templates/): story.md, roadmap.md, deploy-runbook.md, findings.md. Files are written only after "May I write?" (Phase 4). In the commands below, <hooks> is .claude/hooks/ in copy mode and ${CLAUDE_PLUGIN_ROOT}/hooks/ in plugin mode.
This skill spawns no subagent: the criteria it slices were reviewed with the feature spec (/feature-spec Phase 3) and the test level per criterion is checked again by /qa-plan; slicing is the parent's own work, so Task is not among its tools.
Phase 1: Context
- The feature spec: the argument (
F-NNN→docs/specs/features/F-NNN-*.md, or a path); none → ask. Acceptance criteria are mandatory. A spec without them → stop withBLOCKED (no acceptance criteria — complete the spec with /feature-spec F-NNN)and write nothing. - Read: the API contract, the data model, ADRs, the test strategy, and the existing stories (for numbering).
- Findings: read
production/findings.md. Every open BLOCKING finding that touches this feature (area, file, API operation) becomes an acceptance criterion of the affected story or a dedicated story. Never skip one silently; the matrix in Phase 3 showsfinding → story. - Deploy target:
technical-preferences.md→ Deploy target, for the platform stories in Phase 2 step 3.
Phase 2: Slicing
- Slice into vertical slices (a working end-to-end path) before layers. Every story is ≤ M (≈ one day). Typical order: contract+codegen → migration+repository → service/resolvers → UI → e2e. Games: simulation → rendering → UI → saves.
- Per story: goal, tasks, criteria (from the feature spec, none lost — the "criterion → story" matrix proves it), test level per criterion, security/accessibility, ADR, size, dependencies on other stories.
- Platform stories. Add each one whose trigger holds; add none when the evidence already exists in the repository.
- Deploy artefacts — technical-preferences has a Deploy target and the repository has no
docs/ops/deploy.md(or no Dockerfile / production compose / release workflow). The first feature gets a story "Deploy artefacts": Dockerfile(s),compose.prod.yaml, release workflow,/healthz,docs/ops/deploy.mdfromtemplates/deploy-runbook.md. Criteria: "image builds in CI", "stack starts with healthchecks", "runbook checklist complete". Without it the feature is not deployable and/release-checklistwill fail later. - Observability — the same trigger (a Deploy target set) and no evidence of it in the repository (no
/healthzroute, no structured logging, no alert rule / uptime check in compose, workflows or the runbook). The first feature also gets "Observability" (devops-engineer):/healthzwith dependency checks, structured JSON logs with request ids, error-rate and disk-space alerts, the runbook's "where to look" section. Criteria: "healthz reports each dependency", "a 5xx burst raises the alert on staging", "the runbook names the log location". - Backup & restore drill — the data model has tables (or the compose file a database) and
docs/architecture/data-model.md§7 has no tested-restore date. Story "Backup & restore drill": scheduled backup, off-host copy, a restore performed on staging with the date recorded in data-model.md §7 and the runbook. Criteria: "backup job runs on schedule", "restore on staging completes and the smoke journey passes", "restore date recorded"./release-checklistasks for that date on the first release. - Account deletion — the data model classifies personal data (§6) and no story or code implements deletion/anonymisation. Story "Data deletion" with the criteria "a deletion request removes or anonymises every PII field listed in §6", "backups older than the retention period expire", "logs carry no PII after deletion". The threat model's export/deletion surface is its security section.
- Deploy artefacts — technical-preferences has a Deploy target and the repository has no
Phase 3: Agreement
- Render in the chat message, as tables (rule 7): the story list (ID, title, size, dependencies) and the coverage matrix (
criterion → story,finding → story). - Take the user's edits and show the changed rows before moving on.
Phase 4: Write
- Gate, one
AskUserQuestion: "May I writeproduction/stories/F-NNN/S-NNN-<slug>.md(N files), add lines toproduction/roadmap.mdand setstory: S-NNNon the findings covered inproduction/findings.md?" — write (Recommended) · show the draft/diff first · not now. - After the "write" answer:
touch .claude/.write-consent(rule 7 — the consent-guard hook checks the marker). - Story files from
story.md. - Roadmap, per
templates/roadmap.md:- One line per story:
- [ ] [S-NNN](stories/F-NNN/S-NNN-<slug>.md) · Title ⛔ [S-NNN](path), [S-NNN](path) ~Nh 🏷 layer. - The ID is always an inline link, file-relative to
production/roadmap.mditself. Never a reference-style definition under a## Linkssection: those stop resolving once other sections are folded into<details>. - Dependencies, estimate and layer inline, in the legend's order.
- No prose ordering paragraph below the list; the order is derivable from ⛔.
- Sprints are subheadings; the new stories go under Backlog.
- Refresh the
Updated:line. - In the roadmap's
## Docs→ production/stories/ block, add a row per new story (⬜, the story link, a one-line summary,Ready) and refresh the block's<summary>count.
- One line per story:
- Findings: set
story: S-NNNon each finding the stories cover.
Phase 5: Commit (documents lane)
Right after the write, one commit gate (rule 7 (4), .claude/docs/git-workflow.md § Documents): one AskUserQuestion offering docs: stories S-NNN..S-MMM, staging exactly the written files — the story files, the roadmap lines and the story: fields set in production/findings.md. Record the gate before asking — <hooks>session-state.sh set Gate "/create-stories Phase 5: commit?" — and clear it after the answer (<hooks>session-state.sh set Gate "—").
- On the default branch when no story work is in progress.
- When HEAD is a story branch, name it and offer: switch to the default branch and commit there (Recommended — a pipeline-wide document) · commit here (the document belongs to this story) · leave uncommitted.
- Code, configs, workflows and scripts never ride the
docs:commit.
Nothing is committed without the answer.
Verdict: READY (N stories).
Next step — one AskUserQuestion: /sprint-plan (Recommended) · /dev-story S-NNN directly · revise the stories. When docs/architecture/test-strategy.md or docs/architecture/threat-model.md is missing, the Recommended option becomes the missing command (/test-setup / /threat-model) and /dev-story is not offered: the stories are ready, but development is not.
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.

