HandbookIV the PraetoriumAsking for a plan first
IVthe Praetorium, Direct the agentAsking for a plan first
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.
What goes wrong
- 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.
- 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.
- 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
Quick check
Sign in to earn +10 XP for itWhich of these requests most needs a plan first?