superpowers-debugging

Trace root causes of bugs through a four-phase investigation workflow.

1|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/rohit-vc26/claude-power-kit --skill superpowers-debugging-rohit-vc26
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: superpowers-debugging
Source: https://github.com/rohit-vc26/claude-power-kit/tree/main/skills/superpowers-debugging
Command: npx skills add https://github.com/rohit-vc26/claude-power-kit --skill superpowers-debugging-rohit-vc26

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Systematic debugging prevents misdirected fixes by enforcing a disciplined root-cause investigation before proposing changes.

Core Features & Use Cases

  • Structured investigation: Read errors, reproduce reliably, and trace data flow to identify the root cause.
  • Phased workflow: Guides through four phases (Root Cause Investigation, Pattern Analysis, Hypothesis & Testing, Implementation) to ensure verifiability and evidence-based fixes.
  • Practical scenarios: Useful for debugging flaky CI builds, intermittent failures in production, and complex multi-service incidents.

Quick Start

Identify the error, reproduce it consistently, and trace data flow to locate the root cause.

Frequently Asked Questions about superpowers-debugging

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

FAQPage Schema
How do I identify the root cause of a bug before applying a fix?▼

Root-cause debugging systematically traces data flow and gathers evidence to identify the origin of a bug before implementing fixes. It enforces a four-phase workflow: Root Cause Investigation, Pattern Analysis, Hypothesis and Testing, and Implementation.

What is the best way to debug intermittent failures in a multi-service production environment?▼

Debugging intermittent production failures requires structured investigation to reliably reproduce the issue and trace data flow across services. A phased workflow ensures evidence gathering and pattern analysis precede any remediation planning or guarded changes.

How do I triage flaky CI builds without misdirecting the fix?▼

Triage flaky CI builds by reproducing errors consistently and analyzing failure patterns before proposing changes. Establishing a verifiable hypothesis through evidence gathering prevents misdirected fixes and ensures the root cause is addressed.

Does root-cause debugging work for single-module codebases or is it only for complex multi-service incidents?▼

Root-cause debugging applies across both single-module codebases and multi-service environments. The structured investigation workflow scales from tracing local test failures to triaging complex production incidents and CI pipeline issues.

What steps should I follow to systematically trace unexpected software behavior?▼

Systematically trace unexpected software behavior through four phases: gather evidence and reproduce the issue during Root Cause Investigation, perform Pattern Analysis, form hypotheses in the Testing phase, and execute guarded changes during Implementation.

When should I avoid jumping straight to implementation during bug investigation?▼

Avoid jumping to implementation when unexpected software behavior lacks verifiable evidence. Applying fixes before completing root cause investigation and hypothesis testing risks misdirected remediation and unresolved underlying issues.