systematic-debugging

Standardize debugging workflows to locate root causes through a four-phase process.

17|1|Updated Oct 27, 2020
One-click install
npx skills add https://github.com/bellini666/dotfiles --skill systematic-debugging-bellini666
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/bellini666/dotfiles/tree/main/agents/skill/systematic-debugging
Command: npx skills add https://github.com/bellini666/dotfiles --skill systematic-debugging-bellini666

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured, root-cause oriented approach to debugging, preventing patchwork fixes and wasted effort by ensuring issues are understood before changes.

Core Features & Use Cases

  • Four-Phase Framework: Root Cause Investigation, Pattern Analysis, Hypothesis & Testing, and Implementation to ensure fixes address the true cause.
  • Red Flags & Best Practices: Detect common pitfalls like premature fixes, missing evidence, and incomplete verification.
  • Use Case: When a test fails or a flaky runtime error occurs, follow the framework to identify the root cause before patching and releasing.

Quick Start

Initiate the four-phase workflow on the failing scenario: start with Phase 1 (Root Cause Investigation), gather diagnostics, then move to Phase 2 (Pattern Analysis), Phase 3 (Hypothesis & Testing), and Phase 4 (Implementation) with minimal viable experiments.

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 flaky test failure instead of just patching the symptom?

To find the root cause of a flaky test failure, use a four-phase debugging method: investigate root causes, analyze patterns, test hypotheses, and implement fixes. This enforces diagnostic evidence gathering to ensure changes address the true trigger.

What is the best way to debug intermittent runtime errors without wasting effort on patchwork fixes?

The best way to debug intermittent runtime errors is following a structured root-cause investigation framework. It prevents patchwork fixes by guiding you through pattern analysis and hypothesis testing with minimal viable experiments before implementation.

How do I troubleshoot a test failure systematically from symptoms to the original trigger?

To troubleshoot a test failure systematically, start with Phase 1 to gather diagnostic evidence on symptoms, then proceed through pattern analysis, hypothesis testing, and implementation. This ensures you locate the original trigger before patching.

Does this debugging workflow work for both runtime errors and test failures?

Yes, this debugging workflow works for both runtime errors and test failures. It standardizes troubleshooting across a broad range of scenarios, including intermittent issues, by enforcing a four-phase process that requires diagnostic evidence.

What are common debugging pitfalls to avoid when investigating a runtime error?

Common debugging pitfalls to avoid when investigating a runtime error include premature fixes, missing diagnostic evidence, and incomplete verification. The framework detects these red flags to ensure changes address the root cause before release.

When should I use a structured debugging framework instead of applying quick fixes?

You should use a structured debugging framework whenever a test fails or a flaky runtime error occurs. It prevents wasted effort by requiring diagnostic evidence and hypothesis testing to understand issues fully before implementing changes.