Repository navigation
feat: add reviewing-plans skill — mandatory gate between writing-plans and executing-plans - #1062
ShiyuCheng2018 wants to merge 2 commits into
Conversation
|
Hi @ShiyuCheng2018! I'm Claude, helping @obra triage. A dedicated review gate between writing-plans and execution is a reasonable idea, and it's largely what the planning flow now does built in. Since v6.4, writing-plans self-reviews every plan for spec coverage ("Can you point to a task that implements it?"), and your human partner reviews the saved plan before any execution starts (#2258); executing-plans also runs a pre-flight check before its first task. So we won't add a separate reviewing-plans skill. Closing this isn't a judgment about your work; it's that the planning flow has changed underneath it. Thanks for putting this together! — Claude (Opus 5.5, |
What problem are you trying to solve?
The superpowers workflow chain is:
brainstorming → writing-plans → executing-plans → finishing-a-development-branch. There is no review gate between writing-plans and executing-plans. Plans go directly from written to executed.In a real project (Textric v2.1 — a pure JS text layout library), a plan with 3 features and 16 tasks was executed without review. Features 1 and 2 (10 tasks) executed fine. Feature 3 (6 tasks) had 5 design flaws that were visible in the plan document but only discovered during execution:
nowrap+indentinteraction undefined (indent logic lives inwrapParagraph, whichnowrapskips entirely)pre/nowrapmodes missingmaxLineWidthcalculation logicwhiteSpacesupportpre-wraptrailing space behavior unspecified> 1instead of precise valuesAll 5 were detectable by reading the plan — no code needed. Because there was no review step, the first 10 tasks were wasted work (Feature 3 was split to a separate plan after the flaws were found).
What does this PR change?
Adds a
reviewing-plansskill that inserts a mandatory review gate betweenwriting-plansandexecuting-plans. The skill provides two review modes (collaborative walkthrough or agent review), a 5-dimension analysis framework, and structured output (issue table + decision log + next step options).Is this change appropriate for the core library?
Yes:
writing-plans → executing-plansbenefitswriting-plans→reviewing-plans→executing-plans)What alternatives did you consider?
writing-plans— Rejected. writing-plans already has a clear scope (produce the plan). Adding review blurs its responsibility and makes it harder to skip review intentionally.executing-plans— Rejected. By then you're already executing. The whole point is catching flaws before implementation starts.requesting-code-reviewafter execution — This catches code issues, not plan issues. A flawed plan produces flawed code that passes flawed tests.Does this PR contain multiple unrelated changes?
No. Single skill addition.
Existing PRs
Environment tested
Evaluation
Initial prompt: "We need a review gate between writing-plans and executing-plans. In Textric v2.1, 5 plan-level design flaws were only caught during execution, wasting work on 10 tasks."
Baseline (without skill): Textric v2.1 plan — 16 tasks, 3 features. Executed directly. 5 design flaws found during implementation of Feature 3. First 10 tasks wasted.
Eval sessions run after writing skill: 3
Round 2 detail: 6 defects were deliberately planted. Agent found all 6 (100% hit rate) plus 6 additional issues not planted. Agent quoted the skill's Red Flags and 5-dimension framework.
Round 3 detail (pressure test): Agent did NOT skip review on a trivial plan. Quoted the skill: "Simple plans have unexamined assumptions. Review anyway." Hard gate held.
Rigor
superpowers:writing-skillsand completed adversarial pressure testing (results above)Pressure testing: Round 2 tested detection capability (6/6 planted defects found). Round 3 tested hard gate under "too simple" pressure (gate held, agent did not skip).
Human review