Agent SkillsAgent Skills
Lordsisodia

systematic-debugging

@Lordsisodia/systematic-debugging
Lordsisodia
0
0 forks
Updated 4/6/2026
View on GitHub

Four-phase root cause analysis process to find bugs 10x faster

Installation

$npx agent-skills-cli install @Lordsisodia/systematic-debugging
Claude Code
Cursor
Copilot
Codex
Antigravity

Details

Path.blackbox/1-agents/.skills/testing/systematic-debugging/SKILL.md
Branchmaster
Scoped Name@Lordsisodia/systematic-debugging

Usage

After installing, this skill will be available to your AI coding assistant.

Verify installation:

npx agent-skills-cli list

Skill Instructions


name: systematic-debugging category: core version: 1.0.0 description: Four-phase root cause analysis process to find bugs 10x faster author: obra/superpowers verified: true tags: [debugging, troubleshooting, problem-solving]

Systematic Debugging

Overview

Find root causes quickly using a proven four-phase process: reproduce, isolate, identify, and verify.

When to Use This Skill

βœ… Complex bugs with unclear causes βœ… Production incidents requiring fast resolution βœ… Multi-component failures βœ… Intermittent issues βœ… Performance problems

The Four Phases

Phase 1: REPRODUCE

Create a reliable, minimal reproduction case:

  • Document exact steps to trigger the bug
  • Capture environment (OS, version, config)
  • Simplify the scenario - remove unnecessary variables
  • Make it consistent - bug should happen every time
  • Save test data for later verification

Phase 2: ISOLATE

Narrow down where the bug occurs:

  • Binary search through code layers (frontend/backend/db)
  • Eliminate components - what's NOT involved?
  • Add logging strategically to trace execution
  • Test hypotheses one at a time
  • Document what you ruled out

Phase 3: IDENTIFY

Find the exact root cause:

  • Examine the isolated code carefully
  • Check assumptions - what did you think was true?
  • Look for edge cases and boundary conditions
  • Review recent changes that might be related
  • Verify data flow through the system

Phase 4: VERIFY

Confirm the fix actually resolves the issue:

  • Apply the minimal fix that addresses root cause
  • Test with original reproduction case
  • Add regression test to prevent recurrence
  • Check for similar issues elsewhere in codebase
  • Document the fix for future reference

Common Debugging Mistakes

❌ Skipping straight to fixes without understanding ❌ Making multiple changes at once ❌ Not documenting what you tried ❌ Fixing symptoms instead of root causes ❌ Not verifying the fix works long-term

Questions Claude Will Ask

To help debug systematically:

  1. What were you doing when the bug occurred?
  2. What did you expect to happen vs. what actually happened?
  3. Can you reproduce this consistently?
  4. What have you already tried?
  5. What environment are you running in?

Integration with Claude

When debugging, say:

  • "Help me debug [issue] systematically"
  • "I'm seeing [error], let's work through it methodically"
  • "Let's isolate where this bug is occurring"

Claude will:

  • Guide you through all four phases
  • Prevent jumping to conclusions
  • Help document your findings
  • Suggest targeted tests
  • Ensure you verify the fix