systematic-debugging

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

Updated Jul 3, 2026
One-click install
npx skills add https://github.com/decniner/HermesP1 --skill systematic-debugging-decniner
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/decniner/HermesP1/tree/main/.hermes-backup/skills/software-development/systematic-debugging
Command: npx skills add https://github.com/decniner/HermesP1 --skill systematic-debugging-decniner

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Random fixes and guess-and-check patching waste time, mask underlying issues, and introduce new bugs. This Skill enforces a disciplined four-phase debugging process that finds the root cause before any fix is attempted. ## Core Features & Use Cases - Four-Phase Process: Root cause investigation, pattern analysis, hypothesis testing, and implementation, each with explicit completion checklists. - 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 production API returns intermittent 500 errors. Instead of guessing, you build a high-repetition repro loop, trace data flow across the service and database layers, form ranked hypotheses, and land a single verified fix with a regression test. ## Quick Start Debug this failing test using the systematic-debugging process: find the root cause 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 failing test systematically?▼

Start by reading the full error message and stack trace, then build a tight loop command that reproduces the exact symptom. Trace the data flow to the root cause, form ranked hypotheses, and test one variable at a time before implementing a single verified fix.

What is root cause analysis in debugging?▼

Root cause analysis means understanding why a bug happens before fixing it, rather than patching symptoms. This Skill enforces it through Phase 1 investigation: reading errors, reproducing the issue, checking recent changes, and tracing bad values to their source.

How do I reproduce a flaky or intermittent bug?▼

Raise the reproduction rate by running the trigger 100 times, parallelizing, adding stress, narrowing timing windows, or injecting sleeps. A 50% flake is debuggable; a 1% flake usually is not, so prioritize loop reliability over immediate fixes.

When should I question the architecture instead of fixing a bug?▼

After three failed fix attempts, stop and question the architecture. Signals include each fix revealing new shared state in different places, fixes requiring massive refactoring, or each fix creating new symptoms elsewhere.

Can this debugging process work for multi-component systems?▼

Yes. For systems spanning APIs, services, and databases, add diagnostic instrumentation at each component boundary first. Log data entering and exiting each layer, run once to gather evidence, then isolate and investigate the failing component.