Asking Good Questions by kirupa (https://www.kirupa.com/me/index.htm) | filed under Communication (https://www.kirupa.com/communication/index.htm) TL;DR: A good question gives your helper everything they need in one message: the goal, what happened in its exact words, what you expected, what you already tried, and one specific question. A short question gets a fast reply that is usually another question, so packing it all in gets a useful answer sooner, from people and AI agents alike. - Rosa's "Biscuit is broken!!" text took 6 hours and 3 minutes to turn into a fix that took 8 minutes. Three rounds of follow-up questions ate the rest of the morning. - Pack a question like a lunchbox: the goal, what happened, what you expected, what you tried, and one specific question. The same fix was done by 7:11am. - Describe the goal before the step you're stuck on, and send what happened instead of your guess about why. Asking about the step is called the XY problem. - Coding agents often guess instead of asking, so a prompt also needs where to look, what done means, and a request to check in before changing anything else. At 6:52 one Thursday morning in November, Rosa sent Wren a text that said "Biscuit is broken!!" Wren fixed the problem in about 8 minutes. Finding out what the problem was took six hours. Most of us have sent a message like that one to a coworker, a forum, or (more and more often) an AI agent. In this article, we're going to look at how to ask for help so our helper can give us a useful answer the first time. Onwards! Biscuit Is Broken!! Rosa is the shift lead at Crumb & Co., our neighborhood bakery, and she runs our holiday pie pre-orders. Wren keeps our website running, along with Biscuit, our help desk bot. Here is their conversation, as we see it on Wren's phone: [Image: Wren's phone, showing a text thread with Rosa on Thursday morning. Rosa, 6:52 AM: Biscuit is broken!! Wren, 7:03 AM: What's broken? Rosa, 8:41 AM: It told a customer Wednesday is full. Wren, 9:58 AM: For pie pickup? What time? Rosa, 11:20 AM: Yes, 9:30 on the 25th. She wanted to move it from Tuesday. Wren, 11:34 AM: What did Biscuit say, exactly? Rosa, 12:47 PM: My list says 9:30 has 7 spots left. I refreshed it twice! Wren, 12:55 PM: Found it. Fixed! Rosa's 12:47 PM text also has a screenshot of Biscuit's chat. A note points at Wren's last message: 6 hours later!] (https://www.kirupa.com/communication/images/asking_good_questions_short_thread.png) (https://www.kirupa.com/communication/images/asking_good_questions_short_thread.png?v=ec82a5e88fb0) By 12:47pm, Wren finally had the whole story. One of our customers had asked Biscuit to move her pie pickup from Tuesday to Wednesday at 9:30, and Biscuit told her that Wednesday was full. Rosa's list showed 7 spots left in that slot (each of our half-hour slots holds 12 pies), and she had refreshed it twice. She expected Biscuit to offer our customer that 9:30 slot. Rosa knew all of this at 6:52am, and it reached Wren one piece at a time. Where Did the Morning Go? Each time Wren asked a question, Wren had to wait for Rosa to get a free moment and send back one more piece of our story. Every one of those ask-and-wait loops is a round trip. We'll draw our morning as one long bar to see where the time went: [Image: Rosa and Wren's Thursday morning as one bar from 6:52 AM to 12:55 PM, 6 hours and 3 minutes long. Most of the bar is waiting: waiting for Wren after each of Rosa's texts, and waiting for Rosa after each of Wren's 3 questions, marked with question marks at 7:03 AM, 9:58 AM, 11:34 AM. Only the last sliver, from 12:47 PM to 12:55 PM, is green: 8 minutes of fixing.] (https://www.kirupa.com/communication/images/asking_good_questions_timeline.png) (https://www.kirupa.com/communication/images/asking_good_questions_timeline.png?v=d4ef316f0964) Out of 6 hours and 3 minutes, Wren spent just 8 minutes fixing our bug, and the rest of our bar is waiting. Nobody was slacking off, either. Rosa was selling bread and Wren was busy with other work, which is how the people we ask for help usually are. Back in 2006, I wrote a guide for our forums called Hitchhiker's Guide to the Forums: Getting Help (https://www.kirupa.com/forumGuide/gettinghelp.htm). One of its tips compares two thread titles: [Image: Two thread titles from a forum list. The first says: Help me! and a question mark sits next to it, because a helper can't tell what it's about. The second says: Counter variable resets to zero after a scene change. Three parts of it are highlighted and labeled: Counter variable is the thing, resets to zero is what goes wrong, and after a scene change is when.] (https://www.kirupa.com/communication/images/asking_good_questions_forum_titles.png) (https://www.kirupa.com/communication/images/asking_good_questions_forum_titles.png?v=de966d49df1b) Anyone scrolling past "Help me!" can't tell what it's about, so their first reply is going to be a question. The second title tells us the thing, what goes wrong, and when. My guide admits that spending "the extra five minutes to describe your problem in detail" can be frustrating, and Rosa's morning shows us why it's worth it. The guide's name comes from Douglas Adams's The Hitchhiker's Guide to the Galaxy, home of the most famous answer to an unknown question: [Image: A gag. A huge old supercomputer named Deep Thought, with blinking lights, shows the number 42 on its screen. A sticky note on its side says: 7.5 million years of thinking. Two mice, the beings who asked it, look up at it and say: Great! So... what was the question?] (https://www.kirupa.com/communication/images/asking_good_questions_deep_thought.png) (https://www.kirupa.com/communication/images/asking_good_questions_deep_thought.png?v=4aa442ae17e3) In the book, a supercomputer named Deep Thought (https://en.wikipedia.org/wiki/Phrases_from_The_Hitchhiker%27s_Guide_to_the_Galaxy) spends 7.5 million years working out the Answer to the Ultimate Question of Life, the Universe, and Everything. The answer is 42, and Deep Thought then points out that nobody who asked ever knew what the question was. Oops. Packing a Lunchbox So, what would have saved our morning? Wren needed a handful of things to start on a fix, and Rosa had every one of them at 6:52am. I like to picture our question as a well-packed lunchbox, with one compartment for each of those things: [Image: A red lunchbox seen from above, with a handle and its lid off, packed with five compartments. Top row: The goal (what you're trying to do), with a target icon, and What happened (exact words or a screenshot), with a camera icon. Bottom row: What you expected (instead), with a crystal ball, What you tried (so far), with a wrench, and Your question (one, specific), with a question mark.] (https://www.kirupa.com/communication/images/asking_good_questions_lunchbox.png) (https://www.kirupa.com/communication/images/asking_good_questions_lunchbox.png?v=5c840c317625) Here is what we put in each compartment: - The goal is what you're trying to get done. - What happened goes in its exact words, or as a screenshot. - What you expected is what should have happened instead. - What you tried keeps your helper from suggesting it again. - Your question is the one specific thing you want answered. My forum guide asks people to list the solutions they have attempted, and Eric S. Raymond and Rick Moen's How To Ask Questions The Smart Way (http://www.catb.org/~esr/faqs/smart-questions.html) (first published in 2001) tells us to "anticipate the questions a hacker will ask, and answer them in advance," which is what our compartments do. Let's repack Rosa's 6:52am text and replay the rest of our morning: [Image: Wren's phone again, with the same morning redone. At 6:52 AM, Rosa sends one longer text, and brackets beside it label each part. The goal: A customer wants to move her pie pickup from Tuesday to Wednesday at 9:30. What happened: She asked Biscuit at 6:40 this morning, and Biscuit said Wednesday is full. Screenshot:. (A screenshot of Biscuit's chat.) What you expected: My list shows 7 spots left at 9:30, so Biscuit should have offered it. What you tried: I refreshed my list twice. Still 7. Your question: Can you see why Biscuit thinks Wednesday is full? Wren replies at 7:03 AM: On it! And at 7:11 AM: Fixed! Biscuit was looking up Thursday's slots by mistake.] (https://www.kirupa.com/communication/images/asking_good_questions_packed_thread.png) (https://www.kirupa.com/communication/images/asking_good_questions_packed_thread.png?v=87b5416e3103) Rosa's packed text is 58 words long. Wren still sees it at 7:03am, and our fix still takes 8 minutes. What changes is that Wren can start fixing right away, so our bug is gone by 7:11am. Do Short Questions Get Faster Answers? It sure feels like they should! We'll compare how long each of Rosa's texts took to get a first reply, and how long each took to get our bug fixed: [Image: A bar chart of minutes after Rosa's first text. First reply: 11 minutes for Biscuit is broken!! and 11 minutes for the packed text. Fixed: 6 hours and 3 minutes for Biscuit is broken!!, and 19 minutes for the packed text. A note points at the long bar: 3 rounds of questions!] (https://www.kirupa.com/communication/images/asking_good_questions_reply_chart.png) (https://www.kirupa.com/communication/images/asking_good_questions_reply_chart.png?v=8a6544602b8d) Let's look at the first row. Wren replied to both of our texts in 11 minutes, so our short question really did get a fast reply. That reply was another question, though, and so were the next two. With more than an hour of waiting in each round trip, our short question took 6 hours and 3 minutes to get a useful answer, while our packed question took 19 minutes. What matters to us is how long it takes to get unstuck, and by that measure, our short question was the slow one. The Classic Traps Even with a lunchbox in hand, we're going to run into a few traps that catch almost all of us. Ask About the Goal A few days earlier, the first Wednesday pickup times had filled up. Wren wanted to stop our customers from picking full times on our order page, and the plan was to hide Wednesday in our date picker. Here is the forum post Wren wrote, next to the one we wish Wren had written: [Image: Two forum posts Wren could write. Asking about the step: How do I hide Wednesday in our date picker? A helper replies: Add Wednesday to the list of disabled dates. Result, marked with a red X: it hides all of Wednesday, even the times with room. Asking about the goal: Customers keep picking pickup times that are already full. A helper replies: Only show the times that still have room. Result, marked with a green check: it hides just the full times.] (https://www.kirupa.com/communication/images/asking_good_questions_xy.png) (https://www.kirupa.com/communication/images/asking_good_questions_xy.png?v=550284fef442) Our helper on the left answered exactly what Wren asked, and that answer hides the Wednesday times that still have room. The post on the right starts with the goal, so its helper can suggest a better step: hide just the full times. Asking about the step we picked (our X) instead of the problem we are trying to solve (our Y) is so common that it has a name. It's called the XY problem (https://xyproblem.info/), and Raymond and Moen's fix is to "begin by describing the goal" before we mention any step. Describe What Happened When something breaks, we usually have a guess about why, and it's tempting to send our guess instead of what happened: [Image: Two ways Rosa could describe the problem. A guess: I think Biscuit's database lost Wednesday's slots. That sends Wren to check the database, which is fine. What happened: At 6:40, Biscuit told a customer Wednesday 9:30 is full. My list says 7 spots left. That sends Wren straight to Biscuit's chat log from 6:40.] (https://www.kirupa.com/communication/images/asking_good_questions_symptoms.png) (https://www.kirupa.com/communication/images/asking_good_questions_symptoms.png?v=c77d3f19e33a) Rosa's guess sends Wren off to check our database, which is working fine. What actually happened, with the time and the numbers, takes Wren straight to the chat log where our bug is. Raymond and Moen ask us for "the raw symptoms of what goes wrong" in place of our theories, and if we want to share a guess anyway, they tell us to label it as one. Don't Pack the Whole Kitchen The opposite trap is attaching everything we can find. A question with days of server logs, every screenshot, and the whole codebase is a lot like a suitcase that won't close: [Image: Two ways to pack a question. On the left, a suitcase so overstuffed it won't close, with papers spilling out of it: 3 days of server logs, every screenshot, the whole codebase, a voice memo. On the right, a small, neat lunchbox holding just the 6:40 chat, 1 screenshot, Rosa's slot list.] (https://www.kirupa.com/communication/images/asking_good_questions_suitcase.png) (https://www.kirupa.com/communication/images/asking_good_questions_suitcase.png?v=c6ab6d6dd58b) Our helper is going to have to dig through all of that to find the one chat that matters. Raymond and Moen sum this up in four words, "Volume is not precision," and Stack Overflow's guide to asking (https://stackoverflow.com/help/how-to-ask) wants "just enough code to allow others to reproduce the problem." Asking an Agent All of this works the same way when our helper is an AI agent, with one big difference. When something was missing from Rosa's text, Wren asked about it. A coding agent often won't ask. It will guess and keep going. When Rosa's details finally arrived, Wren opened our coding agent to make the fix, and Wren's first prompt looked a lot like Rosa's first text: [Image: A coding agent window. Wren's prompt: fix the pickup bug. The agent replies: I found a pickup bug in order_page.js: customers could pick times that had already passed. I hid them in the time picker. 1 file changed. A note points at the reply: a different bug!] (https://www.kirupa.com/communication/images/asking_good_questions_agent_short.png) (https://www.kirupa.com/communication/images/asking_good_questions_agent_short.png?v=239602fa6a4a) Wren knew which pickup bug this was. Our agent didn't, so it found a different problem with pickup times and changed that instead, without asking which bug Wren meant. Wren threw that change away and packed a lunchbox for our agent: [Image: The same coding agent window with Wren's packed prompt: Goal: when a customer asks Biscuit to move a pie pickup, Biscuit should offer the open slots. What happens: at 6:40 AM a customer asked to move her pickup from Tuesday to Wednesday 9:30, and Biscuit said Wednesday is full. See today's log. Expected: Wednesday 9:30 has 7 open spots. Already checked: Rosa's slot list is right. Look at: the check_pickup_slots tool. Done means: a test where Biscuit offers 9:30 Wed. Ask me before you change anything else. The agent replies: At 6:40, Biscuit asked check_pickup_slots for 2026-11-26, which is Thursday. There's no pickup on Thursday, so it found no open slots. I added a check for that, plus the test. 2 files changed.] (https://www.kirupa.com/communication/images/asking_good_questions_agent_packed.png) (https://www.kirupa.com/communication/images/asking_good_questions_agent_packed.png?v=5ebf54c30565) Our packed prompt has the same compartments as Rosa's text, plus two that agents really need: where to look and what done means. Its last line asks our agent to check in before changing anything else. This time, the agent found the real bug. Biscuit had been looking up the slots for Thursday, November 26, and since there is no pie pickup on Thursday, it found no open slots. Anthropic's prompting guide (https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices) suggests thinking of its model as "a brilliant but new employee who lacks context on your norms and workflows," and it has a test we can run on any question. We show our prompt to "a colleague with minimal context on the task," because "if they'd be confused, Claude will be too." Wren's four-word prompt is going to fail that test almost instantly. Sometimes Packing Answers the Question The next morning, Biscuit told another of our customers that 7:00 on Tuesday was full. Let's watch what happens when Rosa starts packing a text to Wren: [Image: A gag. Rosa's phone with an unsent draft to Wren: Goal: a customer wants Tuesday at 7:00. What happened: Biscuit says 7:00 is full. Expected: 7:00 has room. What I tried: I checked my list, and 7:00 has 12 of 12 pies. Oh. The phrase 12 of 12 pies is highlighted. A yellow rubber duck sits next to the phone. A note points at the send button, which never got pressed: never sent!] (https://www.kirupa.com/communication/images/asking_good_questions_duck.png) (https://www.kirupa.com/communication/images/asking_good_questions_duck.png?v=9b6b84dbd85f) By the time Rosa reached "What I tried," she had her answer. Our 7:00 slot really did have 12 of 12 pies, so Biscuit was right all along. Explaining a problem one step at a time, even to a listener who never says a word, often makes the answer jump out at us. Programmers call this rubber duck debugging (https://en.wikipedia.org/wiki/Rubber_duck_debugging), after a story in Andy Hunt and Dave Thomas's 1999 book The Pragmatic Programmer about a research assistant who carried a rubber duck around to explain problems to. The book says explaining step by step "often causes the problem to leap off the screen and announce itself," which is what happened to Rosa. Close the Loop Once our question gets answered, there is one more small thing to send. We tell our helper how it turned out: [Image: Wren's phone, later that Thursday. Wren, 12:55 PM: Found it. Fixed! Wren, 12:56 PM: Biscuit was looking up Thursday's slots instead of Wednesday's. Rosa, 1:14 PM: It worked! She's booked for Wednesday at 9:30. Thank you!! A note points at Rosa's reply: loop closed!] (https://www.kirupa.com/communication/images/asking_good_questions_loop.png) (https://www.kirupa.com/communication/images/asking_good_questions_loop.png?v=88e0e3ebe6f2) Raymond and Moen call this step "Follow up with a brief note on the solution," and it lets Wren stop worrying about our customer. On a forum, a note like this also saves the next person with the same problem from asking again. (Our team's written threads work the same way, which Async Communication (https://www.kirupa.com/communication/async_communication.htm) covers.) When a Short Question Is Fine So, does every question need a lunchbox? Nope. When our helper already knows everything we know, a short question is perfect: [Image: Two short questions. In the kitchen, Rosa asks the owner, who is standing right there: Is the oven on? The owner answers: Since 4:30! A green check. Over text, Rosa sends Wren, who is somewhere else: Biscuit is broken!! Wren answers: What's broken? A red X.] (https://www.kirupa.com/communication/images/asking_good_questions_oven.png) (https://www.kirupa.com/communication/images/asking_good_questions_oven.png?v=d428637f21f7) In the kitchen, our owner is standing next to Rosa and the oven, so "Is the oven on?" has nothing missing. Wren wasn't in our shop, couldn't see Biscuit's chat, and didn't know one of our customers had asked anything. A lunchbox carries the things our helper can't see. When they can already see it all, packing it anyway will just give them more to read. Try It This Week Find the last help request you sent (a text, a forum post, a bug report, or a prompt to an agent), and let's repack it: 1. Write your goal in one sentence at the top. 2. Paste what happened in its exact words, or attach a screenshot. 3. Say what you expected to happen instead. 4. List what you already tried, and what happened each time. 5. End with one specific question, and then reread it as someone who wasn't there. If the answer jumps out while you're packing, you have my permission to delete the draft. Frequently Asked Questions How Do You Ask a Good Question? Give your helper everything they need in one message: the goal, what happened in its exact words or a screenshot, what you expected, what you already tried, and one specific question. That way they can start helping right away instead of replying with questions of their own. Each of those follow-up questions is a round trip, and round trips are where most of the waiting happens. What Is the XY Problem? The XY problem is asking about the step you picked (X) instead of the problem you’re actually trying to solve (Y). A helper will answer the step you asked about, even when a better step exists. Describing the goal first lets them suggest that better step. What Is Rubber Duck Debugging? Rubber duck debugging is explaining a problem one step at a time, even to a listener who never says a word, until the answer jumps out at you. The name comes from a story in Andy Hunt and Dave Thomas’s 1999 book The Pragmatic Programmer. Packing a careful question often works the same way, and sometimes you never need to send it. How Do You Write a Good Prompt for a Coding Agent? Pack it like any good question: the goal, what happens, what you expected, and what you already checked. Coding agents often guess instead of asking, so also say where to look and what done means. Asking the agent to check in before it changes anything else keeps a vague prompt from turning into the wrong fix. Conclusion Ok! It's time to wrap things up. Rosa's first text left out almost everything Wren needed, and each missing piece cost us a round trip, which is how an 8-minute fix took 6 hours and 3 minutes. Her packed text filled every compartment of our lunchbox, so the same fix was done by 7:11am. Our agents need the same lunchbox, plus where to look and what done means, because they are more likely to guess than to ask. Short questions are still great when our helper already sees what we see. Most of the time, though, they don't. That also wraps up our Writing Basics course. If you want to keep packing lunchboxes for agents, Specs Agents Can Build From (https://www.kirupa.com/product_thinking/specs_for_agents.htm) looks at writing instructions a coding agent can build a whole feature from. Happy asking! 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, The Curse of Knowledge (https://www.kirupa.com/communication/curse_of_knowledge.htm), or check out some related content: - Specs Agents Can Build From (https://www.kirupa.com/product_thinking/specs_for_agents.htm). Turn a fuzzy idea into a spec a coding agent can build a feature from. - Context Engineering (https://www.kirupa.com/ai_fundamentals/context_engineering.htm). Deciding what goes into an agent’s context window on every step. - Error Messages and Recovery: How to Write Errors That Help (https://www.kirupa.com/human_behavior/error_messages.htm). Writing errors that say what happened, why, and what to do next. 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 Asking Good Questions Quiz: https://www.kirupa.com/quizzes/asking_good_questions.htm Practice with 6 multiple-choice questions and an explanation after every answer. [/Mastery Quiz]