The One-Page Spec by kirupa (https://www.kirupa.com/me/index.htm) | filed under Product Thinking (https://www.kirupa.com/product_thinking/index.htm) TL;DR: A single sheet, written before any code, that says what problem we're solving, who has it, one number that will show it worked, what this version won't do, and what we don't know yet is called a one-page spec. Because it's that short, the owner, the builder, and an AI coding agent all read it and build the same thing. - A success measure is one number that should move plus a plain way to check it, like 'Is my order ready?' calls dropping from 31 a week to under 10 within 4 weeks, counted on the notepad by the phone every Friday. - Non-goals are things this version won't do, even good ideas, so when an idea comes back mid-build, everyone points at the page instead of starting the argument over. - Pasting the page into a coding agent's prompt keeps it from guessing at gaps, like adding a checkout nobody asked for. - The page takes about half an hour, changes as open questions get answered, and sits above the detailed feature spec an agent builds a single feature from. Building software has never been faster. Wren, the web developer at Crumb & Co., can describe a help desk bot to an AI coding agent on Friday and have Biscuit answering questions on the bakery's website by Sunday. The trouble shows up on Monday. The owner wants Biscuit to take deposits, a customer wants it to book cake tastings, and the agent has helpfully added a checkout page that nobody asked for. None of those ideas are crazy, which is what makes them so hard to say no to. In this article, we'll write down, on a single sheet, what we are building, who it's for, how we'll know it worked, and what we're leaving out. Then we'll see how that sheet helps Wren settle arguments with people and with agents. Onwards! One Page Before Any Code Before Wren types a single prompt, we have some homework to gather up. In Problems Before Solutions (https://www.kirupa.com/product_thinking/problems_before_solutions.htm), we described a problem without naming any technology. In Who Is It For? (https://www.kirupa.com/product_thinking/who_is_it_for.htm), we picked the specific people who have that problem. Right now, our answers are scattered all over the place, and they look as follows: [Image: Wren's answers start out in three places: a notebook, texts with the owner, and Wren's head. Arrows from all three lead to one page for Biscuit.] (https://www.kirupa.com/product_thinking/images/one_page_spec_scattered.png) What we are going to do here is pull the notebook, the texts, and Wren's head together, add a few new answers, and fit everything on one sheet of paper. Our sheet will cover the following: - The problem we are solving, in plain words. - The people who have that problem. - How we will know that we solved it. - What we are leaving out, at least for now. - What we don't know yet. Each answer is a sentence or two, so the whole thing fits on one page, and a page that short is something people will actually read. People call a page like this a one-page spec (spec is short for specification), and plenty of teams just call it a one-pager. (When what we need from someone is a decision instead of a build, the page we want is a one-page memo (https://www.kirupa.com/communication/one_page_memos.htm), which works a little differently.) Here is who is going to read ours: [Image: Biscuit's one-page spec sits in the middle. The owner checks it, Wren builds from it, the coding agent reads it with every prompt, and Wren reads it again next month to remember why.] (https://www.kirupa.com/product_thinking/images/one_page_spec_readers.png) The owner checks our page, because nobody knows the bakery better than the owner does. Wren builds from it, and so does the coding agent, which gets our page as part of every prompt. A month from now, Wren will read it again to remember why we built Biscuit the way we did. Here is the empty page we start with: [Image: An empty page titled Biscuit v1, for Wren and the owner at Crumb & Co. It has five empty sections: Problem, Who it's for, How we'll know it worked, Won't do in v1, and Open questions.] (https://www.kirupa.com/product_thinking/images/one_page_spec_blank.png) We will fill in our page one section at a time. The whole thing takes us about half an hour, and most of that half hour goes to talking with the owner. What Problem Are We Solving? The first section is the problem, written in plain words. We keep it to two sentences, and we leave Biscuit out of it completely: [Image: The Problem section, zoomed in from the page: about 50 calls come in a week, and 31 of last week's were 'Is my order ready?' Each call pulls the owner away from the counter or the oven.] (https://www.kirupa.com/product_thinking/images/one_page_spec_problem.png) Biscuit's name doesn't appear anywhere in our problem. We wrote about the phone and the owner instead, because the problem would still be there if we never built a bot. We also put a number in it. The owner keeps a notepad next to the phone, and last week's page shows 51 calls, 31 of them asking whether an order was ready. We are going to lean on that 31 soon. Who Has the Problem? Next up is the user. We could write "bakery customers," but that covers everyone from a tourist buying a single croissant to a cafe that orders 200 rolls a week. Instead, we pick the people who are making most of those order calls: [Image: The Who it's for section, zoomed in from the page: regulars who order ahead for pickup and check on it from their phone before leaving home. The Problem section above it is filled in.] (https://www.kirupa.com/product_thinking/images/one_page_spec_who.png) Our regulars matter here, since 96 of last month's 140 online pickup orders came from repeat customers. They already ordered ahead, so they have an order number that Biscuit can look up. A tourist is still welcome to ask Biscuit about croissants. When we have to choose between two features later on, though, our regulars come first. How Will We Know It Worked? It is tempting to fill this section with something like "customers love Biscuit." That sounds lovely, but how would anybody check it on a Friday afternoon? What we want is one number that should move if Biscuit really solves our problem, plus a plain description of how somebody will check that number. That pairing is called a success measure, and here is ours: [Image: The How we'll know it worked section, zoomed in from the page: 'Is my order ready?' calls drop from 31 a week to under 10 within 4 weeks of launch. Check: count them on the notepad by the phone every Friday.] (https://www.kirupa.com/product_thinking/images/one_page_spec_success.png) We picked 'Is my order ready?' calls over something like the number of chats with Biscuit. A busy chat window could still go along with a busy phone, if Biscuit gives bad answers and people call the bakery anyway. Since those calls are the problem we wrote down at the top of our page, those calls are what the owner will tally on the notepad and Wren will count every Friday. Before launch, the chart for our success measure looks as follows: [Image: 'Is my order ready?' calls per week. Last week, before launch, the owner's notepad shows 31. Weeks 1 to 4 after launch are still empty, each to be counted from the notepad on Friday. A dashed goal line sits at 10.] (https://www.kirupa.com/product_thinking/images/one_page_spec_measure.png) The first bar is last week's notepad count of 31. The four weeks after launch are still empty, and each one gets filled in from the notepad on Friday. If we get to week 4 and the bars are still way above 10, that tells us something too. It means Biscuit isn't solving our problem yet, and we'd rather find that out in a month than in a year. What Won't Biscuit Do? This next section feels backwards the first time we write one. We list things Biscuit will not do in its first version (aka v1), even though a couple of them are good ideas. These are known as non-goals: [Image: The Won't do in v1 section, zoomed in from the page: no payments, no wedding-cake consultations, and no changing or canceling orders.] (https://www.kirupa.com/product_thinking/images/one_page_spec_wont.png) We've already heard all of these. The owner would love for Biscuit to take payments someday, and a customer asked at the counter whether Biscuit could help plan a wedding cake. A non-goal can still happen in a later version. By writing it down today, we can point at our page when the idea comes back in three weeks, instead of starting the whole discussion over from scratch. What Don't We Know Yet? The last section is for the things we don't know yet. We aren't sure whether Biscuit can even read order status from the bakery's order system, and we haven't decided what Biscuit should say when it doesn't know an answer. These are our open questions. Writing them down keeps them from turning into silent guesses (by Wren or by an agent). With that last section filled in, here is our whole page: [Image: Biscuit v1, for Wren and the owner at Crumb & Co. Problem: about 50 calls come in a week, and 31 of last week's were 'Is my order ready?', and each call pulls the owner away from the counter or the oven. Who it's for: regulars who order ahead for pickup and check on it from their phone before leaving home. How we'll know it worked: 'Is my order ready?' calls drop from 31 a week to under 10 within 4 weeks of launch, counted on the notepad by the phone every Friday. Won't do in v1: no payments, no wedding-cake consultations, no changing or canceling orders. Open questions: can Biscuit read order status from the order system, and what does Biscuit say when it doesn't know?] (https://www.kirupa.com/product_thinking/images/one_page_spec_page.png) The whole page is about 120 words. The owner reads it over a coffee and changes two words, and we can paste all of it into a prompt. As it turns out, that last part is going to save us a bunch of trouble once a coding agent joins the build. Settling Arguments Later A week into the build, the owner comes back from the counter excited about a customer's idea: [Image: The owner asks: Could Biscuit book wedding-cake tastings? The Won't do in v1 section already says no wedding-cake consultations, so the idea goes onto a yellow sticky note titled Ideas for v2.] (https://www.kirupa.com/product_thinking/images/one_page_spec_wedding.png) We don't have to say no on the spot, and nobody's idea gets called a bad one. The owner helped write our Won't do in v1 section, so the conversation ends with wedding-cake tastings on the sticky note for v2 instead of in this week's work. Our success measure settles a different kind of argument. We have time for one more feature before launch, and there are two candidates. Here is how each one stacks up against our goal: [Image: The goal: under 10 'Is my order ready?' calls a week. On the left, Biscuit answers 'Is order #1042 ready?' with 'Yes! Your rye loaf is ready for pickup.' Fewer calls: yes. On the right, a cookie that waves hello on the website. Fewer calls: no.] (https://www.kirupa.com/product_thinking/images/one_page_spec_two_features.png) The waving cookie is adorable (I want it too!). Then again, nobody calls the bakery to ask whether the website has a cookie that waves. People call to ask if their order is ready, so the order status lookup goes first, and the cookie can wait for a slow week. Keeping Agents on Track These days, we aren't the only ones writing our code. Wren hands the build to an AI coding agent, which reads the existing code, plans the work, and writes it. An agent only knows what we tell it, and it fills every gap in our instructions with its best guess. Here is the plan the agent came up with from a one-line prompt, next to the plan it came up with when Wren pasted in our page: [Image: Two plans from a coding agent. Prompt only: chat window on the site, look up order status, add a checkout to pay in chat, and answer hours and stock. Prompt plus the one-page spec: the same plan, except the checkout is crossed out, because it is listed under Won't do in v1.] (https://www.kirupa.com/product_thinking/images/one_page_spec_agent_plan.png) The agent wasn't being sloppy, because a checkout is a pretty reasonable guess for a bakery bot and nothing in a one-line prompt said otherwise. With our page in the prompt, the agent can see that payments are under Won't do in v1, so it drops step 3. This means that we never have to review a pile of code for a feature nobody wanted. Our page also sits on top of something more detailed. In Spec-Driven Development (https://www.kirupa.com/ai_fundamentals/spec_driven_development.htm), we looked at the longer spec an agent builds a single feature from, complete with acceptance criteria (statements that a test can mark as pass or fail). The one-page spec comes before all of that and covers the whole product: [Image: Three layers. The one-page spec covers why, who, success, and what's out, for the whole product. Below it, a feature spec covers what one feature does and the checks it has to pass. Below that, the code is how it works.] (https://www.kirupa.com/product_thinking/images/one_page_spec_layers.png) When we write the feature spec for the order status lookup, we copy the problem, the user, and the non-goals straight in from our page, so the agent building that one feature will know why the feature exists and which detours to skip. Isn't This Just Paperwork? If the word spec makes you think of the TPS reports in Office Space (1999), where Peter Gibbons hears about the new cover sheets from one boss after another, I don't blame you. A lot of us have run into requirements documents that look something like this: [Image: A joke picture. On the left, a teetering stack of eight binders, the top one labeled Requirements v14 FINAL (2), with a handwritten note: Needs a new cover sheet. On the right, Biscuit's single page.] (https://www.kirupa.com/product_thinking/images/one_page_spec_binders.png) The binder version takes weeks to write, and by the time it is done, nobody wants to open it. Our page takes half an hour, it fits on one screen, and an agent gets all of it in every prompt. Our page also changes whenever we learn something. A few days into the build, Wren finds out that the order system has a status lookup, and a new question comes up along the way: [Image: Before: two open questions, can Biscuit read order status from the order system, and what does Biscuit say when it doesn't know. After: the first question is crossed out and answered, yes, there's a status lookup, and a new question is added: should Biscuit answer after 6pm?] (https://www.kirupa.com/product_thinking/images/one_page_spec_update.png) We cross out the answered question, write the answer down, and add the new question. Our page is never really finished...at least until v1 ships and we start a fresh page for v2. Try It This Week Pick something you're about to build (or about to hand to an agent), and write its one-page spec before anyone writes any code: 1. Describe the problem in one or two sentences without naming any technology, and include a number if you have one. 2. Write down who has the problem, specifically enough that it leaves somebody out. 3. Pick one number that should move if you succeed, and write down exactly how and when you will check it. 4. List two things you won't do in this version and two things you don't know yet, then paste the whole page at the top of your next agent prompt. Conclusion Ok! It is time to wrap things up. Before Wren wrote a single prompt, we spent half an hour on one sheet of paper with the problem, the people who have it, one number that should move, the things Biscuit won't do yet, and the questions nobody can answer yet. That page kept the owner, Wren, and a coding agent all building the same Biscuit, and whenever someone asked "could Biscuit also...", we had an answer sitting right there on our page. Writing that page is also how we found out what we didn't know yet, which is the idea behind Writing Is Thinking (https://www.kirupa.com/communication/writing_is_thinking.htm). A one-page spec can't tell us whether we picked the right problem, and our success measure can fool us too. If the phone goes quiet because it is a slow week in January, Biscuit will look like a hero for no reason, so we will want to read some of Biscuit's chats alongside the notepad. Next, we'll take our page and cut Biscuit down to the smallest thing worth shipping in Your First Version (https://www.kirupa.com/product_thinking/your_first_version.htm). Happy writing! Before you go, here are a few things you can do: 1. Test your knowledge by taking the quiz below. 2. Read the next article in the series, Your First Version (https://www.kirupa.com/product_thinking/your_first_version.htm), or check out some related content: - Spec-Driven Development (https://www.kirupa.com/ai_fundamentals/spec_driven_development.htm). The detailed, per-feature spec with acceptance criteria that an AI coding agent builds from. - What Is Product Strategy? Vision vs. Strategy vs. Roadmap (https://www.kirupa.com/pm_and_beyond/what_is_product_strategy.htm). How a problem worth solving fits with a way to make it pay off. - Product Builders, AI Agents, and the One-Pizza Team (https://www.kirupa.com/product_development/product_builders_one_pizza_team.htm). Why building now means deciding the what and why for AI agents. 3. Stuck on something, or curious about a detail we skipped? Ask on the forums (https://forum.kirupa.com/), and we’ll help you out. [Mastery Quiz] Test your knowledge! Take the The One-Page Spec Quiz: https://www.kirupa.com/quizzes/one_page_spec.htm Practice with 5 multiple-choice questions and an explanation after every answer. [/Mastery Quiz]