systematic-debugging

Diagnose software bugs through a four-phase root cause investigation workflow.

5|2|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/AjayRajan05/VoiceOS --skill systematic-debugging-ajayrajan05
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/AjayRajan05/VoiceOS/tree/main/skills/bundled/community/software-development/systematic-debugging
Command: npx skills add https://github.com/AjayRajan05/VoiceOS --skill systematic-debugging-ajayrajan05

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Random fixes and guess-and-check patching waste hours and introduce new bugs. This Skill enforces a disciplined four-phase debugging process that finds the root cause before any fix is attempted, preventing symptom-only patches and repeated failed fix attempts. ## Core Features & Use Cases - Four-Phase Process: Root cause investigation, pattern analysis, hypothesis testing, and implementation, each with explicit completion criteria. - Tight Feedback Loops: Build fast, deterministic reproduction commands (failing tests, curl scripts, headless browser checks, bisection harnesses) that go red on the exact symptom and green when fixed. - Rule of Three: After three failed fixes, stop and question the architecture instead of attempting a fourth patch. - Use Case: A flaky integration test fails intermittently in CI. Use this Skill to raise the reproduction rate, trace data flow across components, form ranked hypotheses, and land a single verified fix with a regression test. ## Quick Start Use the systematic-debugging skill to investigate why the checkout API returns a 500 error 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 debug a bug systematically instead of guessing?▼

Follow four phases: investigate the root cause by reading errors and reproducing the issue, analyze patterns against working code, form and test ranked hypotheses one variable at a time, then implement a single fix with a regression test. Never propose fixes before completing the investigation phase.

How to reproduce a flaky test that fails intermittently?▼

Raise the reproduction rate by running the trigger in a loop 100 times, parallelizing execution, adding stress, or narrowing timing windows. A 50% flake is debuggable while a 1% flake usually is not, so prioritize making the failure frequent before investigating.

What is a tight feedback loop in debugging?▼

A tight feedback loop is a single fast, deterministic command that fails on the exact symptom and passes only when the bug is fixed. Examples include a failing unit test, a curl script against a dev server, or a headless browser assertion, rather than a generic check that the program does not crash.

When should I stop trying fixes and question the architecture?▼

Stop after three failed fix attempts. If each fix reveals new coupling in a different place or creates new symptoms elsewhere, the pattern indicates an architectural problem, and you should discuss refactoring with the user instead of attempting a fourth fix.

Does systematic debugging work for multi-component systems?▼

Yes. For systems spanning APIs, services, and databases, add diagnostic instrumentation at each component boundary to log data entering and exiting. Run once to gather evidence showing where the failure occurs, then investigate that specific component.