Write one atomic story per use case, scenarios embedded
Built for when you have a use-case list (or a persona, goals, and product context, if no use cases exist yet) and need INVEST-compliant user stories with embedded Given/When/Then acceptance criteria — atomic, traceable, and covering the edge case as well as the happy path.
- Category
- PRD, Specs & Documentation
- Skill file
- 52 lines
- Preview shown
- First 15 lines
- Included in
- AI PM OS ($99)
When to use Gherkin Stories
- 01When a PRD, Specs & Documentation task needs repeatable structure instead of an ad-hoc chat prompt.
- 02When you want guided output covering Step 1 — Take the use-case list and Step 2 — Write one atomic story per source.
Example input and output
Example prompt
/pm-os:gherkin-stories Apply this to the active product brief in this workspace.
Sample output excerpt
The doc holds: the numbered stories with their Gherkin scenarios and notes, and the traceability table.Inside the skill file (preview)
Showing the opening 15 lines of 52. The full instruction sequence, rubrics, and guardrails ship inside AI PM OS.
## Step 1 — Take the use-case list
Get the use-case list (actor, goal, scenario per case) from `/prd` Step 3, or — standalone — the persona, their goals, and product context.
Done when every use case or goal in scope is identified as a story source.
## Step 2 — Write one atomic story per source
For each source, write a summary and the As-a/I-want/So-that use case, with exactly one trigger and one outcome for the happy path. If a source needs more than one trigger or outcome to describe it, split it into separate stories instead of forcing them together.
Done when every story has exactly one trigger and one outcome, and no story required merging two distinct outcomes.
## Step 3 — Add Gherkin acceptance criteria
For each story, write the happy-path scenario as Given/When/Then, plus one edge-or-negative scenario (a risk, error, or permission case) also as Given/When/Then.Not ready for $99 yet?
Test 3 free Claude Code PM plugins first
I'll email the free plugin library link so you can try my PM craft skills on your computer before deciding.
Sent straight to your inbox. No newsletter signup.
When to reach for a sibling skill instead
- Write one atomic story per use case/pm-os:user-stories
Plain role-goal-benefit stories with no embedded scenarios
- Turn vague UI intent into testable criteria/pm-os:ui-acceptance-criteria
Translating stories into testable UI QA specs
- Write Cockburn-style use cases/pm-os:use-cases
Defining the use cases themselves