flaibo
Sign in
Backlog items

User Stories With Acceptance Criteria From a Feature Request

Turn a feature request into consistent user stories with acceptance criteria and edge cases, plus the questions stakeholders must answer before estimation.

No card required

What this prompt does

A feature request usually arrives as a paragraph in a ticket or a line in a meeting note, and turning it into stories the team can estimate is where analysis earns its keep. Writing a dozen stories by hand, each in the same shape with criteria and edge cases, is tedious, and the edge cases are what slip: what happens with zero results, when two admins edit at once, when a third-party service times out, when a user without permission follows a shared link. This prompt splits the request by user goal into sprint-sized stories in your team's own format, writes Given/When/Then criteria that cover the main path and every business rule you supplied, and lists edge cases per story. Where an edge case needs a product decision, it becomes a question instead of a made-up behavior, which is the difference between a backlog that reflects what stakeholders want and one that quietly encodes the analyst's guesses. Open questions are grouped by who should answer them and linked to the story they block, so you know what to chase before refinement. Assumptions are listed for you to confirm, and the closing check flags any criterion a tester could not mark pass or fail.

The prompt

Act as a business analyst preparing a feature for backlog refinement. Turn the request below into user stories the team can estimate.

Feature request, as received: [PASTE]
Users and roles: [e.g. customer, account admin, support agent]
Business rules: [KNOWN RULES, LIMITS, PERMISSIONS, REGULATORY CONSTRAINTS]
Out of scope, if known: [PASTE]
Our story format: [e.g. 'As a... I want... so that...' with Given/When/Then criteria]

Produce:
1. User stories small enough for one sprint, in our format. Split by user goal, not by technical layer.
2. Acceptance criteria for each story in Given/When/Then, covering the main path and every rule I listed.
3. Edge cases for each story: empty states, limits, permissions, concurrent edits, an external dependency failing, and anything specific to these rules. Where the right behavior needs a decision, write it as a question instead of inventing an answer.
4. Open questions for stakeholders, grouped by who should answer (product, legal, support, engineering), each noting which story it blocks.
5. Assumptions you made, each labeled so I can confirm or reject it.

Rules:
- Do not invent business rules. If the request is ambiguous, the story says so and the question goes in section 4.
- Describe behavior, not layout. Leave UI design decisions out unless the request specifies them.

Before answering, check that each acceptance criterion is testable (a tester could mark it pass or fail), and that every business rule I listed appears in at least one criterion. List any rule that does not.

How to use it

Paste the request exactly as it came in, along with the rules you already know and your team's story template. Run the prompt, then take the open questions to the right stakeholders before the refinement session rather than during it. Review the assumptions list line by line; accepting one is a decision, so record it. Adjust story splits with the team, since they know which boundaries make sense technically.

See it in action

Filled-in prompt

Feature request: 'Account admins want to export invoices as CSV for a date range so finance can reconcile.' Users: account admin, finance viewer (read-only), support agent Business rules: only admins can export; max range 12 months; export must include tax amounts and currency; invoices from closed accounts excluded Out of scope: PDF export Format: As a / I want / so that, with Given/When/Then

Expected output

Story 1: As an account admin, I want to export invoices for a date range as CSV so that finance can reconcile them. Acceptance criteria - Given I am an account admin, when I choose a range of 12 months or less and select Export, then I receive a CSV with one row per invoice in that range. - Given the CSV is generated, then each row includes the tax amount and the currency. - Given I choose a range longer than 12 months, when I select Export, then I see a message that the maximum range is 12 months. Edge cases - Range with no invoices: question for product: empty file with headers, or a message? - Invoices in several currencies in one range: one file with a currency column (covered), or separate files? Question for finance. Open questions Product: Can finance viewers export, or only admins? (blocks Story 1 permissions) Assumptions - A1: 'Closed accounts' means accounts closed before the export date. Confirm.

Edge cases get missed when you write dozens of stories by hand.

Each story gets a standard set of edge-case checks plus any specific to your business rules.

Drafted stories quietly invent behavior nobody agreed to.

Undecided behavior becomes an open question, and every assumption is labeled for you to confirm or reject.

Refinement sessions stall on questions nobody prepared for.

Open questions are grouped by who should answer and linked to the story they block, so you can resolve them beforehand.

Frequently asked questions

What makes a good acceptance criterion?

It describes observable behavior and can be marked pass or fail by a tester without interpretation. Given/When/Then is one common way to keep criteria precise; the prompt follows whatever format your team uses.

How small should a user story be?

Small enough to finish within one sprint, including testing. Splitting by user goal or business rule usually works better than splitting by technical layer such as front end and back end.

Ready to use User Stories With Acceptance Criteria From a Feature Request?

Save your team's story format and definition of ready as notes in Flaibo, and the Prompt Builder will use them whenever you build a backlog prompt.

Get started free

Your context everywhere