01Chapter 1: Why ask for a plan before codeA coding agent that edits files as soon as it receives a request can solve the wrong problem or change more code than you intended. This chapter explains why a written plan, reviewed before any edit, reduces that risk. It also covers where planning stops being worth the effort. Later chapters cover 7 min read
02Chapter 2: What a useful plan containsThis chapter covers what a plan from a coding agent should contain before you approve it. It assumes you have used a coding agent on a repository, can read a diff, and can run the project's test suite. Later chapters cover how to request a plan and how to review one. Here the goal is to recognize a 5 min read
03Chapter 3: Give the agent the context it needsThis chapter assumes you have used a coding agent on a real repository, can read a diff, and can run the project's tests. It covers what to tell the agent before it plans, and what it can find for itself.5 min read
04Chapter 4: Write the planning requestThis chapter covers how to phrase the message that asks a coding agent for a plan. It assumes you have used a coding agent on a repository, can read a diff, and can run the project's tests. Earlier chapters covered why a plan comes first and what a useful plan contains. Here the focus is the request7 min read
05Chapter 5: Let the agent read before it plansThis chapter covers the read-only exploration step: what the agent does between your planning request and its plan, and how you keep that step safe and useful. It assumes you have used a coding agent on a repository, can read a diff, and can run your project's tests. It also assumes you know how to 6 min read
06Chapter 6: Answer clarifying questions and check assumptionsThis chapter assumes you have used a coding agent on a repository, can read a diff, and can run the project's tests. It also assumes you know how to write a planning request that states a goal, constraints, and a no-edits rule. Here you learn what to do when the agent asks questions or lists assumpt7 min read
07Chapter 7: Review the plan like a design proposalThis chapter assumes you can read a diff, run your project's tests, and have already asked an agent for a plan using the structure from earlier chapters (files, ordered steps, risks and assumptions, verification). Here you learn how to read that plan critically before you approve it.6 min read
08Chapter 8: Revise the plan until it is rightThis chapter assumes you can already write a planning request, read a plan the way you would read a design proposal, and run your project's tests. It covers what to do when the plan you get back is close but not correct. You will turn your review notes into feedback, ask for a revised plan, and deci5 min read
09Chapter 9: Approve explicitly before any editsThis chapter assumes you can read a diff, run your project's tests, and have already reviewed and revised a plan as described in the earlier chapters. It covers the point where a plan becomes permission to change code: the approval gate.7 min read
10Chapter 10: Implement one step at a timeThis chapter assumes you have an approved plan from the earlier chapters. You should be comfortable with git commits and diffs, and you should be able to run your project's test suite. The goal here is to turn an approved plan into code in small pieces, so you can check each piece before the next on7 min read
11Chapter 11: Check the result against the planThis chapter assumes you have used a coding agent on a repository, can read a diff, and can run the project's test suite. It covers the last stage of the plan-first workflow: after the agent implements a step, you compare what it did with what you approved.5 min read
12Chapter 12: Keep the plan as a file for later sessionsThis chapter assumes you have used a coding agent on a repository and followed the earlier chapters: you can write a planning request, review a plan, and approve it. You should also be comfortable with git commits and diffs. Here you will learn how to turn an approved plan into a file that outlives 5 min read
13Chapter 13: When to skip the planThis chapter assumes you have used a coding agent on a real repository, can read a diff, and can run the project's tests. It also assumes you have read the earlier chapters on what a plan contains and how to review one. Here the question is the opposite one: when is a plan not worth its cost?6 min read
14Chapter 14: Common ways plans go wrongThis chapter assumes you have used a coding agent on a real repository, can read a diff, and can run a project's test suite. It also assumes you know the planning workflow from earlier chapters: ask for a plan, review it, approve it, then implement in small steps. Here we look at how that workflow f7 min read