systematic-debugging

Investigate root causes before fixing bugs using a 4-phase workflow.

11|2|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/ajsai47/holyclaude --skill systematic-debugging-ajsai47
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/ajsai47/holyclaude/tree/main/skills/workflow/systematic-debugging
Command: npx skills add https://github.com/ajsai47/holyclaude --skill systematic-debugging-ajsai47

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Random, unplanned bug fixes waste hours of engineering time, introduce new issues, and never address the actual underlying root cause of problems, leading to recurring failures and ongoing technical debt.

Core Features & Use Cases

  • 4-Phase Structured Workflow: Mandatory step-by-step process from root cause investigation through implementation, ensuring no fixes are attempted before the underlying issue is fully understood.
  • Pressure-Resistant Guardrails: Built-in strict rules and explicit language designed to prevent rationalizing shortcuts during emergencies, time crunches, or when quick symptom fixes seem obviously easier.
  • Anti-Pattern Guidance: Clear list of common debugging mistakes (such as fixing symptoms, making multiple changes at once, or skipping investigation for "simple" bugs) with explicit redirection back to the correct process.
  • Supporting Techniques: Includes ready-to-use reference methods like root cause tracing, defense-in-depth validation, and condition-based waiting for common debugging scenarios like flaky tests or deep call stack errors. Use this skill for any test failure, production bug, unexpected behavior, or performance issue, especially when time pressure, prior failed fix attempts, or unclear root causes make random fixes tempting.

Quick Start

Use the systematic-debugging skill to investigate the root cause of the failing payment processing test before proposing any fixes.

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 production outage instead of just fixing the symptom?

Root cause analysis for a production outage requires a structured 4-phase workflow that enforces mandatory investigation before any code changes. This prevents unplanned symptom fixes and ensures permanent bug resolution without introducing new issues.

What is the best way to debug flaky test failures under time pressure?

Debugging flaky test failures under time pressure requires pressure-resistant guardrails and supporting techniques like condition-based waiting. These prevent rationalizing shortcuts and enforce root cause tracing before attempting fixes.

How do I stop recurring bugs after multiple failed fix attempts?

To stop recurring bugs after multiple failed fix attempts, follow an anti-pattern guidance process that explicitly redirects you from making multiple changes at once back to a step-by-step root cause investigation.

Why does fixing symptoms instead of root causes waste engineering time?

Fixing symptoms instead of root causes wastes engineering time because random, unplanned fixes never address the actual underlying issue, leading to recurring failures, ongoing technical debt, and the introduction of new issues.

Can I apply a systematic debugging workflow to performance degradation and integration errors?

Yes, a systematic debugging workflow applies to all technical debugging scenarios including performance degradation and integration errors. It uses defense-in-depth validation to ensure permanent resolution without introducing new issues.