systematic-debugging

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

Updated May 4, 2026
One-click install
npx skills add https://github.com/Junkfooooood/hermes-governance --skill systematic-debugging-junkfooooood
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/Junkfooooood/hermes-governance/tree/main/skills/software-development/systematic-debugging
Command: npx skills add https://github.com/Junkfooooood/hermes-governance --skill systematic-debugging-junkfooooood

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 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 verified implementation with completion checklists. - Rule of Three: After three failed fix attempts, the process stops and questions the underlying architecture instead of attempting a fourth fix. - Red Flag Detection: Identifies rationalizations like "quick fix for now" and redirects back to systematic investigation. - Use Case: A failing production API endpoint gets debugged by reproducing the error, tracing data flow across components, forming a single hypothesis, and verifying the fix with a regression test. ## Quick Start Debug this failing test using the systematic-debugging process and 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 reproduce the failure consistently with a specific test command. Check recent git changes, trace the data flow to the root cause, and only then form a hypothesis and test a minimal fix.

What is root cause analysis in debugging?

Root cause analysis means identifying why a bug occurs before attempting any fix, rather than patching symptoms. It involves reading errors carefully, reproducing the issue, checking recent changes, and tracing bad values upstream to their source.

When should I stop trying fixes and question the architecture?

Stop after three failed fix attempts. If each fix reveals new problems in different places or requires massive refactoring, the pattern indicates an architectural problem that needs discussion rather than another patch.

Why do quick fixes cause more bugs?

Quick fixes address symptoms without understanding the underlying cause, so the real issue persists and the patch often introduces new defects. Bundling multiple changes also makes it impossible to isolate what actually worked.

How do I debug issues in multi-component systems?

Add diagnostic instrumentation at each component boundary, logging what data enters and exits each layer. Run once to gather evidence showing where the flow breaks, then investigate that specific component rather than guessing across the whole system.