systematic-debugging

Diagnose bugs by tracing root causes through a four-phase investigation process.

29|1|Updated Jul 18, 2015
One-click install
npx skills add https://github.com/joshmanders/dotfiles --skill systematic-debugging-joshmanders
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/joshmanders/dotfiles/tree/main/claude/skills/systematic-debugging
Command: npx skills add https://github.com/joshmanders/dotfiles --skill systematic-debugging-joshmanders

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Root-cause oriented debugging discipline that prevents patching symptoms and accelerates reliable fixes by enforcing a structured investigation before any change.

Core Features & Use Cases

  • Four-phase process (Root Cause Investigation, Pattern Analysis, Hypothesis & Testing, Implementation) with explicit criteria for progression between phases.
  • Defense-in-depth guidance to validate data at entry, business logic, environment, and instrumentation layers.
  • Diagnostic instrumentation and stack-trace tips to trace issues across multi-component systems.

Quick Start

Follow the four-phase systematic debugging process on the issue and document findings at each phase.

Frequently Asked Questions about systematic-debugging

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

FAQPage Schema
What is systematic debugging and how does it prevent symptom patching?

Systematic debugging is a root-cause investigation discipline that traces issues across multi-component systems instead of applying symptom fixes. It accelerates reliable fixes by enforcing a structured four-phase investigation before making any code changes.

How do I trace a root cause bug across a multi-component software system?

To trace a root cause bug, follow a four-phase process: Root Cause Investigation, Pattern Analysis, Hypothesis & Testing, and Implementation. Use diagnostic instrumentation and stack-trace tips to trace issues across multi-component systems while documenting evidence at each phase.

Can I use this systematic debugging workflow for production incidents and CI pipelines?

Yes, this systematic debugging workflow applies across software projects, CI pipelines, and production incidents to ensure consistent investigation. It requires documenting evidence and completing all four phases regardless of the environment.

What are the four phases of root-cause debugging?

The four phases of root-cause debugging are Root Cause Investigation, Pattern Analysis, Hypothesis & Testing, and Implementation. Each phase has explicit criteria for progression, requiring documented evidence before advancing to the next phase.

How do I implement defense-in-depth to prevent bug regression?

Implement defense-in-depth by validating data at entry, business logic, environment, and instrumentation layers. This systematic approach prevents regression by ensuring multiple validation checkpoints throughout the software architecture after fixing the root cause.