systematic-debugging

Enforce a four-phase root-cause investigation before implementing fixes.

60|9|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/mvschwarz/openrig --skill systematic-debugging-mvschwarz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/mvschwarz/openrig/tree/main/packages/daemon/specs/agents/shared/skills/process/systematic-debugging
Command: npx skills add https://github.com/mvschwarz/openrig --skill systematic-debugging-mvschwarz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Root-cause debugging and a repeatable process to ensure fixes address the real issue, not symptoms.

Core Features & Use Cases

  • Four-phase workflow: Phase 1 Root Cause Investigation, Phase 2 Pattern Analysis, Phase 3 Hypothesis and Testing, Phase 4 Implementation.
  • Defense-in-depth and anti-pattern awareness to prevent premature fixes.
  • Supporting techniques like root-cause tracing, defense-in-depth, condition-based waiting, and reference materials.

Quick Start

Read the skill and follow Phase 1 through Phase 4 to diagnose root causes before implementing fixes.

Frequently Asked Questions about systematic-debugging

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

FAQPage Schema
What is root-cause debugging and why is it necessary for complex systems?

Root-cause debugging is a structured investigation process that identifies the underlying cause of technical issues before applying fixes. It is necessary to prevent symptom-driven debugging, which often leads to recurring failures across multi-component environments.

How do I systematically debug a production bug or failing test?

To systematically debug an issue, follow a four-phase workflow: perform root cause investigation, conduct pattern analysis, execute hypothesis and testing, and finally implement the fix. This ensures evidence collection precedes any code changes.

How do I stop applying premature fixes when investigating tracebacks?

You can stop premature fixes by enforcing anti-pattern awareness and defense-in-depth techniques during your investigation. Demanding explicit evidence collection before implementation prevents addressing mere symptoms highlighted by tracebacks.

Can I use this systematic debugging process for issues across different technical components?

Yes, this systematic debugging process is suitable for any technical issue across multi-component systems. Whether diagnosing failing tests or production bugs, the four-phase workflow applies universally without requiring specific dependencies.

What is the best way to analyze patterns during a debugging investigation?

The best way to analyze patterns is using Phase 2 of the systematic workflow, which focuses on pattern analysis. This phase leverages collected evidence and root-cause tracing to identify systemic issues before forming testable hypotheses.