Skills / Agile and Scrum / User stories and acceptance criteria

Agile and Scrum, lesson 3 of 8

User stories and acceptance criteria

Agile teams often describe work as user stories: short descriptions of a feature from the point of view of the person who needs it. They keep teams focused on real needs rather than technical tasks.

The common template:

"As a [type of user], I want [something], so that [benefit]."

  • "As a returning customer, I want to save my delivery address, so that I can check out faster."
  • "As a shop manager, I want a daily email of low-stock items, so that I can reorder before we run out."

The "so that" part is the most important, because it explains the purpose, letting the team suggest better solutions.

Acceptance criteria define when a story is complete. They are specific, testable conditions agreed before work starts. For the saved address story:

  • Customers can save one or more addresses from their account page
  • During checkout, saved addresses can be selected with one click
  • Customers can edit and delete saved addresses
  • Addresses are only visible to the signed-in customer who saved them

Some teams write criteria in a Given / When / Then format: "Given I am signed in with a saved address, when I reach checkout, then my default address is pre-filled."

Good stories follow the INVEST checklist: Independent, Negotiable (details can be discussed), Valuable, Estimable, Small (fits in a sprint) and Testable.

Split big stories. A story too large for one sprint (sometimes called an epic) should be split into smaller stories, each still delivering some value: for example "save one address" before "manage several addresses".

Stories are a conversation starter, not a complete specification. The team, product owner and users discuss them to fill in the details.

Try it: Write three user stories for a library app, each with three or four acceptance criteria. Then split one of them into two smaller stories.

Check yourself

1. What is the most important part of a user story?

2. What are acceptance criteria?

3. A story is too big for one sprint. What should you do?