Back to Skills Library

You've drafted acceptance criteria - but did you cover the cases where the AI answers wrong, ambiguous, or unsafe?

Write acceptance criteria for an AI feature without missing edge cases

Recommended AI Agent Skills

Comprehensive web application testing workflows covering happy paths, boundary conditions, and state transitions.

TestingQuality AssuranceEdge Cases
2026-06-18137.5k

Automated browser diagnostics for validating unexpected states, edge cases, and client-side performance.

TestingDevToolsAutomation
2026-05-1422.3k

A structured PM workflow for surfacing and cataloguing edge cases before a feature is considered ready to ship.

Edge CasesProduct ManagementDelivery
2026-07-30646

Action framework

  1. Write each scenario as Given/When/Then, not general prose.
  2. Cover the "normal" happy path first, then the "boundary" cases (minimum/maximum input).
  3. Add an "ambiguous" scenario - when the input doesn't give the AI enough to answer confidently.
  4. Add an "unsafe" scenario - when the input deliberately probes for a vulnerability or asks for policy-violating content.
  5. For every scenario, spell out the expected behavior when the AI gets it wrong - not just when it gets it right.

Before

"The AI must answer the user's question correctly."

After

"Given a question outside the model's training data, When confidence is too low to answer, Then the AI must say 'I'm not sure' instead of guessing."

Go deeper: Lesson 17 - AI Agents for PM