From superpowers-plus
Performs 5-Why root cause analysis on failed approaches, incorrect assumptions, and regressions, with pattern detection and preventive actions. Use after wrong strategies or misdiagnoses.
npx claudepluginhub bordenet/superpowers-plus --plugin superpowers-plusThis skill uses the workspace's default tool permissions.
> **Wrong skill?** Still debugging -> systematic-debugging. Stuck -> think-twice. Review feedback -> receiving-code-review.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Wrong skill? Still debugging -> systematic-debugging. Stuck -> think-twice. Review feedback -> receiving-code-review.
Announce at start: "I am using the failure-autopsy skill to analyze what went wrong."
# Example: 5-Why for misdiagnosed routing ceiling
echo "What: Routing accuracy stuck at 82%"
echo "Why1: 3 queries return wrong skill"
echo "Why2: TF-IDF scores too close"
echo "Why3: Intent patterns too generic"
echo "Why4: No collision detection in patterns"
echo "Why5: Pattern specificity never tested"
echo "Fix: Add specific patterns before generic ones"
What happened: [factual description] Expected: [what should have happened] Impact: [time wasted, wrong output, user intervention]
| Level | Why? | Answer |
|---|---|---|
| 1 | Why did [failure] happen? | [direct cause] |
| 2 | Why [direct cause]? | [deeper cause] |
| 3 | Why [deeper cause]? | [systemic issue] |
| 4 | Why [systemic issue]? | [missing check] |
| 5 | Why [missing check]? | [root gap] |
| Pattern | Signal | Match? |
|---|---|---|
| False ceiling | "Impossible" proved wrong | ? |
| Incomplete measurement | Metric on data subset | ? |
| Confirmation bias | Evidence sought to confirm | ? |
| Single-method validation | One way to check | ? |
Immediate fix + Process update + Skill update
| Anti-Pattern | Detection | Correction |
|---|---|---|
| Stops at surface | "API was slow" | Push: why was it slow? What could agent do? |
| No preventive action | Step 4 empty | Not done until process update exists |
| Same failure twice | Pattern repeats | Previous preventive action failed — escalate |
| Blames environment | "Network issue" | Reframe: agent-controllable factors |
| Failure | Detection | Recovery |
|---|---|---|
| Stops at Why 2 | <4 levels | Push deeper |
| No preventive action | Step 4 empty | Not done until process update exists |
| Same failure recurs | Pattern 2+ times | Escalate: preventive did not work |
| Blames externals | "API was slow" | Reframe: what could AGENT do? |