Plan a small change
Write .plans/<slug>/plan.md. A reviewer should understand the change without opening another document.
Use references/plan-template.md as the starting shape. Omit empty optional sections.
Understand the change
- Start with the intended behavior. Walk the use cases before choosing files or schema changes.
- Think in systems. Name the class of problems that this request belongs to and the system that produces it. Design the approach for the class, not for this one case, and state the class in Approach. The class must be real: other members exist now, or the system clearly produces more.
- Read relevant code, project docs, standards, and common mistakes. Find the project check command.
- Ask only questions that the request and repository cannot answer and that affect scope or correctness.
- If the work needs separate releases or migration stages, use
plan-large.
Write the plan
Use a short kebab-case slug. Revise the same file for the same task. Use a distinct directory for unrelated work.
- Opening: what changes and why. State scope exclusions only when a reviewer might reasonably expect them.
- Use cases: short bullets with the situation, action, and observable result. Include failure or recovery behavior when relevant.
- Approach: the chosen design, its reason, and relevant files grouped by change. Cite code only where it supports a material decision.
- Work: checkboxes with a change and its check. The whole list is one implementation unit; a checkbox is not a separate PR.
- Open decisions: unresolved choices that affect scope or correctness. Label unconfirmed assumptions. Omit this section when none remain.
Keep each use-case summary to one sentence in plan.md.
Create a linked use-cases.md only when branches, permissions, or recovery need a longer explanation.
In that file, describe the relevant steps and results. Name UI and server responsibilities where their connection is unclear.
Keep each detailed rule in one place. The main plan links to it instead of repeating it.
For backend or migration work, describe the API consumer or data flow instead of inventing a human journey.
Keep schema, compatibility, rollout, and rollback details when they affect this change.
Link a technical note or separate mockup only when it helps a decision. Do not create extra files by default.
Keep sentences short. State each fact once. Remove implementation narration, empty sections, and code that the implementer can read in the repository.
Group related edits by outcome. Do not enumerate routine coding steps.
Do not add counters, source tags on every claim, step tables by default, or a prescribed number of assumptions.
Checks must name an observable result. Plain language is enough; no special grammar is required.
Review and present
Call the independent reviewer:
reviewer: plan-reviewer; brief: <posture, plan, linked details, standards, common mistakes>
Set posture to plan-small. Paste the plan and the relevant linked details inline; the reviewer cannot read .plans/.
If delegation is unavailable, apply the same checks locally and disclose that limitation.
Check conversation requirements yourself; the independent reviewer does not receive the conversation.
Fix supported findings. Keep user decisions intact. Ask about a conflict only when it prevents a correct plan.
Add a suggestion to the plan only if it changes the work or requires a user decision.
Do not turn reviewer speculation into requirements.
Present the plan link, a brief description, and any blocking decisions. Do not repeat the document in chat.
Revise the same files after feedback. Recheck affected use cases and checks when the design changes.
Stop after planning unless implementation is already authorized.
Execution records belong in worklog.md and state.json, outside the plan.