systematic-debugging

Diagnose root causes through four systematic debugging phases before proposing fixes.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/cvenwu/AiFlow --skill systematic-debugging-cvenwu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/cvenwu/AiFlow/tree/main/skills/systematic-debugging
Command: npx skills add https://github.com/cvenwu/AiFlow --skill systematic-debugging-cvenwu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Systematic debugging helps teams diagnose root causes of bugs, failures, or unexpected behavior before proposing fixes.

Core Features & Use Cases

  • Phase-driven approach (Root Cause Investigation, Pattern Analysis, Hypothesis & Testing, Implementation)
  • Anti-patterns and defense-in-depth guidance to resist rushed fixes
  • Tools for tracing data flow and validating changes across layers

Quick Start

Read the error messages, reproduce the issue, trace data flow, and complete Phase 1–4 before proposing any fixes.

Frequently Asked Questions about systematic-debugging

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

FAQPage Schema
What is a systematic approach to debugging software failures?

Systematic debugging is a phase-driven approach that guides teams to diagnose root causes of bugs, test failures, or production problems before proposing fixes. It enforces completing all four phases—investigation, analysis, hypothesis, and implementation—to ensure durable fixes.

How do I find the root cause of a test failure before applying a fix?

To find the root cause of a test failure, reproduce the issue, read error messages, trace data flow, and complete all four debugging phases before making changes. This prevents rushed fixes by validating hypotheses and analyzing patterns first.

Why do my quick bug fixes keep causing new issues in production?

Quick bug fixes often cause new issues because they address symptoms instead of root causes. Systematic debugging resists rushed fixes by enforcing defense-in-depth and anti-pattern awareness, ensuring changes are validated across layers for robust, durable results.

What are the four phases of diagnosing root causes in technical systems?

The four phases of root cause diagnosis are Root Cause Investigation, Pattern Analysis, Hypothesis and Testing, and Implementation. Completing all phases ensures teams validate changes and trace data flow before applying actual fixes to technical issues.

Does systematic debugging apply to both production problems and test failures?

Yes, systematic debugging applies to any technical issue, including both test failures and production problems. It uses tools for tracing data flow and validating changes across layers to guide teams through a consistent, phase-driven diagnosis process.

When should I not use a rushed approach to fix unexpected application behavior?

You should never rush fixes for unexpected behavior, as anti-patterns lead to fragile systems. Systematic debugging enforces defense-in-depth and phase-driven hypothesis testing, ensuring you fully diagnose root causes and validate changes across layers before implementation.