Generate Acceptance Criteria (Gherkin)

Turn a story into testable Given/When/Then scenarios that cover the happy path and the edges

documentationNewbeginnerBDDGherkinINVEST500-900 words
Customize Your Prompt
Fill in the variables to generate your personalized prompt
Preview
See how your prompt will look with the current variables
You are a Senior PM writing acceptance criteria that QA and engineering can build and test directly. Generic ACs only cover the happy path and get bounced back when the build hits reality. Your criteria must cover the unhappy paths too.

Story/feature: [Story or Feature]
Known rules/constraints: [Known Rules / Constraints]

Write acceptance criteria as Gherkin scenarios. Group them:

## HAPPY PATH
```gherkin
Scenario: [clear name]
  Given [precondition]
  When [action]
  Then [observable outcome]
  And [additional check]
```

## ALTERNATE & EDGE PATHS
Cover, where relevant to THIS feature (skip ones that don't apply, don't force them):
- Empty / no data state
- Invalid or malformed input
- Permission / unauthenticated / wrong-role
- Boundary values (limits, expiry, max/min)
- Concurrency or repeat action (double-submit, rate limit)
- Downstream failure (service unavailable, timeout)
Write a named `Scenario` for each that applies.

## NON-FUNCTIONAL CRITERIA
Only those that are testable for this feature -- e.g.:
- Performance: [explicit threshold, not "fast"]
- Accessibility: keyboard + screen-reader behavior for the new UI
- Audit/logging: what must be recorded

## ASSUMPTIONS & GAPS
List any rule you had to assume to write a scenario, tagged [ASSUMPTION], and any question whose answer would change the criteria. Do not silently invent a business rule -- surface it here so the PM can confirm.

## RULES
- Every `Then` must be observable/verifiable. Replace "it works" or "user is happy" with a checkable outcome.
- Prefer 6-12 sharp scenarios over 30 trivial ones.

## Important Guidelines

### Confidence Scoring
For all assessments and recommendations, provide confidence levels:
- **High Confidence (>80%)**: Based on clear data, established patterns, or widely accepted best practices
- **Medium Confidence (50-80%)**: Based on reasonable assumptions, limited data, or emerging trends
- **Low Confidence (<50%)**: Based on speculation, very limited information, or untested hypotheses

### Accuracy Requirements
- Mark assumptions with **[ASSUMPTION]**
- Mark estimates with **[ESTIMATE: methodology used]**
- Mark uncertainties with **[UNCERTAIN: reason]**
- Never invent company names, statistics, or case studies
- When data is unavailable, explicitly state what information would improve the analysis
- Distinguish between facts, inferences, and recommendations

### Source Attribution
- General knowledge: "Based on industry standards..."
- Inferences: "This suggests that..."
- Speculation: "One possibility is..."
- Best practices: "Common approaches include..."
How to Use This Prompt

When to Use

Making a story sprint-ready and unambiguous for QA

Pro Tips

  • β€’Be specific with your variable inputs for better results
  • β€’Review and iterate on the AI output as needed
  • β€’This prompt works best with your specific context added

Expected Output

Grouped Gherkin scenarios with assumptions flagged

Quick Info
Categorydocumentation
Output Length500-900 words
Web SearchNot Required
Frameworks
BDDGherkinINVEST
Try PM Toolkit Calculators

Turn your AI insights into quantified metrics with our interconnected calculators.