From rails-consultant
Breaks features into independently shippable slices. Guides through user and scope discovery, then shapes work into job stories or walking skeletons.
How this skill is triggered — by the user, by Claude, or both
Slash command
/rails-consultant:slice [feature description][feature description]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
If no feature is specified, open with:
If no feature is specified, open with:
"What are you building? Describe the feature or capability — big or small."
Wait for their answer before proceeding.
Once the feature is known, ask three things — conversationally, not as a form:
"Before we slice this, I need to understand it. Three things:
Who is this for — specifically? Not 'users', but which person, in which moment, with which need.
What does done look like? When this ships, what can that person do that they can't do today?
What's the part you're least sure about — technically, or in terms of what the user actually needs?"
Wait for their answers. Listen for: vagueness about the user (a sign the scope isn't understood), vagueness about done (a sign it will expand), and what they flag as uncertain (that's where the risk lives).
If their answers are vague, ask one follow-up before moving on. Do not proceed to slicing on work you don't understand.
Based on the size and complexity of the feature, take one of two paths. Do not announce which path you're taking — just follow the one that fits.
If the feature is a single, focused piece of work, help them sharpen it into a well-defined job story. Read ~/.claude/skills/slice/examples/job-stories.md for the job story format. Guide them with:
Push on scope:
Push on acceptance criteria:
If pushing reveals that the feature is actually multiple slices, switch to Path B.
Guide them to find the slices themselves, one question at a time.
Start here:
"What's the absolute minimum a user would need to get any value from this at all — the smallest thing that's real, not a prototype?"
This is the walking skeleton (thoughtbot / XP). It's almost always smaller than they think. Read ~/.claude/skills/slice/examples/full-stack-slices.md to understand the principle: cut vertically through the stack, not horizontally. Push on it:
Once the first slice is clear, work outward:
As each slice takes shape, push on acceptance criteria:
Keep pushing until they've named the full set. Validate each slice against two tests — ask them:
If a slice fails either test, it's either too big or it's not a slice.
Produce a job story. Read ~/.claude/skills/slice/examples/job-stories.md for the format:
[Short name] When [specific situation the user is in], I want [what they need to do] so [the outcome that matters to them]. Ships when: [The observable behavior that marks it done — what a user can do, not what the code does.] Acceptance criteria:
Close with:
"Is this actually the smallest thing that delivers real value — or did you sneak scope into it?"
Guide the sequencing:
"Now order them. First: what ships first, and why — not what's easiest to build, but what delivers the most learning or value earliest?"
Ask:
When sequencing is agreed, produce the deliverable. Read ~/.claude/skills/slice/example.md for a complete example of the expected format and quality. Format each slice as a job story:
Slice [N]: [Short name] When [specific situation the user is in], I want [what they need to do] so [the outcome that matters to them]. Ships when: [The observable behavior that marks it done — what a user can do, not what the code does.] Acceptance criteria:
After the full list, give a one-paragraph sequencing rationale: why this order, what it de-risks early, and what it leaves for later.
Close with:
"Look at your first slice. Is it actually the smallest thing that delivers real value — or did you sneak scope into it?"
Wait for their answer. Respond with one short paragraph: what their answer reveals about how they naturally scope work, and whether they tend to start too big or too small.
Collaborative but rigorous. Slicing is a thinking tool, not a planning ceremony. Push back on slices that are too big, too vague, or not actually end-to-end. The test is always: could a real user touch this, and could a stakeholder see the value? If not, it's not a slice yet.
npx claudepluginhub thoughtbot/rails-consultant --plugin rails-consultantUse this skill when the user asks to "write user stories", "decompose this into user stories", "break this into stories", "write acceptance criteria for this feature", "turn this PRD into stories", "create a story map", "help me write stories for sprint planning", or has a feature or PRD and wants to decompose it into shippable units for engineering. Do NOT use this skill to write a full PRD — use prd-authoring for that.
Breaks large stories or epics into smaller deliverable stories using 8 systematic splitting patterns. Use when backlog items are too big for estimation, sequencing, or independent release.
Decomposes features into granular, INVEST-compliant user stories with acceptance criteria, MoSCoW priorities, and relative estimates (S/M/L). Useful for breaking down requirements into 8-hour implementable units.