systematic-debugging

Identify and eliminate root causes of bugs through a structured, phase-based debugging process.

12|9|Updated Oct 23, 2025
One-click install
npx skills add https://github.com/jnealey88/designsetgo --skill systematic-debugging-jnealey88
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/jnealey88/designsetgo/tree/main/.claude/skills/systematic-debugging
Command: npx skills add https://github.com/jnealey88/designsetgo --skill systematic-debugging-jnealey88

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Random fixes waste time and create new bugs. Quick patches mask underlying issues.

Core principle: ALWAYS find root cause before attempting fixes. Symptom fixes are failure.

Core Features & Use Cases

  • Phase 1: Root Cause Investigation — read errors, reproduce, gather evidence, and trace data flow before proposing fixes.
  • Phase 2: Pattern Analysis — compare against references, identify differences, and understand dependencies.
  • Phase 3: Hypothesis and Testing — form a single hypothesis, test minimally, verify results, and iterate.
  • Phase 4: Implementation — create a failing test case, implement the fix, verify, and re-assess.
  • Red flags for process and when to escalate.

Quick Start

Begin with Phase 1 to read errors, reproduce the issue, and gather evidence before proposing any fix.

Frequently Asked Questions about systematic-debugging

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

FAQPage Schema
How do I find the root cause of a bug instead of just patching symptoms?▼

Root-cause debugging enforces a structured, phase-based process to identify and eliminate underlying issues. You must read errors, reproduce the issue, and gather evidence before proposing any fixes, ensuring symptom patches do not mask underlying problems.

What is the best way to systematically troubleshoot unexpected behavior in production?▼

Systematic troubleshooting follows four phases: Root Cause Investigation, Pattern Analysis, Hypothesis and Testing, and Implementation. This structured approach requires documenting errors, reproduction steps, and evidence to resolve production issues without creating new bugs.

How do I create a formal root-cause investigation before attempting software fixes?▼

A formal root-cause investigation traces data flow and gathers evidence during Phase 1. You compare against references and identify dependencies in Phase 2, then form a single hypothesis and test minimally in Phase 3 before implementing any fix.

Can I use a structured debugging process for test failures and performance problems?▼

Yes, this structured debugging process is applicable to any software issue across development, staging, and production environments. It handles test failures, unexpected behavior, performance problems, and integration issues by enforcing consistent phase-based investigation.

When should I escalate a bug during the hypothesis and testing phase?▼

You should escalate a bug when you encounter red flags in the debugging process. The structured approach includes specific red flags that indicate when to escalate, particularly if minimal testing during the hypothesis phase fails to verify results or iterate toward a root cause.

Why do random fixes waste time and create new bugs during software troubleshooting?▼

Random fixes waste time because quick patches mask underlying issues instead of eliminating root causes. A structured debugging process prevents this by requiring a formal root-cause investigation, evidence documentation, and minimal hypothesis testing before implementing any fix.