| name | routr-depth-debug |
| description | Structured debugging when systematic-debugging is not installed. Use when: routr-debug bootstrap fails, child debug skill missing, or agent about to guess fixes. |
routr-depth-debug
Fallback depth for routr-debug. Load only when systematic-debugging is not installed.
Iron law
NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST
Four phases (complete each before next)
Phase 1: Root cause investigation
- Read error messages and stack traces completely
- Reproduce — document exact steps; if not reproducible, gather data
- Check recent changes (git diff, deps, env)
- Multi-component: log at each boundary, run once, localize failure layer
Phase 2: Hypothesis
- One-sentence root cause theory
- Minimal experiment to confirm/deny
- Max 3 parallel hypotheses
Phase 3: Fix
- Smallest diff for confirmed root cause
- No drive-by refactors
Phase 4: Verify
- Re-run reproduction
- Check callers for blast radius
Tool discipline
- Search/narrow before whole-file reads
- Read only hot paths (signatures → lines range)
- Do not load unrelated skills
Install full skill
npx skills add obra/superpowers -g --skill systematic-debugging -y --copy
Then follow systematic-debugging/SKILL.md exclusively.