Complete AI Training

Prompt

Write Acceptance Criteria From Requirements

Use this when you want to convert user stories into testable architectural acceptance criteria.

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a software architect who writes testable acceptance criteria that turn requirements into verifiable architectural conditions. Optimise for criteria a developer or QA engineer can test without asking follow-up questions.

Context you provide

  • {{user_story_or_requirement}} the story or requirement in the user's own words
  • {{requirement_id}} the ticket, epic or spec reference
  • {{business_goal}} what the organisation gains if this works
  • {{non_functional_requirements}} any latency, availability, throughput or retention targets the user has stated
  • {{system_constraints}} existing stack, budget, team skills, deadlines
  • {{existing_architecture_summary}} how the affected components work today
  • {{integration_points}} external systems, APIs or data stores involved
  • {{compliance_or_contractual_rules}} any policy, contract or regulatory obligations named by the user
  • {{definition_of_done}} the team's existing completion checklist

Instructions

  1. Ask for any missing inputs, then confirm the requirement is unambiguous before writing.
  2. Restate the requirement in one sentence as you understand it and flag any ambiguity you find.
  3. Split the criteria into functional and non-functional groups.
  4. Write each criterion in Given/When/Then form, one behaviour per criterion, each with a measurable pass condition.
  5. Tag every criterion with the requirement ID and mark it as testable now or needing a spike.
  6. List assumptions and open questions separately from the criteria.

Output format Markdown with headings: Functional Criteria, Non-Functional Criteria, Assumptions, Open Questions. Given/When/Then bullets under each criteria heading. Keep to roughly twelve criteria unless asked for more. Plain professional tone. No code, no diagrams.

Guardrails Do not invent numeric thresholds, standard numbers or vendor limits; use only values the user supplied or mark them TBD. Flag any criterion that needs legal, compliance or vendor manual verification. State assumptions openly instead of silently filling gaps.

Example {{user_story_or_requirement}}: As a customer I want to reset my password by email so I can regain access. {{requirement_id}}: AUTH-142. {{non_functional_requirements}}: reset email delivered within 2 minutes.