Eng debug rca
Skill viditparashar96/second-brain-claude/skills/eng-debug-rca
Hypothesis-driven debugging and root cause analysis — systematic investigation with evidence tracking, bisection, and fix verification.From its SKILL.md
npx -y skills add viditparashar96/second-brain-claude --skill eng-debug-rcaAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.4 KB, as published. Nobody here has run it
Hypothesis-Driven Debug & RCA
Systematic debugging: characterize → hypothesize → investigate → fix → document. Evidence-based, never guess.
Workflow
Phase 1: CHARACTERIZE
- Gather 5W1H: What (symptom), When (started), Where (component), Who (affected), How (reproduce)
- Read PRODUCTS.md — match to product, pull tech stack dynamically
- Search memory for similar past bugs
- 🚫 GATE — Reproduction confirmed
Phase 2: HYPOTHESIZE (before reading code)
- Ultrathink — Generate 3-7 hypotheses ranked by probability
- Each hypothesis: probability%, evidence needed, quick test
- Include "what changed recently" as primary suspect
- Order investigation by:
(probability × confidence) / time_to_test
Phase 3: INVESTIGATE
- Test hypotheses most-likely-first
- For each: state test → run diagnostic → Midthink → update probability
- Maintain evidence board:
H1 [45% → 80%] — LIKELY ✅ evidence1 ❌ evidence2 H2 [25% → 5%] — ELIMINATED - For code bugs: use bisection (git bisect), not linear scan
- Converge when one hypothesis >90%
- 🚫 GATE — Root cause confirmed
Phase 4: FIX
- Propose options (quick vs proper, with risk/reversibility)
- 🚫 GATE — Fix approach approved
- Implement, verify with original repro steps
- Test adjacent functionality for regressions
Phase 5: DOCUMENT (LOCAL FIRST)
- Save
docs/bugs/{date}-{slug}.mdin local project:--- title: "{title}" date: "{date}" product: "{product}" root_cause: "{summary}" --- # {title} ## Symptom ## Root Cause ## Fix Applied ## Prevention - Log one-line summary to memory via
log_note
Rules
- Hypothesize BEFORE reading code
- Minimum 3 hypotheses, track evidence for each
- Bisect, don't scan linearly
- Verify fix with original repro steps
- Save locally first, memory second
- Product context from PRODUCTS.md — never hardcode