What are requirements and user stories? Explained with a shopping list
Requirements list what new software must do; user stories are short lines saying who needs what and why. Explained with a shopping list written before cooking.
- Author
Umair Mateen- Published
- Reading time
- 5 min
- Category
- Process
In one sentence: Requirements are the written list of what new software must do, and user stories are short lines on that list that say who needs something, what they need and why, so the team builds what people actually need instead of guessing.
The everyday picture
Imagine you are cooking dinner for eight guests. You would not walk into a shop and fill a trolley at random. You sit down first and write a shopping list.
A good list does more than name items. Next to "rice" you note "for the guest who can't eat bread". Next to "lemons" you note "ripe, three, for the fish". Each line says who it is for and why it is there. When you get home, you can check each line off.
Software works the same way. Before anyone builds, the team writes down what is needed. That list is the requirements. The lines that say who needs what, and why, are user stories.
Requirements are the shopping list. Each line is a user story that names who needs it and why, with a check for when it is done. Only then does the team start building.
How it works, step by step
- Start from the people (the guests coming to dinner). The team learns who will use the software and what they are trying to get done. Every line on the list should trace back to someone real.
- Write the requirements (the shopping list). This is everything the software must do, plus limits it must respect, such as working on a phone or following a privacy law.
- Turn needs into user stories (one line per item, with who and why). The UK government's service manual suggests a simple shape: "As a… I need… so that…". For example: "As a patient, I need to book an appointment online, so that I don't have to phone during work hours."
- Add acceptance criteria (the note that says "ripe, three, for the fish"). These are checks that say when the story is done, often written as "it's done when…". For the booking story: it's done when the patient gets a confirmation email.
- Split and order the list (shopping for the starter before the dessert). A story too big to finish in a few weeks is called an epic, and is split into smaller stories. The product manager puts the list in order, and detail is added when the team is ready to start that item.
Try it · Everyday ↔ real
Match the shopping list to the software project
Switch between the two and see how each part lines up.
- The dinner guests
- The shopping list
- One line with who and why
- Ripe, three, for the fish
- Too big: food for the party
Planning a dinner for guests
| Everyday | Real |
|---|---|
| The dinner guests | The users |
| The shopping list | The requirements |
| One line with who and why | A user story |
| Ripe, three, for the fish | Acceptance criteria |
| Too big: food for the party | An epic, to be split |
Where the picture stops
- A shopping list is written once. Requirements keep changing as the team learns. The Agile Alliance stresses that a user story "is not a document": it is a reminder to keep talking.
- Groceries are bought in one trip. Software is usually built story by story, in short rounds, with people trying each piece before the next.
- You write your own shopping list. With software, the UK service manual says every member of the team should help write user stories, not just one person.
Why it matters for your business
- Less money spent on the wrong thing. A clear list makes gaps visible before building starts, when changing your mind is cheap.
- Fewer arguments at the end. Acceptance criteria give you and the team the same test for "done", so nobody has to guess.
- Clearer priorities. When every line says why it matters, it is easier to decide what to build first and what can wait.
- Easier to change course. Small stories can be reordered or dropped without rewriting the whole plan.
An example
Imagine a small dental clinic that wants online booking. The first request is "build us a booking app". That is like a shopping list that just says "food".
The team sits down with the receptionist and two patients. Together they write stories. "As a patient, I need to see free slots, so that I can pick a time that suits me." "As a receptionist, I need to block out lunch breaks, so that nobody is booked when the room is closed." Each story gets its checks, such as "it's done when a booked slot disappears for other patients".
Then the clinic picks the three stories that matter most and starts there. The rest stay on the list for later.
Try it · What would you do?
Which line would you put on the list?
A clinic wants patients to get reminders before appointments. Which is the best way to write this down for the team?
Pick what you would do. You can change your mind.
Frequently asked questions
What is the difference between requirements and user stories?
Requirements is the general word for everything the software must do and the limits it must respect. User stories are one popular way of writing requirements down: short lines that name who needs something and why.
What is a good format for a user story?
A common shape is "As a [type of user], I need [something], so that [reason]". The UK service manual says any format works if it names the person, what they need and the goal.
What are acceptance criteria?
They are the checks that show a story is finished, often written as "it's done when…". They give the business and the developers the same test.
What is an epic?
An epic is a story too big to finish in one short round of work. The team splits it into smaller stories that can each be built and checked on their own.
Related explainers
- What is project discovery?
- What is a prototype?
- Testing and staging, explained
- Off-the-shelf vs custom software
The DevDrift turns business needs into clear, buildable plans for web and mobile platforms: see how.
Sources
Could you explain this to a colleague now?
Mark it and posts that mention it will show a tick. Saved in this browser only.