diff options
| author | Jesse Vincent <jesse@fsck.com> | 2026-09-24 19:27:16 +0000 |
|---|---|---|
| committer | Jesse Vincent <jesse@fsck.com> | 2026-09-24 19:27:16 +0000 |
| commit | 369bd87f851d6452fdeddad7d3740030510f1c7a (patch) | |
| tree | b3e4f12795859e800004e362700ee91518c8ecae | |
| parent | 55549546e2543769f096b50b938b4e5184286b8d (diff) | |
fix(writing-plans): the plan is a document — check code by reading, not by building itfix/writing-plans-plan-is-a-document
Field report (Harper Reed, Opus 5.5): asked to write a plan from an
approved spec, the session built 8 of 17 phases in scratch, generated
the plan from the built code, and grew 1,739 lines of build/replay
tooling across 44 compactions — while the plan stayed undelivered.
Reproduced with Opus 5.5 subagents on a 12-component Go spec: 6/6 runs
built the whole project in scratch, rendered the plan from it with a
script, then replayed the plan to verify (38–76 tool calls). Same result
with the full skill (2/2), with No Placeholders and type-consistency
removed (2/2), and with no skill at all (2/2) — the model verifies code
by running it, and nothing in the skill said planning doesn't.
A positive recipe ("the plan is a document; check its code by reading;
the code first runs in its task's test cycle") ended it: 5/5 runs built
nothing beyond a dependency-version check (0–1 .go files vs 61–187), at
21–38 tool calls, with full code still in every task. An alternative
that described implementation in prose instead of code went 4/5 (one
run dry-ran the whole implementation after writing the plan) and was
rejected.
Claude-Session: https://claude.ai/code/session_011XgkdvAxv9MF2k55kX6Npj
| -rw-r--r-- | skills/writing-plans/SKILL.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/skills/writing-plans/SKILL.md b/skills/writing-plans/SKILL.md index 78c7126..5b09055 100644 --- a/skills/writing-plans/SKILL.md +++ b/skills/writing-plans/SKILL.md @@ -18,6 +18,17 @@ Assume they are a skilled developer, but know almost nothing about our toolset o **Save plans to:** `docs/superpowers/plans/YYYY-MM-DD-<feature-name>.md` - (User preferences for plan location override this default) +## The Plan Is a Document + +Your deliverable is the plan file, and you write it the way you would write +a design document. Read the spec, the existing code, and library docs and +version metadata. Then write each task's code directly into the plan and +check it by reading: against the spec, against the interfaces earlier tasks +produce, and against the Self-Review checklist below. The code first runs +when an implementer executes its task; that task's test cycle and review +are where compile errors and bugs surface. Planning ends when the plan file +is written and self-reviewed. + ## Scope Check If the spec covers multiple independent subsystems, it should have been broken into sub-project specs during brainstorming. If it wasn't, suggest breaking this into separate plans — one per subsystem. Each plan should produce working, testable software on its own. |
