systematic-debugging

Enforce a four-phase root-cause debugging process for technical issues.

2|Updated Oct 25, 2025
One-click install
npx skills add https://github.com/robertpelloni/workspace --skill systematic-debugging-robertpelloni
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/robertpelloni/workspace/tree/main/AI_COORDINATION/skills/superpowers-skills-main/skills/debugging/systematic-debugging
Command: npx skills add https://github.com/robertpelloni/workspace --skill systematic-debugging-robertpelloni

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill provides a methodical framework for debugging, helping you efficiently pinpoint the root cause of software defects. It reduces the time spent on trial-and-error debugging and ensures robust solutions.

Core Features & Use Cases

  • Problem Isolation: Guide through steps to narrow down the scope of a bug.
  • Hypothesis Testing: Formulate and test hypotheses about potential causes.
  • Use Case: When encountering an unexpected error in your application, use this skill to systematically gather information, reproduce the bug, and generate a series of diagnostic steps to isolate the faulty code.

Quick Start

Systematically debug the error reported in 'bug_report.md' related to user login.

Frequently Asked Questions about systematic-debugging

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

FAQPage Schema
How do I debug code systematically instead of guessing at fixes?

Systematic debugging follows a four-phase framework: Root Cause Investigation to gather cross-component evidence, Pattern Analysis to identify trends, Hypothesis and Testing to validate assumptions, and Implementation to deploy the fix. This structured approach prevents symptom-based repairs and works across test failures, production incidents, and performance problems.

What's the difference between fixing a symptom and finding the root cause?

Symptom-based fixes treat the visible error without understanding why it occurred, often causing the same bug to resurface. Root-cause debugging isolates the actual source through methodical investigation and evidence gathering, ensuring robust solutions that prevent recurrence across your codebase.

How do I isolate and reproduce a bug when I don't know where to start?

Start with Root Cause Investigation to narrow the problem's scope and gather diagnostic data. Document the conditions under which the bug appears, reproduce it consistently, and collect evidence from all affected components before forming hypotheses about the cause.

Can I use this debugging method for production incidents and build failures?

Yes. The four-phase root-cause framework applies to any technical issue—production incidents, test failures, performance problems, and integration failures. The mandatory Phase 1 prerequisite and anti-pattern defenses help you resist time pressure and avoid knee-jerk fixes even under urgency.

What stops me from falling back into trial-and-error debugging under pressure?

The framework includes anti-pattern defenses designed to resist time pressure and enforce the four-phase process. Phase 1 is mandatory before proceeding, and cross-component evidence gathering prevents premature conclusions, helping you maintain rigor even when deadlines feel urgent.

Related Skills