systematic-debugging · Systematic Debugging

systematic-debugging

A general debugging-methodology skill with one iron law: find the root cause before proposing any fix — symptom fixes count as failure.

Its four phases must be completed in order: root-cause investigation (read errors, reproduce reliably, check recent changes, instrument component boundaries, trace data flow) → pattern analysis (find working references, list every difference) → single-hypothesis minimal testing → write a failing test, then fix the root cause. Fits test failures, production bugs, build failures, and performance issues alike.

Example invocation: "This test is failing — debug it by the book, don't touch the code yet."

Full brief

Positioning

systematic-debugging is a debugging-discipline skill for any bug, test failure, or unexpected behavior: it replaces guess-and-patch with a fixed four-phase process, avoiding the rework that thrashing always costs.

Core capabilities

Workflow

The four phases must be completed in order — no skipping:

  1. Root-cause investigation: no fix may be proposed until this is done
  2. Pattern analysis: find the pattern before touching code
  3. Hypothesis & testing: scientific method, one hypothesis, one variable
  4. Implementation: fix the root cause, not the symptom; verify, then close

Inputs & outputs

Input Notes
Error message / stack trace Required
Reproduction steps Provide if possible
Relevant code locations Optional

Output: root-cause conclusion, failing test case, root-cause fix plan.

Boundaries with adjacent skills

Fit

Before you start


systematic-debugging is part of the Aiglade Skill library. Invoke it from the Aiglade chat box in plain language.

← All 155 skills