Article Workflow

15 Acceptance Criteria Examples

AI coding tasks get safer when "done" is visible before the diff exists. Use these examples as starting points for UI changes, API work, refactors, tests, migrations, and production fixes.

Last reviewed: Jun 30 2026


TL;DR

Good acceptance criteria name the outcome, boundary, edge cases, verification, and stop condition. Paste the closest example below, replace the specifics, then ask AI to plan before it edits.

How to Use These Examples

These are not tickets. They are pass/fail checks you attach to a ticket before AI writes code. If an example mentions a test command, replace it with your local command. If it mentions a manual path, make the path match your product.

For the underlying structure, pair this page with The AI Acceptance Criteria Prompt and The AI Verification Ladder.


UI and Product Flow Examples

1. Add a form field
2. Fix a loading state
3. Improve an error message

API and Data Examples

4. Add an API filter
5. Add a database column
6. Tighten authorization

Quality and Refactor Examples

7. Refactor a component
8. Add regression coverage
9. Remove dead code

Production Safety Examples

10. Add observability
11. Add a feature flag
12. Patch a production bug

AI-Specific Examples

13. Update a prompt
14. Change model fallback behavior
15. Add an AI code review check

Turn an Example Into a Prompt

Copy-paste prompt

"Use this acceptance criteria pattern for the task below. Rewrite it for my codebase, keep it under 8 bullets, include two edge cases, and ask for missing context before editing files. Task: [paste task]."

When the criteria are clear, move to The AI Plan Before Code. When the risk is unclear, choose a level with The AI Verification Ladder before accepting implementation.


Back to Home