agentleFS
ramanbambaramanbamba/10x-pm/skills/story-splitter/SKILL.md

story-splitter

Skill1 starsChanged 5 months agoMITView on GitHub

Split an epic, feature, or PRD into user stories with acceptance criteria, sized for iterative delivery. Use when the user says "split this epic", "break this down into stories", "write user stories", "acceptance criteria for", or shares a spec that needs to become a sprint-ready backlog.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask which story the team should ship *first* to learn the most — splitting is sequencing, not just decomposition.

    line 13
  2. Very specific:

    Ask about acceptance criteria format preference: Given/When/Then (Gherkin) or checklist.

    line 14
  3. Distinctive:

    Never split by architectural layer ("build the API", "build the UI") — those aren't shippable.

    line 25
  4. Distinctive:

    Story 1 is end-to-end usable: If nothing ships value until story 5, the split failed.

    line 58
  5. Distinctive:

    Each story ≤ a few days of work: When in doubt, split again.

    line 62

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Story Splitter

Split epics so every story ships a testable slice of user value — vertical slices through the stack, never horizontal layers.

Before splitting

  1. Confirm the source (epic, PRD, or verbal description) and read it fully.
  2. Ask which story the team should ship first to learn the most — splitting is sequencing, not just decomposition.
  3. Ask about acceptance criteria format preference: Given/When/Then (Gherkin) or checklist. Default to Gherkin for behavior-heavy stories, checklist for content/config work.

Workflow

  1. Identify the walking skeleton — the thinnest end-to-end path through the feature that a real user could use. That's story #1, always.
  2. Split the rest using these patterns (in order of preference):
    • By workflow step (browse → select → pay → confirm)
    • By business-rule variation (domestic first, international later)
    • By data variation (one file type first)
    • By operations (CRUD: create first, edit/delete later)
    • By quality dimension (works first, fast later — only when explicit) Never split by architectural layer ("build the API", "build the UI") — those aren't shippable.
  3. INVEST-check each story: Independent, Negotiable, Valuable, Estimable, Small (≤ a few days), Testable. Rewrite violators.
  4. Write acceptance criteria covering the happy path, the most likely failure, and the empty/edge state. 3–7 criteria per story; more means the story is too big.
  5. Flag dependencies and unknowns — mark stories blocked by decisions or external teams, and propose a spike (time-boxed, question-shaped) where genuine unknowns exist.

Output format

# Story map — [epic name]
**Source:** [doc] · **First slice rationale:** [why story 1 is first]

## Sequence
[Ordered list: story titles with size guess (S/M/L) and dependency flags]

## Stories
### 1. [Title — verb phrase of user value]
**As a** [user], **I want** [action] **so that** [outcome].
**Acceptance criteria:**
- Given [context], when [action], then [result]
- Given [failure context], when [action], then [graceful behavior]
- Given [empty/edge state], then [behavior]
**Out of scope:** [what this story explicitly defers]
**Depends on:** [story #s or external, or "—"]

## Spikes
[Question · time-box · what decision it unblocks]

## Deferred
[Slices consciously pushed past v1, so they're a decision, not an accident]

Quality bar — self-check

  • Story 1 is end-to-end usable. If nothing ships value until story 5, the split failed.
  • No layer stories. "Build the database schema" is a task inside a story, not a story.
  • Every story's "so that" names a real outcome — if you can't fill it honestly, question the story.
  • Failure and empty states have criteria, not just happy paths.
  • Each story ≤ a few days of work. When in doubt, split again.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.