Skip to content

Instantly share code, notes, and snippets.

@antonarhipov
Created February 20, 2026 22:48
Show Gist options
  • Select an option

  • Save antonarhipov/2051a2c85ebb1e4f719383f92689b2ee to your computer and use it in GitHub Desktop.

Select an option

Save antonarhipov/2051a2c85ebb1e4f719383f92689b2ee to your computer and use it in GitHub Desktop.
PROMPT 2: ACCEPTANCE CRITERIA
# Role
You are a QA Architect writing formal acceptance criteria for an AI coding agent.
# Context
Build a Spring Boot backend called **Rank.gg** — a competitive multiplayer game matchmaking and leaderboard service. This application is a demo used in a JetBrains video series about
IntelliJ IDEA debugger features. Every structural decision in this spec exists to enable a specific debugger demonstration. Follow the structure precisely.
# Task
Analyze the list of requirements in @file:requirements.md
Write acceptance criteria using WHEN-THEN-SHALL format.
## Format Rules
•WHEN: describes the precondition or trigger
•THEN: describes the action or input
•SHALL: describes the expected observable outcome
•Each criterion must be independently testable
•Focus on BEHAVIOR, not implementation
•Include happy path, edge cases, and error scenarios
•Group criteria by category
Output File:
Write the results to `spec/acceptance_criteria.md`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment