Debug using moo Workflow B. Five Whys to root cause, instrumentation, then fix. No workarounds.
Systematic debugging using Five Whys to find root causes, then implement proper fixes with prevention. Use when diagnosing complex bugs that need thorough investigation beyond quick fixes.
/plugin marketplace add saadshahd/moo.md/plugin install hope@moo.mdSystematic debugging: Effect → Cause → Root → Fix → Prevent.
If unclear, ask:
Do not proceed until symptom is clear.
Brainstorm 5-6 potential root causes:
## Potential Root Causes
1. [Cause]: X-Y% confident - [evidence]
2. [Cause]: X-Y% confident - [evidence]
3. [Cause]: X-Y% confident - [evidence]
4. [Cause]: X-Y% confident - [evidence]
5. [Cause]: X-Y% confident - [evidence]
For the most likely cause, ask "Why?" 5 times to reach the true root.
All hypotheses < 70%? → Request more context or add instrumentation.
Before fixing:
## Verified Root Cause (X-Y% confident)
[Explanation with specific evidence]
Brainstorm 2-3 solutions:
## Solution Options
1. [Solution]: [Pros/Cons]
2. [Solution]: [Pros/Cons]
3. [Solution]: [Pros/Cons]
## Selected: [Solution N]
Rationale: [Why this one]
Do not implement yet.
Define tracking metrics:
Only after root cause verified and instrumentation planned:
## Fix
[file:line changes]
## Prevention
[Structural change to prevent class of bugs]
## Verification
[How to confirm fix works]
[Quality Footer - see ../skills/soul/references/quality-footer.md]
$ARGUMENTS