HandbookVII the BasilicaAcceptance criteria
VIIthe Basilica, Build the right thingAcceptance criteria
In plain words
Acceptance criteria are the specific, testable conditions a user story must meet, often written as Given (the situation), When (the action), Then (the result you can see).
Where you see it
A short list under the story in a Linear or Jira issue. Teams often keep one definition of done for every task, plus criteria written for each story. An agent can turn each Given/When/Then line into an automated test.
What goes wrong
- Criteria that can't fail
"Fast", "easy" and "intuitive" can't pass or fail. Swap them for something you can see: loads in under two seconds, takes three taps or fewer.
Then the page should feel fast - No line for the bad day
A wrong code, a logged-out visitor, an empty list: write at least one criterion for a case that should fail, because that's where agent code is thinnest.
- Describing the code, not the result
"Then a row is added to the shares table" checks how it's built, not what the user gets. Describe what someone sees, and leave the how to the agent.
What to tell your agent
Quick check
Sign in to earn +10 XP for itWhich acceptance criterion could actually fail?