Writing Plans
Write plans that are concrete enough to execute, review, and verify.
Core Rule
Do not jump into a long task with only a vague idea.
Break it into explicit steps with outcomes.
When to Use
Use for:
- multi-step setup work
- migrations
- skill installation and validation passes
- browser automation workflows
- refactors
- research + implementation tasks
- tasks that may require sub-agents
Plan Shape
A good plan includes:
- Goal
- Constraints
- Ordered steps
- Verification points
- Possible blockers
Good Step Format
Each step should answer:
- what to do
- what tool/file it touches
- what counts as success
Example:
- Inspect installed files and runtime requirements.
- Install missing low-risk dependencies.
- Run smoke tests.
- Separate working / needs-auth / broken states.
- Report results.
Execution Rule
After writing the plan:
- execute in order
- update the plan if reality changes
- do not hide changed assumptions
Lightweight vs Heavyweight
Lightweight plan
Use for 3-5 step tasks.
Heavyweight plan
Use when:
- many files or tools are involved
- external systems are involved
- the task may run long
- sub-agents may help
Reporting
Summarize with:
- planned scope
- what completed
- what changed during execution
- what remains
Practical Examples
Example: Skill setup pass
- Inspect files and dependencies
- Install missing low-risk runtime tools
- Run smoke tests
- Split results into working / needs-auth / blocked
- Report next steps
Example: Browser automation task
- Confirm target site and success condition
- Test a minimal path first
- Add login/session handling if needed
- Re-test the actual target flow
- Record blockers clearly