Skip to content
Back to skills

Writing User Stories

ASecurity

Use when writing, splitting or refining user stories and their acceptance criteria for a backlog. Triggers on user story, 'As a... I want... so that...', INVEST, acceptance criteria, story splitting, SPIDR, vertical slice, walking skeleton, 3 Cs, backlog refinement or grooming, or a story too big for one sprint, even when the user doesn't say 'user story'.

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 30, 2026
ai-agentsgoapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 11 files and shows the line behind each finding

Scanned November 30, 2026

npx -y skills add xonovex/platform --skill writing-user-stories --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Writing User Stories?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Writing User Stories
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/xonovex-writing-user-stories/badge)](https://www.skillsdirectory.com/skills/xonovex-writing-user-stories)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: writing-user-stories
description: "Use when writing, splitting or refining user stories and their acceptance criteria for a backlog. Triggers on user story, 'As a... I want... so that...', INVEST, acceptance criteria, story splitting, SPIDR, vertical slice, walking skeleton, 3 Cs, backlog refinement or grooming, or a story too big for one sprint, even when the user doesn't say 'user story'."
---

# User Stories

A user story is a placeholder for a conversation about user value, not a specification. Write it small, talk it through, confirm it with acceptance criteria, and slice it vertically so every story ships usable value end to end.

## Essentials

- **Check every story against INVEST** - Independent, Negotiable, Valuable, Estimable, Small, Testable, see [references/invest-and-smart.md](references/invest-and-smart.md)
- **Treat the story as the 3 Cs** - a Card invites a Conversation, confirmed by a Confirmation test, see [references/three-cs.md](references/three-cs.md)
- **Write who / what / why, then acceptance criteria** - "As a / I want / so that" plus acceptance criteria, see [references/template-and-acceptance-criteria.md](references/template-and-acceptance-criteria.md)
- **Split a too-big story vertically** - SPIDR for a quick set, the splitting flowchart for the full decision tree, see [references/splitting-spidr.md](references/splitting-spidr.md) and [references/splitting-flowchart.md](references/splitting-flowchart.md)
- **Refine the backlog continuously** - break items down until each is doable within one sprint and ready, see [references/backlog-refinement.md](references/backlog-refinement.md)

## Gotchas

- A walking skeleton is **production code with tests** linking the main components end to end, not a throwaway prototype or a research spike.
- Never split horizontally ("build the DB", "build the API", "build the UI"); those are tasks/components. Every story is a thin **vertical** slice.
- A Spike yields **knowledge, not shippable value**, so it is a last-resort move, not itself a vertically-sliced story.
- The template is a conversation starter, not a mandatory format, no method prescribes a fixed story format.
- Acceptance criteria can later be written as Given-When-Then for automation. That notation is owned by **applying-bdd**.
- Backlog refinement is an **ongoing** activity, not a fixed weekly "grooming meeting"; sizing is the Developers' responsibility.

## Example

```text
As a rider, I want to pay for my completed trip
  so that I can leave the cab without handling cash.

INVEST: Valuable (rider), Negotiable (method TBD), Testable. Too big → split.
Split (SPIDR): Rules (auto-charge saved card; defer split-fare/surge)
               Data (one currency first) · Path (card, then wallet, then cash-tip)
               Interface (plain "paid" screen first; animated receipt later)

First thin vertical slice (walking skeleton):
  request trip → match driver → charge saved card → show "paid"
  (touches dispatch + payment + UI end to end)

Acceptance criteria (the Confirmation):
  happy   valid card charged, receipt shown
  boundary zero-distance trip = minimum fare
  error   declined card blocks trip end, prompts retry
```

## Progressive Disclosure

- Read [references/invest-and-smart.md](references/invest-and-smart.md) - Load when evaluating a story against INVEST or breaking it into SMART tasks
- Read [references/three-cs.md](references/three-cs.md) - Load when explaining the Card / Conversation / Confirmation model of a story
- Read [references/template-and-acceptance-criteria.md](references/template-and-acceptance-criteria.md) - Load when writing the story sentence or its acceptance criteria
- Read [references/splitting-spidr.md](references/splitting-spidr.md) - Load when splitting a story with the five SPIDR techniques
- Read [references/splitting-flowchart.md](references/splitting-flowchart.md) - Load when splitting with the full pattern flowchart or slicing vertically
- Read [references/backlog-refinement.md](references/backlog-refinement.md) - Load when refining the backlog and deciding when an item is ready

Files in this skill

  • SKILL.md4 KB
  • eval-output.json2.8 KB
  • eval-trigger.json5.3 KB
  • moon.yml86 B
  • references/backlog-refinement.md1.4 KB
  • references/invest-and-smart.md1.6 KB
  • references/splitting-flowchart.md2.6 KB
  • references/splitting-spidr.md1.7 KB
  • references/template-and-acceptance-criteria.md1.9 KB
  • references/three-cs.md1.9 KB
  • sources.json6.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.