Loading...
Loading...
Use when writing 50+ lines of plans, design docs, skill documents, or process documentation - apply 5 focused passes (Draft, Feasibility, Completeness, Risk, Optimality) to catch issues single-shot generation misses
npx skill4agent add schlenks/superpowers-bd rule-of-five-plansreferences/pass-order-rationale.mdTaskCreate: "Pass 1: Draft"
description: "Shape and structure. All sections sketched. Task list complete. Breadth over depth."
activeForm: "Drafting"
TaskCreate: "Pass 2: Feasibility"
description: "Can every step be executed? Dependencies available? Paths valid? Estimates realistic?"
activeForm: "Checking feasibility"
addBlockedBy: [draft-task-id]
TaskCreate: "Pass 3: Completeness"
description: "Every requirement traced to a task? Gaps? Missing rollback? Missing error handling?"
activeForm: "Checking completeness"
addBlockedBy: [feasibility-task-id]
TaskCreate: "Pass 4: Risk"
description: "What could go wrong? Migration risks? Data loss? Breaking changes? Parallel conflicts?"
activeForm: "Assessing risk"
addBlockedBy: [completeness-task-id]
TaskCreate: "Pass 5: Optimality"
description: "Simplest approach? YAGNI? Could tasks be combined? Would you defend every task to a senior colleague?"
activeForm: "Optimizing"
addBlockedBy: [risk-task-id]status: completedrule-of-five-coderule-of-five-tests| Pass | Focus | Exit when... |
|---|---|---|
| Draft | Shape and structure. All sections sketched, task list complete. | All major sections exist; task list complete |
| Feasibility | Can every step be executed? Deps available? Paths valid? Estimates realistic? | No infeasible steps; all references verified |
| Completeness | Every requirement traced to a task? Gaps? Missing rollback? | Every requirement maps to task(s) |
| Risk | What could go wrong? Migration, data loss, breaking changes, parallel conflicts? | Risks identified and mitigated |
| Optimality | Simplest approach? YAGNI? Could tasks be combined? | You'd defend every task to a senior colleague |
| Mistake | Fix |
|---|---|
| Multiple lenses in one pass | ONE lens per pass. Feasibility pass ignores optimality. |
| Checking for code bugs in plans | Plans don't have bugs — check feasibility and completeness instead. |
| Skipping Risk pass on "simple" plans | All 5 or none. Simple plans still have risks (wrong assumptions, missing deps). |
| Rushing through passes | Each pass: genuinely re-read the full artifact |
| Optimizing before checking completeness | Completeness before Optimality — don't simplify away requirements. |
| Not verifying file paths and commands | Feasibility pass: Glob for paths, verify commands exist. |
references/pass-definitions.mdreferences/pass-order-rationale.md