systematic-debugging

Enforce a four-phase root-cause investigation process for debugging problems.

Updated Dec 2, 2025
One-click install
npx skills add https://github.com/m16khb/claude-integration --skill systematic-debugging-m16khb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/m16khb/claude-integration/tree/main/.claude/skills/superpowers/systematic-debugging
Command: npx skills add https://github.com/m16khb/claude-integration --skill systematic-debugging-m16khb

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enforces a four-phase debugging process to uncover root causes rather than patching symptoms.

Core Features & Use Cases

  • Four Phases: Root Cause Investigation, Pattern Analysis, Hypothesis & Testing, Implementation.
  • Anti-shortcuts: Explicit rules to resist rushed fixes under pressure.
  • Defense-in-depth: Encourages additional validation after root cause.
  • Usage Scenario: Investigate a failing component by tracing data flow and validating hypotheses.

Quick Start

Start with Phase 1: observe error messages, reproduce, and gather evidence.

Frequently Asked Questions about systematic-debugging

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

FAQPage Schema
How do I debug a failing component systematically?

Systematic debugging follows four phases: Root Cause Investigation gathers evidence by reproducing the error and tracing data flow; Pattern Analysis identifies whether the issue is isolated or recurring; Hypothesis & Testing validates suspected causes through instrumentation; Implementation applies the fix after root cause confirmation. Complete all phases in order before proposing solutions.

Why does patching symptoms instead of root causes fail?

Symptom patching masks underlying problems that resurface elsewhere. Root-cause debugging enforces explicit anti-shortcuts to resist rushed fixes under time pressure, requiring diagnostic instrumentation and phase-specific checklists to validate that the actual cause—not just the visible error—is addressed.

How do I investigate test failures and build issues?

Root-cause investigation applies to test failures, build errors, and integration issues by tracing what conditions trigger the failure, whether the problem is deterministic or intermittent, and whether it stems from code, environment, or dependencies. Phase 1 reproduces and gathers evidence; later phases isolate and validate the true cause.

What's the best way to handle unexpected performance problems?

Performance debugging uses the same four-phase process: observe and reproduce the degradation, analyze whether it's consistent or context-dependent, form and test hypotheses about bottlenecks using diagnostic instrumentation, then implement fixes only after confirming the root cause rather than applying generic optimizations.

How do I validate a fix before deployment?

Root-cause debugging includes defense-in-depth validation: after identifying and implementing the fix in Phase 4, re-run diagnostics to confirm the original problem is resolved, check that the fix doesn't introduce side effects, and verify the behavior matches the expected outcome across all scenarios that triggered the bug.

Can I use this process under time pressure?

Yes. The systematic approach is designed specifically for high-pressure debugging. Explicit rules resist the urge to patch quickly; following all four phases prevents wasted time on failed temporary fixes and ensures the actual cause is found, reducing total resolution time and preventing recurring issues.