Sub topic 10
Drafting specs, user stories, and acceptance criteria
What to ask an AI assistant to do
This chapter assumes you can describe a product problem, distinguish a user need from a solution, and read basic requirements. It also assumes you review AI output rather than treating it as an authoritative specification.
AI assistants are useful for turning rough notes into a consistent first draft. They can suggest a user story, organize requirements, convert examples into acceptance criteria, and identify missing decisions. They cannot decide what the product should do unless you provide the product context and make that decision yourself.
A useful prompt separates the request into five parts:
- Role: tell the assistant which perspective to use.
- Context: provide the product, users, problem, and relevant notes.
- Task: state exactly what to produce.
- Format: specify headings, tables, or test-case syntax.
- Constraints: state what the assistant must not assume.
Draft a user story and acceptance criteria for the feature described below.
Feature: Let workspace admins export the member list as a CSV file.
Use this format:
User story: As a <role>, I want <capability>, so that <benefit>.
Acceptance criteria: a numbered list of testable statements, each in Given / When / Then form.
Open questions: anything the description leaves undefined that engineering or design must decide.
Do not invent requirements. Put anything you are unsure about under Open questions.The final instruction matters. Without it, an assistant may silently fill gaps about permissions, file columns, error handling, or export limits.
Turn drafts into testable behavior
A user story describes value from a user’s perspective. Acceptance criteria define observable behavior that shows whether the story is complete. They should be specific enough for product, design, engineering, and quality assurance to interpret them in the same way.
For example:
- Given I am a workspace admin and the workspace has members, when I choose Export members, then the system downloads a CSV file.
- Given I am not a workspace admin, when I view the member list, then I do not see the export control.
These criteria expose an important distinction: the story describes the capability, while the criteria describe its boundaries. Ask the assistant to separate known requirements from open questions rather than merging them.
A review loop
Use a short review cycle:
- Provide the source notes and ask for a draft.
- Ask the assistant to list assumptions and unanswered questions.
- Compare every criterion with the original problem and decision records.
- Rewrite vague terms such as “quickly,” “easy,” or “relevant” as measurable behavior.
- Confirm edge cases with design and engineering.
- Save only the reviewed version in the product specification.
A follow-up prompt can test the draft:
Here is the draft and the original notes.
List each claim in the draft that is not directly supported by the notes. Then list every assumption, missing edge case, and undefined term. Do not rewrite the draft yet.This separates discovery of gaps from polished wording.
Exercise
A generated criterion says, “When an admin exports members, the system quickly downloads a useful CSV.” What should you do first?
Show answer
Flag “quickly” and “useful” as undefined, then ask the responsible stakeholders to specify observable behavior such as the allowed file columns, permission rule, and acceptable response time.