Back to Prompt Library
Coding
agileuser-storiesscrumproduct-managementdevelopment

Agile User Story and Acceptance Criteria Writer

Complete user stories with Given/When/Then acceptance criteria, story points, and edge case coverage — ready for sprint planning.

Prompt Template

I need you to write agile user stories for the following feature: [FEATURE DESCRIPTION]. Our tech stack is [STACK — e.g., React frontend, Node.js API, PostgreSQL]. Our users are [USER TYPES — e.g., admin users and end customers]. For each user story: (1) write the story in the format "As a [role], I want to [capability] so that [benefit]", (2) write 3–5 acceptance criteria in Given/When/Then format, (3) flag any technical dependencies, API calls, or database changes required, (4) estimate a story point value (1, 2, 3, 5, or 8) with a one-line justification. Generate stories for these scenarios: happy path (the main use case working as expected), error states (what happens when the feature fails or receives bad input), and edge cases (boundary conditions, empty states, concurrent users). Format the output as a numbered list of stories, each complete enough for a developer to start implementation without needing a follow-up meeting.

How to use this prompt

  1. Copy the prompt template using the button above.
  2. Paste it into your preferred AI assistant (ChatGPT, Claude, Gemini, etc.).
  3. Replace all bracketed placeholders like [TOPIC] with your specific details.
  4. Send the prompt and refine the output as needed.
Advertisement