StoicBuilder

HandbookIV the PraetoriumAsking for a plan first

IVthe Praetorium, Direct the agent

Asking for a plan first

1 min readUpdated 28 November

In plain words

For any change bigger than a small fix, the agent first describes which files it will touch and how, then waits for your OK before writing code.

Where you see it

Plan mode in Claude Code and Cursor, or Chat mode in Lovable: the agent reads your project and answers in words, without editing files. It's where you catch "I'll add a new users table" when you already have one.

Your promptagent
I want users to share a note with a read-only link. Before writing any code, tell me:- which files you'll change or create- any database changes- what you're unsure aboutThen wait for my OK.
A wrong plan costs one reply. Wrong code costs an afternoon.

What goes wrong

  1. Approving a plan you didn't read

    A plan only helps if you check it. Look for the files it names, any new tables, and anything that touches login or payments.

  2. Planning a one-line change

    A plan for a button colour adds a step and catches nothing. Save it for work that spans several files, the database, login or payments.

  3. Letting the build drift from the plan

    Halfway through, the agent may switch to a different approach without mentioning it. Ask it to stop and tell you before it departs from the plan.

What to tell your agent

Copy this into Lovable, Bolt, Cursor or any agent
Before writing any code, list the files you plan to change and why, any database changes, and anything you are unsure about. Then wait for my OK.

Quick check

Sign in to earn +10 XP for it

Which of these requests most needs a plan first?

Got a prompt that touches asking for a plan first?

Paste it. You get a better prompt first, then the cards that explain it.

Check your own prompt

Free, no sign-up.