systematic-debugging

Identify root causes of software bugs through a four-phase investigation process.

6|Updated Aug 19, 2025
One-click install
npx skills add https://github.com/lv416e/dotfiles --skill systematic-debugging-lv416e
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/lv416e/dotfiles/tree/main/dot_claude/skills/systematic-debugging
Command: npx skills add https://github.com/lv416e/dotfiles --skill systematic-debugging-lv416e

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers often waste time with random fixes or quick patches that only address symptoms, leading to recurring bugs and deeper issues. This skill provides a structured, four-phase framework to systematically find and fix root causes, ensuring lasting solutions.

Core Features & Use Cases

  • Four-Phase Framework: Guides through root cause investigation, pattern analysis, hypothesis testing, and implementation.
  • Root Cause Mandate: Enforces finding the true source of a problem, not just patching symptoms, even under time pressure.
  • Pressure Resistance: Designed with explicit anti-shortcuts and language to resist rationalization, ensuring disciplined adherence.
  • Architectural Insight: Prompts questioning the underlying architecture if multiple fixes fail, preventing endless symptom-chasing.

Quick Start

I've encountered an unexpected error in the API. Use the systematic-debugging skill to guide me through finding the root cause.

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 the symptom?

Root cause analysis identifies the underlying source of a bug rather than fixing surface symptoms. This skill guides a four-phase process—investigation, pattern analysis, hypothesis testing, and implementation—to ensure fixes address the actual problem, preventing recurring failures and deeper issues.

What's the best way to troubleshoot production incidents and test failures?

Systematic troubleshooting applies evidence-based investigation and diagnostic instrumentation to production incidents and test failures. This approach enforces finding the true source before implementing fixes, resisting pressure to apply quick patches that mask underlying architectural or design problems.

How do I avoid wasting time on random fixes that don't solve the real problem?

Structured debugging replaces trial-and-error with a disciplined framework that mandates root cause identification. It includes anti-pattern awareness and validation that your fix resolves the issue under various operating conditions, stopping symptom-chasing cycles.

When should I question the architecture instead of continuing to fix individual bugs?

If multiple fixes fail to resolve recurring issues, architectural problems may be the root cause. This skill prompts architectural review when symptom-focused solutions repeatedly fail, preventing endless patching and revealing design-level flaws.

Can I use this debugging approach for performance problems and integration glitches?

Yes, systematic debugging applies to software issues including bugs, test failures, production incidents, performance problems, and integration glitches. The four-phase framework works across all these problem types to identify and resolve root causes.

What makes this different from typical debugging workflows?

This approach enforces evidence-based investigation and a no-symptom-fixes mandate, with explicit language designed to resist rationalization under time pressure. It ensures thorough diagnosis before implementation, distinguishing it from ad-hoc or shortcut-prone debugging practices.