StoicBuilder

HandbookVII the BasilicaAcceptance criteria

VIIthe Basilica, Build the right thing

Acceptance criteria

1 min readUpdated 28 November

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.

Linear issueagent
Story: an owner shares a note with a read-only link.Given I own a note, when I click Share, then I see a link I can copy.Given the link, when someone opens it logged out, then they see the note with no Edit button.Given I switched sharing off, when the link is opened, then it says "This note is no longer shared".
Three checks, one of them for when things go wrong. Each takes a minute to test.

What goes wrong

  1. 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
  2. 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.

  3. 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

Copy this into Lovable, Bolt, Cursor or any agent
Write acceptance criteria for this story as Given/When/Then lines, including at least one case that should fail. Then turn each line into a test and tell me which pass.

Quick check

Sign in to earn +10 XP for it

Which acceptance criterion could actually fail?

Got a prompt that touches acceptance criteria?

Paste it. You get a better prompt first, then the cards that explain it.

Check your own prompt

Free, no sign-up.