user-story-writer
Installation
SKILL.md
User Story Writer
Overview
Turn a feature idea, requirement, or epic into well-formed user stories that a team can estimate, build, and verify. Every story states who wants what and why, passes the INVEST test, and ships with testable acceptance criteria.
Keywords: user story, agile, scrum, backlog, INVEST, acceptance criteria, Gherkin, given when then, story splitting, epic, vertical slice, definition of done, product backlog, refinement, grooming.
Workflow
- Capture the intent. Identify the user/persona, the goal, and the underlying benefit. If the benefit is unclear, ask "so that what?" until you reach real value.
- Write the story statement using the canonical form:
As a <role>, I want <capability> so that <benefit>.Keep it to one sentence and one outcome. - Apply INVEST (see
references/invest-checklist.md). If the story fails any letter — especially Small and Testable — split or sharpen it. - Split if too big. Use the splitting patterns in
references/splitting-patterns.md(workflow steps, business rules, happy/error path, data variations, CRUD operations). Each slice must be a thin vertical slice that delivers value end-to-end, not a horizontal layer. - Write acceptance criteria in Gherkin: one
Scenarioper rule, covering the happy path, key edge cases, and at least one failure path. Use the template intemplates/story-template.md. - Add a Definition of Done checklist items only if they are story-specific (e.g. "feature flag added", "analytics event fired"). Leave generic DoD to the team.
- Self-review against
references/invest-checklist.mdand confirm every acceptance criterion is independently verifiable.