User Story Generator
Draft a user story with a clear role, goal and benefit, then turn acceptance checks into structured criteria with readiness or splitting warnings.{{ summaryTitle }}
{{ summaryLine }}
{{ textExportAnnouncement }}
{{ values.story_card_text }}
The chart renderer is unavailable. Coverage counts remain available in the summary and acceptance ledger.
| ID | Type | Given | When | Then | Copy |
|---|---|---|---|---|---|
| {{ row.id }} | {{ row.type }} | {{ row.given }} | {{ row.when }} | {{ row.then }} |
| Review point | Status | Evidence | Next action | Copy |
|---|---|---|---|---|
| {{ row.check }} | {{ row.status }} | {{ row.evidence }} | {{ row.next_action }} |
Introduction
A backlog item becomes easier to discuss when it names who needs a change, what outcome they want, and why that outcome matters. A user story captures those three ideas in one sentence, then acceptance criteria supply the observable evidence that the work is complete.
The familiar form—“As a role, I want a goal, so that a benefit”—is a conversation starter rather than a full specification. It keeps attention on value, but it cannot settle every permission, invalid input, failure, or dependency. Those details belong in concise criteria that a reviewer can see and a tester can verify.
| Part | Useful question | Weak signal |
|---|---|---|
| Role | Who receives the value or performs the action? | A generic “user” when permissions or needs differ by role. |
| Goal | Which capability or outcome is needed? | A screen, database, or other implementation choice presented as the goal. |
| Benefit | What improves when the goal is met? | Vague value such as “better experience” without a consequence. |
| Acceptance criteria | Which visible state, message, permission, or data change proves completion? | Words such as “fast” or “easy” without a measurable or reviewable condition. |
Happy-path criteria are not enough for work that can be rejected, retried, limited, or used by different permission levels. A boundary criterion records one of those consequential cases without turning the story into a complete test plan. Examples include an unauthorized action, a duplicate request, a maximum limit, or a failed dependency.
Story points and readiness labels are team aids, not universal measurements. A five-point story can still hide major uncertainty, and a well-written sentence can still describe work that is too large. Refinement should end with shared understanding, an agreed slice of value, and criteria the team is willing to test.
How to Use This Tool:
Draft the smallest outcome that can be reviewed on its own. Add evidence for completion before adjusting identifiers or formatting.
- Enter a short Story title, a specific User role, the User goal, and the concrete User benefit. Keep technical design choices out of the goal unless the technology itself is the required outcome.
- Add one observable result per line under Acceptance checks. Use Boundary checks for permission, validation, limit, duplicate-action, and failure cases that could change the scope.
- Choose Gherkin, checklist, or contract formatting and set the priority and estimate used by the destination backlog. Then read Readiness review: split the work for any Fail item and resolve Review items through clearer wording, more coverage, or team discussion.
Interpreting Results:
Ready for grooming means the supplied text passed the built-in drafting checks. Review before handoff means at least one check needs judgment, such as missing boundary coverage, vague wording, or a larger estimate. Split before planning appears when the size rule fails.
Use the individual readiness rows, not the summary alone. The evidence and next action explain what triggered each status. A pass does not prove feasibility, customer value, technical safety, or agreement among the delivery team; those require refinement with the people responsible for the work.
Acceptance rows preserve the supplied meaning while arranging it into the chosen format. Read the generated Given, When, and Then clauses for awkward grammar or assumptions introduced by short source phrases, and edit the backlog item after copying when the domain needs more precise language.
Technical Details:
User-story drafting combines a text transformation with an ordered readiness rule set. Whitespace is collapsed, duplicate acceptance or boundary lines are removed without regard to case, and criterion identifiers use an uppercase prefix plus a zero-padded number. The positive rows come first, boundary rows follow, and two optional quality rows are added last.
Transformation Core:
| Input | Transformation |
|---|---|
| Role, goal, benefit | Become the sentence “As a role, I want to goal, so that benefit.” Articles are added to the role when needed. |
| Acceptance line | Becomes a Positive criterion. The role and goal form the Given and When clauses; the original line becomes the Then clause. |
| Boundary line | Becomes a Boundary criterion with an exception-state Given clause and an attempt-oriented When clause. |
| Quality option | Adds two fixed criteria covering accessible feedback and operational evidence. |
| Acceptance format | Changes presentation to Gherkin blocks, checklist rows, or contract-style sections without changing criterion identity. |
Rule Core:
Eight checks determine the summary. Any failing check takes priority over review findings; otherwise one or more review findings produce Review before handoff.
| Check | Pass | Review or fail condition |
|---|---|---|
| Story framing | A role, goal, and benefit are present. | Missing required text prevents generation instead of producing a readiness row. |
| Acceptance coverage | At least 2 positive checks. | Exactly 1 positive check produces Review. |
| Boundary coverage | At least 1 boundary check. | No boundary checks produces Review. |
| Independent | No detected dependency phrase. | Phrases such as “depends on,” “blocked by,” or “requires … first” produce Review. |
| Negotiable | No detected implementation term. | SQL, database, CSS or HTML, named platform technologies, or the phrase “implementation detail” produce Review. |
| Valuable | The benefit has at least 12 characters and no detected vague term. | A short benefit or wording such as “fast,” “easy,” “better,” or “user-friendly” produces Review. |
| Small | At most 8 points and at most 8 criterion rows. | More than 8 points or rows produces Review; more than 13 points or 12 rows produces Fail. |
| Testable | No detected vague term in the supplied story. | Any detected vague term produces Review. |
Required text is length-limited before transformation. Story points must be a whole number from 0 through 40, and the starting criterion number must be from 1 through 999. These limits protect the generated artifact; they do not define how a team must estimate or number work.
Limitations and Privacy Notes:
The readiness review is a text heuristic, not an agile standard or approval decision. It cannot discover hidden dependencies, judge whether a benefit is real, prove that criteria are sufficient, or determine whether an estimate fits a particular team.
Story text is processed in the browser for generation. Keep customer names, security details, unreleased plans, and other sensitive backlog information out of copied artifacts unless the destination is authorized to receive them.