systematic-debugging

Identify root causes of bugs before proposing fixes in software projects.

Updated Jan 19, 2026
One-click install
npx skills add https://github.com/kgadek/kgadek-claude-plugin --skill systematic-debugging-kgadek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/kgadek/kgadek-claude-plugin/tree/main/ai-spec/2026-01-21-sdd-inspirations/references/obra-superpowers/skills/systematic-debugging
Command: npx skills add https://github.com/kgadek/kgadek-claude-plugin --skill systematic-debugging-kgadek

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables engineers to identify the root cause of bugs before proposing fixes, preventing symptom-focused work.

Core Features & Use Cases

  • Four-phase, structured debugging workflow (Root Cause Investigation, Pattern Analysis, Hypothesis & Testing, Implementation)
  • Enforces the Iron Law: NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST
  • Anti-pattern awareness and defensive practices (defense-in-depth, stack-trace logging, data-flow tracing)

Quick Start

Begin by memorizing the four phases and follow Phase 1 before attempting any fixes, then progress through Phase 2, Phase 3, and Phase 4.

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 before attempting a fix?

Systematic debugging prevents symptom-focused work by enforcing an explicit no-fixes rule until root cause investigation is complete. It uses a four-phase workflow to identify why bugs occur before proposing any software fixes.

What is the best way to debug production incidents and performance problems?

The best way to debug production incidents is applying a structured debugging workflow with anti-pattern awareness. This includes data-flow tracing and stack-trace logging to identify root causes across pattern analysis and hypothesis testing phases.

How do I stop fixing symptoms instead of finding the actual software bug?

To stop fixing symptoms, enforce the Iron Law of debugging: no fixes without root cause investigation first. This structured approach mandates identifying the actual root cause through hypothesis testing before moving to the implementation phase.

Can I use systematic debugging for test failures in my software projects?

Systematic debugging is explicitly designed for test failures, production incidents, and performance problems. It implements four phases starting with root cause investigation, ensuring you apply defensive practices like defense-in-depth before implementation.

What are common anti-patterns to avoid when debugging code?

Common debugging anti-patterns include skipping root cause investigation and applying fixes prematurely. The systematic debugging workflow defends against these by enforcing pattern analysis, stack-trace logging, and data-flow tracing before any implementation.