Systematic Debugging

Enforce a four-phase workflow for systematic root-cause debugging across incidents.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/lv7dev/shop_v2 --skill systematic-debugging-lv7dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Systematic Debugging
Source: https://github.com/lv7dev/shop_v2/tree/main/.claude/skills/debugging/systematic-debugging
Command: npx skills add https://github.com/lv7dev/shop_v2 --skill systematic-debugging-lv7dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates time-wasting trial-and-error by enforcing a four-phase root-cause debugging workflow.

Core Features & Use Cases

  • Phase-based workflow that enforces Root Cause Investigation, Pattern Analysis, Hypothesis Testing, and Implementation.
  • Anti-shortcut guidance with explicit stop-and-reanalyze rules to prevent rushed fixes.
  • Use Case: When facing a stubborn bug or flaky test, follow the four phases to isolate root cause and implement durable fixes.

Quick Start

Follow the four phases in order:

  • Phase 1: Root Cause Investigation
  • Phase 2: Pattern Analysis
  • Phase 3: Hypothesis and Testing
  • Phase 4: Implementation Validate results with evidence and before/after tests.

Frequently Asked Questions about Systematic Debugging

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

FAQPage Schema
What is systematic root-cause debugging and how does it stop guesswork?

Systematic root-cause debugging is a structured workflow that eliminates trial-and-error by enforcing strict sequence adherence across four phases: Root Cause Investigation, Pattern Analysis, Hypothesis Testing, and Implementation.

How do I debug a flaky test using a phased investigation workflow?

To debug a flaky test using a phased investigation workflow, follow the four phases in strict order: investigate the root cause, analyze patterns, test hypotheses, and implement the fix, validating results with explicit evidence and before-and-after tests.

Can I use this systematic debugging workflow for production incidents?

Yes, you can use this systematic debugging workflow for production incidents. It applies to any bug, failure, or unexpected behavior across software development, testing, and production environments to isolate root causes and implement durable fixes.

What is the best way to fix a stubborn bug without rushing a symptomatic fix?

The best way to fix a stubborn bug without rushing a symptomatic fix is to follow the embedded anti-patterns guidance, which provides explicit stop-and-reanalyze rules to prevent shortcuts and ensure minimal risky changes during implementation.

When should I avoid trial-and-error debugging and switch to a structured investigation?

You should avoid trial-and-error debugging and switch to a structured investigation whenever facing unexpected behavior or failures, as this enforces explicit evidence gathering and documented validation to prevent rushed, symptomatic fixes.