systematic-debugging

Trace root causes across four phases before implementing fixes for technical issues.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Systematic debugging provides a disciplined, four-phase approach to diagnosing bugs and preventing symptom-focused fixes.

Core Features & Use Cases

  • Four Phases: Phase 1 Root Cause Investigation, Phase 2 Pattern Analysis, Phase 3 Hypothesis & Testing, Phase 4 Implementation.
  • Anti-patterns & Bulletproofing: Explicit rules to resist shortcuts and maintain rigor under pressure.
  • Defense-in-depth & Testing: Techniques like root-cause tracing, multi-layer validation, and structured testing to ensure robust fixes.
  • Usage Scenarios: Applies to development bugs, test failures, production incidents, and flaky behavior.

Quick Start

Load the skill at skills/debugging/systematic-debugging and complete Phase 1 before attempting any fixes.

Frequently Asked Questions about systematic-debugging

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

FAQPage Schema
How do I find the root cause of a bug instead of just fixing the symptom?

Root-cause debugging requires completing four phases—investigation, pattern analysis, hypothesis testing, and implementation—before applying fixes. This structured approach traces evidence and tests hypotheses to resolve the actual source of the issue rather than treating symptoms.

What is the best way to debug production incidents under pressure?

Debugging production incidents under pressure demands a systematic four-phase process with explicit anti-pattern rules to resist shortcuts. You gather evidence, analyze patterns, and test hypotheses to ensure a controlled, robust fix rather than a rushed patch.

How do I stop applying quick fixes to flaky test failures?

To stop quick fixes for flaky test failures, complete root cause investigation, pattern analysis, hypothesis testing, and implementation phases. Multi-layer validation and structured testing ensure the fix addresses the underlying behavior pattern.

Does systematic debugging work for performance problems and development bugs?

Systematic debugging applies to a broad set of technical issues including development bugs, test failures, production incidents, and performance problems. It uses defense-in-depth techniques and multi-layer validation to ensure robust fixes across these scenarios.

What are the limitations of using a four-phase debugging process?

The primary limitation of a four-phase debugging process is the requirement to complete all phases—root cause investigation, pattern analysis, hypothesis testing, and implementation—before implementing fixes, which may conflict with urgent pressures demanding immediate symptom resolution.

Why does my debugging approach fail to prevent recurring issues?

Debugging fails to prevent recurring issues when symptom-focused fixes bypass root-cause tracing. Applying defense-in-depth, structured testing, and multi-layer validation after a systematic four-phase investigation ensures robust fixes that prevent repetition.