systematic-debugging

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

14|5|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/MLT-OSS/hermes-agent-go --skill systematic-debugging-mlt-oss
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/MLT-OSS/hermes-agent-go/tree/main/skills/software-development/systematic-debugging
Command: npx skills add https://github.com/MLT-OSS/hermes-agent-go --skill systematic-debugging-mlt-oss

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, with mandatory completion checklists per phase. - 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: Lists rationalizations and anti-patterns ("quick fix for now", "just try changing X") that signal a return to Phase 1 is required. - Use Case: A test suite fails after a dependency upgrade. Instead of patching the assertion, follow Phase 1 to reproduce the failure, check recent git changes, trace the data flow, and isolate the actual breaking component before writing a regression test and fix. ## Quick Start Use the systematic-debugging skill to investigate why the login integration test fails 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 verbose test run. Check recent git changes, trace the data flow to the source of the bad value, and only then form a hypothesis and write a regression test before fixing.

What is root cause analysis in debugging?

Root cause analysis identifies why a bug occurs rather than patching its symptoms. This process reads errors carefully, reproduces the issue, gathers evidence at component boundaries, and traces bad values upstream to their origin before any fix is attempted.

When should I stop trying fixes and question the architecture?

Stop after three failed fix attempts. If each fix reveals new shared state or coupling in a different place, requires massive refactoring, or creates new symptoms elsewhere, the pattern itself is likely flawed and needs architectural discussion.

Does systematic debugging work for production incidents under time pressure?

Yes, the process is designed especially for emergencies because guessing under pressure causes thrashing and rework. A structured investigation typically resolves issues in 15-30 minutes versus hours of random fix attempts.

Why do quick fixes cause more bugs?

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