Plan Before You Prompt: Breaking a Software Project into Tasks AI Can Do Well

The fastest way to waste a weekend with an AI coding tool is to open it and type "build me an app that does X."

It will. Quickly. And because the AI fills every gap in your request with a guess, you'll get an app that looks right and is wrong in a dozen small ways: the wrong fields, the wrong rules, a flow nobody would use. By the time you notice, the mistakes are woven through everything.

Planning fixes this. Not a 40-page spec, just enough structure that the AI is building the right thing, in pieces you can check.

Why planning matters more with AI, not less

When a person builds software, they ask questions as they go. AI mostly doesn't, unless you tell it to. It also works so fast that a wrong direction gets a lot of code built on it before you see the problem.

Anthropic's own guidance for Claude Code makes the same point: separate research and planning from implementation, so you don't solve the wrong problem. It also notes the exception: if you could describe the change in one sentence, skip the plan.

How I learned this

When we first started building with AI at Pairrd, we overestimated what it could do in one go. A few times we asked it to build a whole feature in one shot. Each time, the result had too many bugs and too many poor decisions baked in to fix one by one. It was faster to throw the work away and start again properly, with a plan and small steps.

That's the trap: a one-shot build feels fast for the first hour, and then costs you the whole job twice.

Step 1: Write the one-page brief

Before any code, write down:

  • The problem. What's painful today, in plain words.
  • The users. Who uses it, and how often.
  • What "done" looks like. The three to five things it must do. Not the twenty things it could do.
  • What it must not do. Out of scope for now.
  • Where it lives. Your own accounts, the tools it must connect to.

This takes 30 minutes and saves days. It's also the first thing to give the AI.

A one-page brief you can copy

Here's a filled-in example for a small booking tool. Yours can be this short.

# Brief: Booking tool for a mobile bike repair business

## Problem
Customers book by text message. I lose track of requests, double-book,
and spend an hour a day replying.

## Users
- Customers: book once or twice a year, on their phone.
- Me: check the schedule every morning and evening.

## Done means
1. A customer can see open times and book one in under a minute.
2. Two people can't book the same time.
3. The customer gets a confirmation email; I get a notification.
4. I can see the week's bookings on one screen and block out time off.

## Not in this version
Payments, reminders, customer accounts, more than one mechanic.

## Where it lives
My own hosting and domain. Sends email from my business address.

## Exceptions I already know about
- Jobs take 30, 60 or 90 minutes depending on the repair.
- I need 30 minutes of travel between bookings.
- No bookings less than 12 hours ahead.

The last section is the one people skip, and it's where most of the real work hides.

Step 2: Let the AI help plan, but not decide

Give the AI your brief and ask it to:

  1. Ask you any questions it has before planning (more in make the AI ask first).
  2. Propose a plan: the screens, the data, the steps, in order.
  3. Point out risks and anything it thinks you've missed.

A chat tool like Claude is good for this planning conversation. Then you review the plan and change what's wrong. You're the one who knows the business.

Step 3: Break it into small, checkable tasks

A good task for AI is small enough that you can check the result in a few minutes and know whether it's right. For example, instead of "build the booking system":

  1. Show a list of available times from a fixed list.
  2. Let a customer pick a time and enter their name and email.
  3. Save the booking.
  4. Send a confirmation email.
  5. Stop two people booking the same time.
  6. Show the owner a list of upcoming bookings.

Each one is easy to test. If step 5 is wrong, you know exactly where to look.

Step 4: Build in order, check each piece

Work through the tasks one at a time. After each one:

  • Try it yourself, including the awkward cases (what if two people book at once?).
  • Fix it before moving on.
  • Save a working version, so you can always go back.

This feels slower than asking for everything at once. It's much faster in total, because problems get caught while they're small.

Step 5: Keep the plan up to date

Plans change as you learn. When you change direction, update the brief and the task list, and tell the AI what changed and why. A plan that no longer matches reality is worse than no plan.

How big should a task be?

A useful test: can you check the result in under ten minutes and say yes or no? If you'd need an afternoon to tell whether it's right, the task is too big. Split it.

Signs a task is too big:

  • The description has the word "and" in it more than once.
  • You can't say how you'd test it.
  • It touches something that already works, plus something new.

Signs it's about right: one screen, one rule, or one connection to another tool, with a clear before and after.

Common planning mistakes

  • Starting too big. Build the smallest useful version first. Add the rest once people use it.
  • Leaving out the exceptions. The edge cases are where most of the real work is. Write them down.
  • Letting the AI choose the scope. It will happily add features you didn't ask for. Keep it to the brief.
  • No definition of done. If you can't say what finished looks like, neither can the AI.

Common questions

Do I need a full specification before I start? No. One page is enough for a small tool. The aim is to remove guesses, not to write a document.

Should the AI write the plan? Let it draft and question the plan. You decide what's in it. The AI doesn't know your customers or your exceptions.

What if I don't know what I want yet? Then build the smallest version that's useful and learn from using it. A plan can be short. It shouldn't be missing.

How do I change the plan halfway through? Update the brief and the task list first, then tell the AI what changed and why. Don't let the plan and the code drift apart.

Related guides: make the AI ask first, writing a project instructions file and testing AI-written software.

The bottom line

AI makes building fast. Planning makes sure it's fast in the right direction. Spend the first hour on a clear brief and a list of small tasks, and the rest of the project goes much more smoothly.

This is part of my guide to building software with AI. If you'd rather have someone plan and build it for you, see how a custom build works, or book a call.

Have a project in mind?

Tell me what's slowing you down and I'll tell you honestly whether it's worth building. 30 minutes, free, no obligation.

Book a free 30-minute call

Next: pick a time from my calendar.