agentsclimarketplace

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

Install
npx -y skills add viditparashar96/second-brain-claude --skill eng-debug-rca

Assembled 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

  1. Gather 5W1H: What (symptom), When (started), Where (component), Who (affected), How (reproduce)
  2. Read PRODUCTS.md — match to product, pull tech stack dynamically
  3. Search memory for similar past bugs
  4. 🚫 GATE — Reproduction confirmed

Phase 2: HYPOTHESIZE (before reading code)

  1. Ultrathink — Generate 3-7 hypotheses ranked by probability
  2. Each hypothesis: probability%, evidence needed, quick test
  3. Include "what changed recently" as primary suspect
  4. Order investigation by: (probability × confidence) / time_to_test

Phase 3: INVESTIGATE

  1. Test hypotheses most-likely-first
  2. For each: state test → run diagnostic → Midthink → update probability
  3. Maintain evidence board:
    H1 [45% → 80%] — LIKELY ✅ evidence1 ❌ evidence2
    H2 [25% → 5%]  — ELIMINATED
    
  4. For code bugs: use bisection (git bisect), not linear scan
  5. Converge when one hypothesis >90%
  6. 🚫 GATE — Root cause confirmed

Phase 4: FIX

  1. Propose options (quick vs proper, with risk/reversibility)
  2. 🚫 GATE — Fix approach approved
  3. Implement, verify with original repro steps
  4. Test adjacent functionality for regressions

Phase 5: DOCUMENT (LOCAL FIRST)

  1. Save docs/bugs/{date}-{slug}.md in local project:
    ---
    title: "{title}"
    date: "{date}"
    product: "{product}"
    root_cause: "{summary}"
    ---
    # {title}
    ## Symptom
    ## Root Cause
    ## Fix Applied
    ## Prevention
    
  2. 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

Keep looking

Skills are one crate of 607,721. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.