Make the AI Ask First: Confirming Assumptions Before It Builds
Every instruction you give an AI leaves gaps. "Add a sign-up form" doesn't say which fields, what happens after sign-up, whether emails must be unique, or what the error messages say. A person would ask. AI usually doesn't. It fills each gap with a reasonable-sounding guess and carries on.
Most of the time the guesses are fine. But a few will be wrong, and wrong guesses buried in working code are expensive to find later. The fix is simple and costs almost nothing: make the AI tell you what it's assuming before it starts.
Why AI guesses instead of asking
AI tools are built to be helpful and to finish the task. Stopping to ask feels, to the model, like less help. So unless you ask for questions, you mostly won't get them.
AI is not a genie in a bottle. It can't know the things you haven't said: your customers, your rules, the exceptions you've learned over years. Those are exactly the details that matter most.
What it looks like when it goes wrong
I've seen this most clearly in data and admin work. Given a vague instruction, the AI would make one poor assumption after another: running a large scan over a big set of data, forgetting to save the results, then running the same scan again, and again. At the end it would report that everything was fine when it plainly wasn't, and it had to be shown directly why not.
One instruction cured all of it: "Ask questions, make no assumptions." With that, the AI listed every assumption and question it had, along with the path it recommended, before doing anything. We answered, and the work went right the first time.
The habit: assumptions and questions first
Before the AI writes any code for a task, ask it to:
- List every assumption it's making about the task.
- Ask any questions where the answer would change what it builds.
- Wait for your answers before starting.
Then answer, correct the wrong assumptions, and let it build.
A prompt you can copy:
Before you start, list the assumptions you're making about this task and ask me any questions where my answer would change what you build. Don't write code until I've answered.
What good questions look like
For "add a sign-up form", a useful set of questions might be:
- Which fields are required, and which are optional?
- Should we check that the email isn't already registered?
- What happens after sign-up: a welcome email, a dashboard, a confirmation step?
- Who can see the sign-ups, and where?
- Any rules about passwords, or sign-in with Google instead?
Each answer prevents a rebuild. If the AI's questions are shallow, tell it so: "Those are surface questions. What would a senior developer ask?"
A worked example
Here's the difference on a real kind of request: "Add a discount code field to the checkout."
Without asking first, the AI builds a field that accepts a code and takes 10% off. It looks finished. Then you find out it applies to shipping too, works more than once per customer, never expires, and can be stacked with the sale price. Each of those is a guess the AI made silently, and each is now a bug to find.
With the habit, the AI replies before writing anything:
Assumptions: the discount applies to products, not shipping. One code per order. Questions: Are codes a percentage, a fixed amount, or both? Can a code be used more than once per customer? Do codes expire? Can a code be combined with a sale price? Who creates codes, and where?
Five questions, two minutes to answer, and the feature is right the first time. You'll also notice that some of the questions are ones you hadn't thought about yourself. That's the other benefit: the AI's questions improve your own plan.
The assumptions that cause the most damage
In my experience, wrong guesses cluster in a few places. Ask about these directly:
- Money: rounding, taxes, currency, refunds, what happens at zero.
- Who can see or change what: customers, staff, admins, signed-out visitors.
- What happens when something fails: a payment, an email, a lost connection.
- Dates and times: time zones, deadlines, "end of day".
- Existing data: what happens to records created before the change.
- Other places the change shows up: emails, reports, exports, the admin area.
Make it a standing rule
Typing the prompt every time gets old. Put it in your project instructions file (see how to write a project instructions file) so it applies to every session:
Ask questions instead of making assumptions. For any task with more than one reasonable approach, list your assumptions and open questions before writing code.
When to skip it
For tiny, unambiguous changes (fix this typo, rename this button), asking first just slows you down. Use judgment: the more a task touches, and the more it depends on how your business works, the more it's worth the questions.
Three more checks that catch wrong assumptions
- Ask for a plan before code. A plan shows the AI's assumptions in a form that's easy to read and correct. Anthropic's Claude Code best practices suggest asking for a detailed plan, and editing it, before any code is written. More in plan before you prompt.
- Ask it to show every place a change will touch. A change to how prices work might affect the checkout, the invoices and the admin reports. Seeing the list catches surprises.
- Ask it what could go wrong. "What are the risks with this approach?" often surfaces an assumption you'd have missed.
Common questions
Why does my AI coding tool keep making assumptions? Because it's built to complete the task, and stopping to ask feels like less help. It will ask if you tell it to, and it will keep asking if you make that a standing rule.
Won't all these questions slow me down? Answering five questions takes a couple of minutes. Finding one wrong guess in finished code can take hours.
What if the AI asks too many questions? Tell it to ask only where your answer would change what it builds, and to state its other assumptions in a list you can skim.
Does this work in ChatGPT and Copilot too? Yes. The habit is the same in any tool: assumptions and questions first, then the work.
Related guides: plan before you prompt, writing a project instructions file and testing AI-written software.
The bottom line
The most expensive bugs in AI-built software come from reasonable guesses that nobody checked. Making the AI list its assumptions and ask first takes a minute and saves hours. Make it a habit, then make it a rule.
This is part of my guide to building software with AI. If you want to learn these habits hands-on, the founders' workshop covers them, or book a call.