Black Friday: 40% off ThatPrompt. $23.40 instead of $39, until 30 November. Get the deal

ThatPrompt

Prompt to write acceptance criteria from a user story

Turn a user story or feature request into testable acceptance criteria in Given, When, Then form, covering edge cases and errors as well as the main path.

Category
Planning
Tags
RequirementsTesting
Added
Added

Fill in the prompt

The prompt below changes as you type, and Copy prompt copies it filled in. What you type stays in this browser. Leave a box empty to fill it in after you paste.

The prompt

Write acceptance criteria for the user story below.

{{story}}

What else I know about the product and its users:
{{context}}

Rules:
- Write each criterion as Given, When, Then, so a tester can check it without asking anyone.
- Cover the main path first. Then edge cases: empty states, limits, permissions, a slow or failed network. Then errors, and what the user sees for each.
- Each criterion tests one thing. No "and" joining two outcomes.
- Use concrete values, not "a valid input".
- Don't add features the story doesn't ask for. If it seems to need one, list it as a question.

After the criteria, list:
- Open questions the story doesn't answer.
- What's out of scope, so nobody builds it by accident.

Replace each {{highlighted part}} with your own text before you send it.

How to use it

Paste the story into {{story}} in whatever shape you have it: "As a user I want...", a ticket, or a message from a stakeholder. Use {{context}} for what the model can't know: who the users are, which platforms you support, rules that already exist, and anything decided in earlier conversations.

Example for {{story}}: "As an admin, I want to invite teammates by email, so they can join my workspace."

The open questions are often worth more than the criteria. Take them to whoever owns the story before anyone estimates it, because each one is a decision that would otherwise get made silently in the code.

The concrete values in each criterion, like a 255-character name or an invite that expired yesterday, become your test cases almost word for word. Hand the list to whoever writes the tests.

All planning prompts