eng-debug-rca

Run hypothesis-driven root cause analysis with git bisection and evidence tracking.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/viditparashar96/second-brain-claude --skill eng-debug-rca
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eng-debug-rca
Source: https://github.com/viditparashar96/second-brain-claude/tree/main/skills/eng-debug-rca
Command: npx skills add https://github.com/viditparashar96/second-brain-claude --skill eng-debug-rca

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill converts ad-hoc debugging into a structured, evidence-driven root cause analysis process that reduces time-to-resolution, prevents misdirected fixes, and ensures verifiable remediation by enforcing reproduction, hypothesis ranking, and documented verification.

Core Features & Use Cases

  • Hypothesis-driven workflow: Generate 3–7 ranked hypotheses before reading code, define evidence needs, and prioritize investigations by probability, confidence, and test cost.
  • Investigation & tooling: Guided bisection for code regressions, reproduction gating, iterative testing (midthink), and an evidence board to mark hypotheses as confirmed or eliminated.
  • Fix and documentation: Propose quick vs proper fixes with risks, verify against original repro steps, test adjacent functionality, save a local bug report, and log a one-line summary to memory. Use case: reproduce a production crash, run git bisection to find the offending commit, validate the root cause, and produce a compliant fix and local bug record.

Quick Start

Start an RCA by providing a concise bug description along with the repository path and logs path to initiate the hypothesis-driven debugging workflow.

Frequently Asked Questions about eng-debug-rca

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform root cause analysis for a software crash or regression?

Root cause analysis for a software crash uses a hypothesis-driven workflow to generate 3–7 ranked hypotheses, define evidence needs, and prioritize investigations by probability, confidence, and test cost before reading code. This structured approach reduces time-to-resolution and prevents misdirected fixes.

How do I use git bisect to find the commit that introduced a bug?

Git bisect guides bisection for code regressions by iteratively testing midpoint commits to narrow down the offending change. You provide a concise bug description with the repository path, and the workflow gates reproduction to validate the root cause commit accurately.

What is the best way to track evidence during incident response debugging?

Evidence tracking during incident response uses an interactive evidence board to mark ranked hypotheses as confirmed or eliminated. This enforces reproduction, iterative testing, and documented verification to ensure reliable remediation of functional bugs.

Do I need reproducible steps and repository access to start a debugging investigation?

Yes, you need reproducible steps, access to the code repository, and logs path to start the debugging investigation. These inputs initiate the hypothesis-driven workflow, enabling guided bisection, iterative testing, and local bug documentation.

How should I document a bug fix after identifying the root cause?

Documenting a bug fix after root cause identification involves proposing quick versus proper fixes with risks, verifying against original repro steps, testing adjacent functionality, saving a local bug report, and logging a one-line summary to memory for verifiable remediation.