systematic-debugging

Automate root-cause analysis before fixes using a four-phase debugging workflow.

Updated Dec 9, 2025
One-click install
npx skills add https://github.com/h4v1d/extension-collection-geminicli --skill systematic-debugging-h4v1d
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/h4v1d/extension-collection-geminicli/tree/main/systematic-debugging
Command: npx skills add https://github.com/h4v1d/extension-collection-geminicli --skill systematic-debugging-h4v1d

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Systematic Debugging provides a rigorous, four-phase framework to ensure root-cause investigation before any fixes, preventing symptom-focused patches and wasted effort.

Core Features & Use Cases

  • Phase-driven workflow: Enforces Root Cause Investigation, Pattern Analysis, Hypothesis & Testing, and Implementation steps.
  • Operational guidance: Includes explicit checklists, anti-patterns, and integration with related skills like root-cause-tracing and test-driven development.
  • Use Case: When debugging a failing feature, production incident, or flaky test, follow the phases to identify the root cause and verify fixes.

Quick Start

Load the skill (skills/debugging/systematic-debugging), review the overview, execute Phase 1 checklist, and proceed through Phase 2-4 before proposing changes.

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 when do I need it for production incidents?

Systematic debugging is a four-phase framework enforcing root-cause investigation before fixes. You need it during production incidents, bug triage, or flaky tests to prevent symptom-focused patches and identify the actual underlying failure.

How do I debug flaky test failures using a phase-driven workflow?

To debug flaky test failures, execute a four-phase workflow: root cause investigation, pattern analysis, hypothesis testing, and implementation. This enforces a mandatory investigation phase before proposing any code changes to verify the fix targets the actual defect.

How do I stop applying symptom-focused patches during bug triage?

To stop applying symptom-focused patches, enforce a mandatory root-cause investigation phase before proposing fixes. This prevents wasted effort by requiring pattern analysis and hypothesis testing to validate the underlying failure mechanism.

Does this systematic debugging approach work for performance issues and operations contexts?

Yes, this systematic debugging approach works for performance issues and operations contexts. It applies across software development and operations, guiding teams through root cause investigation, pattern analysis, hypothesis testing, and implementation for any complex incident.

What are the common anti-patterns to avoid during root-cause analysis?

Common anti-patterns to avoid during root-cause analysis include skipping the mandatory investigation phase and proposing fixes before testing hypotheses. The framework provides explicit checklists and anti-pattern guidance to prevent these wasted effort scenarios.

Can I integrate root-cause tracing and test-driven development with this debugging workflow?

Yes, you can integrate root-cause tracing and test-driven development with this debugging workflow. The framework explicitly integrates with these related skills to connect hypothesis testing and implementation phases with existing testing and tracing operations.