systematic-debugging

Debug bugs and test failures through root-cause investigation before changes.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/yuquanliu1-dot/Test --skill systematic-debugging-yuquanliu1-dot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/yuquanliu1-dot/Test/tree/main/.claude/skills/systematic-debugging
Command: npx skills add https://github.com/yuquanliu1-dot/Test --skill systematic-debugging-yuquanliu1-dot

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It prevents wasted time and repeated failures by forcing you to investigate the real root cause before making any code or configuration changes.

Core Features & Use Cases

  • Four-phase debugging workflow: Root cause investigation, pattern analysis, hypothesis testing, and implementation with verification.
  • Pressure-resistant guardrails: Explicit anti-shortcuts like “ALWAYS find root cause before attempting fixes” and “NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST”.
  • Evidence-first for complex systems: Adds instrumentation across component boundaries and traces data flow backward through call stacks.
  • Failure handling: Requires minimal testing for a single hypothesis, mandates re-analysis if it fails, and escalates to architecture review after 3+ failed fixes.

Quick Start

Use the systematic-debugging skill when you hit a bug, test failure, or unexpected behavior, then follow Phase 1 to 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 test failures before attempting a code fix?

To find the root cause of test failures, you must reproduce the issue and gather evidence first. This approach enforces a four-phase workflow: root cause investigation, pattern analysis, hypothesis testing, and implementation with verification before completion.

What is the best way to debug complex multi-component system failures under time pressure?

Debugging complex multi-component failures under time pressure requires an evidence-first approach, adding instrumentation across component boundaries and tracing data flow backward through call stacks to identify the true root cause before proposing fixes.

Why do my quick fixes for bugs keep failing or causing repeated incidents?

Quick fixes fail because they bypass root cause investigation. You must enforce hypothesis testing with minimal testing for a single hypothesis, and if a fix fails, you need to re-analyze the issue rather than attempting another immediate patch.

How do I stop applying patches that don't resolve the actual bug?

To stop applying ineffective patches, follow a STOP-and-reanalyze rule after failed attempts. This workflow escalates to an architecture review after three or more failed fixes, forcing a systematic re-evaluation of the underlying problem.

When should I use systematic debugging instead of applying an obvious code change?

Use systematic debugging whenever you encounter a bug, test failure, or unexpected behavior, even when quick fixes seem obvious. It provides pressure-resistant guardrails that prevent wasted time by mandating root cause investigation before any changes.