Lesson 7: Writing a one-page spec engineers can build from
Learn to write a short product spec: goal, scope and non-goals, acceptance criteria, edge cases, ranged estimates and a plan to cut scope.
Many product problems begin in the gap between what the product manager had in mind and what the team understood. The manager wrote a few lines in a ticket, or described the idea in a meeting, and everyone nodded. Three weeks later the designer has built one thing, the engineers another and the manager is surprised by both. Nobody was careless. Words that seem clear to the writer carry different pictures for each reader, and details that the writer never thought about are filled in by whoever builds. A spec is the tool for closing that gap. Despite its reputation for bulk, a good spec is short: a page or two that says what problem is being solved, for whom, what the solution is and is not, how you will know it works and what is still unknown. Its purpose is not to dictate how to build, but to make sure everybody is aiming at the same target before the work starts. The earlier lessons in this track covered finding problems, talking to users, writing a goal, prioritising and measuring launches. This lesson turns a prioritised idea into something a team can build. By the end you will be able to explain what a spec is for and what it should leave out, write a one-page spec with its main parts, state scope and non-goals clearly, describe requirements as user stories with acceptance criteria that can be checked, think through edge cases and failure states, work with designers and engineers in the way that makes specs better, estimate with ranges and not single numbers, cut scope with a simple method when the plan is too big and review a spec before it goes to build. You need a notebook and one feature you would like to specify, real or imagined.
What a spec is for
A spec has three jobs.
1. Align. Everyone who will build, test, launch or support the feature reads the same description, and any disagreement shows up early, when it is cheap to fix.
2. Think. Writing forces you to turn a vague idea into precise statements. Gaps and contradictions appear on the page that would otherwise appear in production.
3. Remember. Months later, someone will ask why the feature works as it does. The spec records the decisions and the reasons.
A spec is not a contract that freezes the plan, and not a detailed design of the screens and the code. Designers decide the look and flow, and engineers decide the architecture. The product manager's spec says what and why, and leaves how to the people best placed to decide. A spec that dictates implementation wastes their expertise and breeds resentment.
Nor is length a virtue. A spec nobody reads protects nobody. A one-page spec that every person on the team reads and understands is worth far more than a 20-page document that is skimmed. Aim for the shortest document that answers the questions people will have, and link to details elsewhere.
The parts of a one-page spec
A good spec has a fairly standard shape. Here is a structure that works for most features.
1. Title and owner. The name of the feature, who owns it, the date and the status: draft, in review or agreed.
2. Problem and goal. In two or three sentences, the problem you are solving and the goal with its metric, baseline, target and date, as in Lesson 4. "New users abandon bank linking: 38 per cent of those who start do not finish. We want to raise completion to 50 per cent within eight weeks of launch."
3. Users and scenarios. Who is this for, and what are they trying to do? One or two short scenarios help: "Asha has just downloaded the app and wants to pay a friend. She is asked to link her bank, but her bank is not in the list." Real evidence from interviews makes this concrete.
4. The proposed solution. A short description of what you will build, at the level of what the user sees and can do, not how it is coded. Links to designs go here.
5. Scope: in and out. What is included, and, just as important, what is explicitly not, the non-goals. More on this below.
6. Requirements and acceptance criteria. The specific behaviours, each with a way to check it. More on this below.
7. Edge cases and failure states. What happens when things go wrong or are unusual.
8. Metrics and launch plan. The success criteria, goal, inputs and guardrails, and how you will release it, as in Lesson 6.
9. Dependencies and risks. What you need from other teams or systems, and what could go wrong.
10. Open questions. What you do not yet know, who will answer and by when.
Not every feature needs every part in full. A small change may need three lines each. The structure is a checklist, so that you do not forget something important.
Predict first: a product manager writes a ticket: "Add a way to save addresses." What questions would an engineer or designer want answered before building? List five before you read on.
Likely questions: Who can save addresses, all users or only logged-in ones? How many can a user save? Can they edit or delete them? Where does the user pick a saved address? What if the address fails validation? Should it work offline? What about an address in another country? Each is a decision that someone will make, either deliberately in the spec or accidentally in the code.
Scope and non-goals
Scope is the boundary of the work. The clearest way to draw it is to say what is in and what is out. The non-goals list is among the most useful parts of a spec, because it heads off the quiet growth of expectations that Lesson 5's cost-of-delay discussion and the Negotiation track's scope-creep lesson describe.
For the saved-address feature, the scope might read:
In: saving up to five addresses per signed-in user, choosing one at checkout, editing and deleting an address, validating the pincode.
Out (non-goals): address autocomplete, saving addresses for guest users, sharing addresses with other users, international addresses, importing from a phone's contacts.
Each of the "out" items may be a good idea. Listing them says "we thought of this, and we are not doing it now". It protects the team from requests to add them mid-build, and gives you a ready list for a later version.
Requirements as user stories with acceptance criteria
A requirement says what the product must do. A common way to write one is as a user story: "As a [type of user], I want [to do something], so that [benefit]." For example: "As a returning customer, I want to pick a saved address at checkout, so that I do not have to type it again."
A story gives the who, the what and the why, which keeps the focus on the user. But on its own it is too loose to build or test. It needs acceptance criteria: specific conditions, each checkable as pass or fail, that must be true for the story to count as done. A popular format is Given, When, Then.
Given a signed-in user with two saved addresses,
When they reach the checkout address step,
Then both addresses are listed, with the most recently used one selected by default.
Another:
Given a user who enters a pincode that does not exist,
When they try to save the address,
Then they see the message "We could not find that pincode" and the address is not saved.
Good acceptance criteria are:
Specific. No "fast" or "easy" without a number or a test. "Loads in under two seconds on a mid-range phone on a 4G connection" can be checked.
Testable. A tester can say yes or no.
Independent of design details, where possible, so that designers keep freedom.
Few. Three to six per story. If you need twenty, the story is too big.
Writing acceptance criteria is where the most misunderstandings surface. If two people read the criterion and imagine different results, you have found an ambiguity, and you have found it cheaply.
Edge cases and failure states
The happy path, in which everything works and the user does the expected thing, is the easy part. Most defects and most angry customers come from the unusual. A spec that covers only the happy path leaves the other cases to chance.
Think through these categories for any feature.
Empty states. What does the screen show when there is nothing yet? A new user with no saved addresses needs a clear prompt, not a blank box.
Limits. The maximum number of items, the longest name, the largest file. What happens at the limit and beyond it?
Errors. Network failure, a service that is down, a payment that fails, a timeout. What does the user see, and can they retry without losing their work?
Permissions. Who can and cannot do this? What if a user loses access halfway?
Concurrent use. What if the user has two devices, or two people edit at once?
Odd input. Very long text, special characters, copied-and-pasted spaces, emojis, a different language or script.
Existing data. What happens to the thousands of users who already have data in the old format? Migration is often the hardest part.
Interruptions. The user leaves midway, the app is closed, the phone rings. Is the progress saved?
Accessibility. Can it be used with a screen reader, with large text, without colour?
Slow or poor connections, and low-end devices, common in many markets.
You do not need to specify every case in full, but you should list the important ones and say what the behaviour is, or flag them as open questions. A short table works well: situation, expected behaviour.
Work with design and engineering early
A spec written alone and thrown over a wall is a poor spec. The best ones are written with the people who will build the thing.
Involve engineers and designers before the spec is final. Share a rough draft early and ask: "What am I missing? What is hard? What would you do differently?" Engineers often know of a simpler way that achieves the goal, or a hidden cost that changes the plan.
Describe the problem and the goal, not just the solution. If the team understands why, they can often find better solutions than the one in your head.
Hold a kickoff. Walk through the spec together, take questions, and update the document with what you learn.
Be available. Questions will arise during the build. Answer quickly, and record the answers in the spec, so that the document stays true.
Respect their estimates and expertise. Disagree openly, with reasons, but do not pressure people to give lower numbers.
Review designs against the spec. Check that the designs cover the stories and the edge cases.
Keep it current. A spec that no longer matches what is being built is worse than none.
Estimating with ranges
Questions about time arrive as soon as a spec is shared: "How long will it take?" A single number is almost always wrong, and gives a false impression of certainty. People tend to give an estimate for the case in which things go well, and the planning fallacy, discussed in the Productivity track, leads them to underestimate. A more honest answer is a range.
A useful method is the three-point estimate. For each piece of work, ask for three numbers.
Optimistic (O): the time if everything goes well.
Most likely (M): the time you would normally expect.
Pessimistic (P): the time if the usual problems occur.
A common way to combine them gives the expected time as (O + 4 × M + P) ÷ 6, which weights the most likely value but pulls the answer up towards the pessimistic one when it is far away. And a rough measure of the uncertainty, the standard deviation, is (P − O) ÷ 6.
For a task with O = 3 weeks, M = 5 and P = 12, the expected time is (3 + 20 + 12) ÷ 6 = 35 ÷ 6 = 5.8 weeks, and the standard deviation is (12 − 3) ÷ 6 = 1.5 weeks. A rough rule says that about 90 per cent of the time, the work should take no more than the expected time plus 1.3 standard deviations, so 5.8 + 1.3 × 1.5 = 7.8 weeks.
To combine several tasks, add the expected times, and for the uncertainty, add the squares of the standard deviations and take the square root. This is smaller than adding the deviations, because the tasks will not all go badly at once. An example with three tasks.
Task · Optimistic · Most likely · Pessimistic · Expected · Std deviationA · 2 · 3 · 6 · 3.33 · 0.67
B · 3 · 5 · 12 · 5.83 · 1.50
C · 1 · 2 · 4 · 2.17 · 0.50
Total · · · · 11.33 · 1.72
The most likely times add to 10 weeks, but the expected total is 11.3 weeks, and a 90 per cent plan is about 11.3 + 1.3 × 1.7 = 13.5 weeks. The honest answer to "how long?" is "most likely about 11 weeks, and I would plan for 13 or 14". That is far more useful to a manager than "10 weeks", and it will not be broken by the first surprise.
A wide range is itself information. If the optimistic and pessimistic figures are far apart, the team does not yet understand the work. A short investigation, called a spike, such as a day to try the riskiest part, can narrow the range before you commit.
Cutting scope when the plan is too big
Often the estimate comes back larger than the time available. The solution is not to ask people to work faster. It is to cut scope, deliberately. A simple method is to sort requirements into four groups, known by the letters of MoSCoW.
Must have: without these, the feature does not meet its goal or cannot launch.
Should have: important, and you would include them if possible, but the launch can survive without them.
Could have: nice to have, if time allows.
Won't have this time: explicitly deferred. These are your non-goals for this version.
Be strict about "must". If everything is a must, the method is useless. A useful test: "If we left this out, would we still be able to launch and reach the goal?" If yes, it is not a must.
Then add up the effort for each group and compare with your capacity, leaving a buffer for the unexpected, as the Productivity track recommended. If the musts alone exceed capacity, you have a harder conversation: shrink the musts, extend the date or add people, which takes time to help. If musts and shoulds fit, include the coulds only if there is space left, and plan to drop them first.
With the defaults, the team has 4 × 6 × 0.8 = 19.2 usable person-weeks. The musts and shoulds need 18, which leaves 1.2 for the coulds, so about a quarter of the 5 person-weeks of could-haves fit. The plan is to build the musts and shoulds first, and to treat the coulds as bonus.
Cutting scope is easier when the work is built in thin slices that each deliver something usable, so that stopping early still leaves a working product. Build the simplest complete path first, then add depth.
Review the spec before build
Before the build starts, ask a few people to read the spec and tell you what they think it says. This is a cheap test.
An engineer checks feasibility, hidden costs and missing technical cases.
A designer checks that the stories and scenarios are clear and complete.
A tester, if you have one, checks that the acceptance criteria can be verified.
Someone from support or sales checks that it matches what customers need and that nothing surprising will reach them.
A fresh reader, who knows nothing of the project, tells you in their own words what the feature does. If it differs from what you meant, the spec is unclear.
Ask each: "What is unclear? What is missing? What would you do differently?" Update the spec and note the date. Then, at the kickoff, walk through the changes. Reviews at this stage cost an hour and can save weeks.
Three worked examples
Example 1: tightening a vague ticket. A ticket says: "Let users export their transactions." The product manager sits with an engineer and a designer. They find that the ticket leaves out the format, the date range, how many transactions, whether it is emailed or downloaded and what happens for very large exports. The one-page spec that results says: signed-in users can export up to 12 months of transactions as a CSV file, downloaded directly if under 5,000 rows and emailed if more, with a message explaining the wait, and a limit of one export in five minutes. The non-goals are PDF export and scheduled exports. The engineers' estimate changes from "two days" to a range of five to nine days, and the team agrees on the plan.
Example 2: estimating with ranges. A team asked "how long for the new onboarding?" says "about eight weeks" and misses by four. The next time, the product manager asks for three-point estimates for each of five pieces. The sum of most likely times is 8 weeks, but the expected total is 9.6 and a 90 per cent plan is 11.5. She tells her director: "Most likely 9 to 10 weeks, and I would commit to 12." The launch lands at 10.5 weeks, within the commitment. The range reduced the stress for everyone.
Example 3: cutting scope. A spec for a referral programme needs 26 person-weeks, but the team has 18 after buffer. The product manager asks the team which parts are musts. They agree that sharing a link, tracking sign-ups and paying the reward are musts, at 14 person-weeks. A leaderboard, a social-media template and an analytics dashboard are coulds. Reminder emails are a should at 4. The musts and shoulds total 18 and fit. The coulds go on the list for version two, and the programme launches on time.
A one-page spec template
Use this layout for your own spec.
1. Title, owner, date, status.
2. Problem and goal, with metric, baseline, target and date.
3. Users and scenarios, with evidence.
4. Proposed solution, in a short paragraph, with links to designs.
5. Scope in and non-goals.
6. Requirements: user stories, each with three to six acceptance criteria.
7. Edge cases and failure states: a table of situation and behaviour.
8. Metrics and launch plan: success criteria, guardrails, method, stages.
9. Estimate: a range for each piece, and a plan with about 90 per cent confidence.
10. Scope plan: musts, shoulds, coulds and won't-haves.
11. Dependencies and risks.
12. Open questions, with owners and dates.
Common mistakes
A spec that is too long to read, or too vague to build from.
Describing the solution only, without the problem and the goal.
No non-goals, which invites scope to grow.
Acceptance criteria that cannot be tested, such as "easy to use".
Covering only the happy path.
Writing alone, without engineers and designers.
A single-number estimate, with no range.
Treating everything as a must.
Letting the spec go stale as the build changes.
Key takeaways
A spec aligns the team, forces you to think and records decisions. It says what and why, and leaves how to the people who build.
A good one-page spec has a problem and goal, users and scenarios, the solution, scope and non-goals, requirements with acceptance criteria, edge cases, a launch plan, risks and open questions.
Write requirements as user stories with specific, testable acceptance criteria, such as Given, When, Then.
Think through empty states, limits, errors, permissions, odd input, existing data and interruptions, and not only the happy path.
Estimate with a range using optimistic, most likely and pessimistic values. Plan for about 90 per cent confidence, not the best case.
Cut scope with musts, shoulds, coulds and won'ts, build in thin slices and review the spec with engineers, designers, a tester and a fresh reader before the build.
Check yourself
1. What are the three jobs of a spec?
To align the team, to force clear thinking and to record decisions and reasons.
2. Why list non-goals?
They state what is deliberately out of scope, which heads off scope creep and gives you a list for a later version.
3. A task has O = 2, M = 4 and P = 12 weeks. What is its expected time?
(2 + 16 + 12) ÷ 6 = 5 weeks.
4. What is wrong with the acceptance criterion "the page loads quickly"?
It cannot be tested as pass or fail. A better one says, for example, that it loads in under two seconds on a mid-range phone on a 4G connection.
5. A team has 15 usable person-weeks. The musts need 10, the shoulds 4 and the coulds 6. What should they do?
Build the musts and shoulds (14), which leaves 1 person-week, so only a sixth of the coulds fit. The rest are deferred.
6. Why share a draft with engineers before the spec is final?
They know hidden costs, simpler ways to reach the goal and missing technical cases, and finding these early is far cheaper than finding them during the build.
Try this
Write a one-page spec. Set aside 45 minutes.
1. Choose a feature you could plausibly build, real or imagined. Write the problem and goal in two or three sentences, with a metric and a target.
2. Write one scenario for a real user, and three user stories with three acceptance criteria each, in Given, When, Then form.
3. Write the scope in and a non-goals list of at least four items.
4. List ten edge cases and failure states, and what the product should do in each.
5. Break the work into five pieces and give each a three-point estimate. Use the estimation simulator to find the expected time and a 90 per cent plan for each, and add them as in the table.
6. Sort the requirements into musts, shoulds, coulds and won'ts, and use the capacity simulator to see what fits in the time you have.
7. Share the page with one person who would build it. Ask them what is unclear and what is missing, and record their answers and your changes.
A good result is a one-page spec with testable acceptance criteria, a non-goals list, an edge-case table, ranged estimates with a 90 per cent plan, a scope plan that fits capacity and a note of what a reviewer found unclear.
Tags: Product management Product spec Requirements Estimation Engineering