Agree on a plan before implementation in Claude Code
Specify the goal, affected work, observable checkpoints, and open questions before approval. Replan if reality diverges.
中文Install in Claude Code
A Claude Code workspace for a task where a wrong first move would cause rework. Bring verifiable constraints.
- Review `.claude/skills/plan-then-act/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.claude/skills/plan-then-act/` in your project and save the reviewed file as `.claude/skills/plan-then-act/SKILL.md`.
- Start Claude Code from that project's root, then select `/plan-then-act` in the slash menu.
Example task
Add a paper preview to a rehearsal sheet. The available fixture is `{target:'print preview',paper:'A4',rows:24}`. Keep the list and identify which page needs the change.What to check
Propose numbered steps with affected artifacts and completion checks. An example check is `paper=A4; rows=24`. Execute after approval, and resolve any pagination mismatch by reporting it and revising the plan.
Original SKILL.md on GitHub · Updated
Frequently asked question
What should I do when implementation diverges from the plan?
Stop at the current step and record the actual result against the assumption. Update the next step and its verification before proceeding.