$npx skillfedfor your agent

systematic-debugging

Systematic Debugging enforces disciplined root-cause investigation before any code changes, using a 4-phase pipeline: evidence gathering, pattern comparison, hypothesis testing, and targeted fixes. It prevents the common failure mode of applying surface-level patches that mask underlying issues. Works with test failures, production bugs, performance problems, and build failures across any tech stack.

Systematic Debugging diagnoses the root cause of bugs and errors through a structured 4-phase investigation before any fix is applied.

AI-generated summary based on this skill's SKILL.md

★ 576  47 MITupdated by FradSer

Decision gist · record as of 2026-07-23

Systematic Debugging diagnoses the root cause of bugs and errors through a structured 4-phase investigation before any fix is applied. Systematic Debugging enforces disciplined root-cause investigation before any code changes, using a 4-phase pipeline: evidence gathering, pattern comparison, hypothesis testing, and targeted fixes. It prevents the common failure mode of applying surface-level patches that mask underlying issues. Works with test failures, production bugs, performance problems, and build failures across any tech stack.

manual: git clone https://github.com/FradSer/dotclaude → cp -r dotclaude/superpowers/skills/systematic-debugging ~/.claude/skills/systematic-debugging
superpowers/skills/systematic-debugging/SKILL.md · version 328b515a

Use it when

  • Systematic Debugging treats test failures by first gathering evidence—the exact failure output, preceding test state.
  • Systematic Debugging traces data flow by mapping each layer's input and output during evidence gathering.

Verify before relying

Read SKILL.md below before installing (7 files). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

FradSer/dotclaude/systematic-debugging · repository language: JavaScript

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How to debug a bug systematically with Systematic Debugging?

Systematic Debugging enforces a 4-phase pipeline: evidence gathering (collect logs, stack traces, reproduction steps), pattern comparison (identify what changed), hypothesis testing (isolate the actual cause), and targeted fixes (apply only after root cause is confirmed). This prevents surface-level patches that mask underlying issues and works across test failures, production bugs, performance problems, and build failures on any tech stack.

What's the root cause analysis process for test failures?

Systematic Debugging treats test failures by first gathering evidence—the exact failure output, preceding test state, and reproduction conditions. Then compare patterns: did this test pass before, and what changed? Form hypotheses about the actual cause rather than the symptom. Only after confirming the root cause does Systematic Debugging guide you to write a regression test and apply the fix, ensuring the bug won't resurface.

How do I find where bad data originates in a multi-component system?

Systematic Debugging traces data flow by mapping each layer's input and output during evidence gathering. Compare patterns across components to pinpoint where corruption begins. Test hypotheses by instrumenting checkpoints between layers. This structured approach isolates whether bad data comes from an upstream service, a transformation step, or a database query—not just where it's observed.

When should I question architecture if multiple fixes fail independently?

Systematic Debugging raises architectural concerns when the evidence-gathering and pattern-comparison phases reveal that independent fixes all fail. This signals the root cause isn't in individual components but in how they interact. Before applying more patches, hypothesis testing should examine the overall design: message ordering, state consistency, or coupling assumptions that no single fix can address.

How does Systematic Debugging help debug CI build failures?

Systematic Debugging applies its 4-phase pipeline to CI failures: gather full build logs and environment state, compare against passing builds to spot differences, form hypotheses about whether the issue is flaky infrastructure, dependency changes, or code logic, then verify the root cause before fixing. This prevents chase-the-symptom cycles and creates regression tests to catch the failure again.

What makes Systematic Debugging different from just fixing the symptom?

Systematic Debugging enforces root-cause investigation before any code changes, preventing the common failure of applying patches that hide deeper issues. By following evidence gathering, pattern comparison, and hypothesis testing, you discover why code behaves unexpectedly rather than where it breaks. This discipline works across any tech stack and ensures fixes are durable, not temporary masks.

SKILL.md

Rendered from the published skill. Quoted content, verbatim.

Systematic Debugging

Slash-command Usage

Invoked via /superpowers:systematic-debugging "<symptom>" or auto-loaded by other skills when bug-fix language is detected.

When invoked as a slash command: capture $ARGUMENTS as the symptom statement and start at Phase 1 immediately. Do NOT write design documents or task files; the deliverable is the fix + a test that catches the regression, not a docs/plans/ folder.

Output discipline: Report findings inline as

(truncated - see the full file via the links below)

File tree — 7 files
superpowers/skills/systematic-debugging/SKILL.md
superpowers/skills/systematic-debugging/find-polluter.sh
superpowers/skills/systematic-debugging/references/condition-based-waiting-example.ts
superpowers/skills/systematic-debugging/references/condition-based-waiting.md
superpowers/skills/systematic-debugging/references/defense-in-depth.md
superpowers/skills/systematic-debugging/references/rationalizations-and-guardrails.md
superpowers/skills/systematic-debugging/references/root-cause-tracing.md

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Diagnose the root cause of a bug, error, or test failure before attempting any fix”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

Systematic Debugging
by Delphine-L · Delphine-L/claude_global

Systematic Debugging teaches a disciplined 4-phase approach: root cause investigation, pattern analysis, hypothesis testing, and implementation. Rather than attempting quick fixes, this skill enforces tracing issues back to their source through careful error analysis, data flow tracking, and minimal testing before any code change.

no license declared → metadata onlyupdated May 2026
★ 17repo stars
systematic-debugging
by obra · obra/superpowers

Systematic Debugging enforces a disciplined four-phase approach to troubleshooting: investigate the root cause through error analysis and evidence gathering, analyze patterns by comparing working and broken code, form and test hypotheses scientifically, then implement fixes. The skill emphasizes that symptom-level repairs fail—you must trace data flow, instrument multi-component systems, and stop after three failed attempts to question architectural soundness.

MITupdated Jul 2026
★ 262,225repo stars
Debugging Protocol
by jwilger · jwilger/agent-skills

Debugging Protocol teaches a disciplined four-phase investigation process that enforces root cause analysis before any code change. It prevents the common trap of jumping to fixes without understanding why problems exist, using the Iron Law (investigate first) and Three Strikes Rule (escalate after three failed attempts) to guide systematic problem-solving.

CC0-1.0updated Jul 2026
★ 1repo stars
Systematic Debugging
by ed3dai · ed3dai/ed3d-plugins

This skill enforces a disciplined debugging process that prioritizes understanding over quick fixes. Work through root cause investigation, pattern analysis, hypothesis testing, and implementation phases in sequence—never proposing solutions until you've traced the problem to its source. Stop and reconsider your approach if multiple fixes fail, signaling a deeper architectural issue.

no license declared → metadata onlyupdated Jun 2026
★ 246repo stars
debug-systematic
by travisjneuman · travisjneuman/.claude

A disciplined, evidence-based debugging framework that walks you through reproducing issues reliably, narrowing scope to the failing component, understanding root causes through the scientific method, and implementing minimal fixes with regression tests. Eliminates guesswork and ensures you address the actual problem, not just symptoms.

MITupdated Jul 2026
★ 85repo stars
systematic-debugging
by secondsky · secondsky/claude-skills

This skill enforces a disciplined debugging methodology that prioritizes root cause discovery over quick patches. Work through four phases—investigation, pattern analysis, hypothesis testing, and implementation—completing each before advancing. The framework prevents the trap of symptom-fixing by requiring evidence gathering across component boundaries and data flow tracing before any fix attempt.

MITupdated Jul 2026
★ 196repo stars

More skills systematic-debugging (MIT) · systematic-debugging (MIT)

Tags
root-cause-analysisinvestigative-debuggingmulti-phase-workflowdata-flow-tracinghypothesis-testingregression-preventionevidence-gatheringsymptom-vs-causetest-driven-fixarchitectural-questioning