debug

Diagnose software errors through structured hypothesis testing and root cause analysis.

1|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/dwayneparton/claude --skill debug-dwayneparton
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: debug
Source: https://github.com/dwayneparton/claude/tree/main/skills/debug
Command: npx skills add https://github.com/dwayneparton/claude --skill debug-dwayneparton

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When something breaks, the temptation is to guess at fixes and hope one sticks. This Skill replaces guessing with a disciplined diagnostic workflow that narrows down possible causes until a single, evidence-backed root cause remains. ## Core Features & Use Cases - Structured Six-Step Diagnosis: Capture the symptom, reproduce the issue, form competing hypotheses, narrow with evidence, verify the root cause, and hand off to a fix workflow. - Parallel Hypothesis Investigation: Launches multiple Explore agents simultaneously to test competing theories about what caused the failure. - Fix Handoff: Produces a clear root cause summary with affected files, ready to feed into the /sdlc development workflow. - Use Case: Your API suddenly returns 500 errors for users without profiles. Instead of randomly editing code, the workflow reproduces the error, tests hypotheses about null handling and database migrations in parallel, and pinpoints the exact line causing the failure. ## Quick Start Ask the AI to debug why the login endpoint returns a 500 error when a user has no profile picture.

Frequently Asked Questions about debug

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

FAQPage Schema
How do I debug a production error systematically?

Start by capturing the exact symptom: what happens, what should happen, and how to reproduce it. Then form 2-3 competing hypotheses about the cause, gather evidence for each, and eliminate disproved theories until one root cause remains.

How to find the root cause of a failing test?

Reproduce the failure consistently first, then check recent changes with git log and git diff since regressions often come from recent commits. Form hypotheses about the cause and test each one against evidence rather than guessing at fixes.

What should I do when I cannot reproduce a bug?

State clearly that the issue is not reproducible and investigate environmental differences instead: configuration, data, dependencies, or runtime conditions. Without reproduction, you cannot verify that any fix actually works.

Why is guessing at fixes worse than methodical debugging?

A wrong guess wastes more time than methodical investigation and can mask the real problem or introduce new bugs. Narrowing the space of possible causes with evidence ensures the fix addresses the actual root cause.

When should a bug fix skip the full development workflow?

Trivial fixes like one-line changes or config updates do not need full SDLC ceremony with branching, planning, and PR review. Assess the blast radius of the change and let the user decide how much process the fix warrants.