systematic-debugging

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

1|Updated Jun 1, 2026
One-click install
npx skills add https://github.com/Araara7/hermes-skills --skill systematic-debugging-araara7
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/Araara7/hermes-skills/tree/main/software-development/systematic-debugging
Command: npx skills add https://github.com/Araara7/hermes-skills --skill systematic-debugging-araara7

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Random fixes and guess-and-check patches waste time, mask underlying issues, and introduce new bugs. This Skill enforces a disciplined 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 criteria. - Evidence Gathering: Read error messages, reproduce failures, check recent git changes, and trace data flow across component boundaries. - Rule of Three: After three failed fixes, stop and question the architecture instead of attempting a fourth patch. - Use Case: A failing pytest suite in production gets reproduced locally, traced through the call stack to the source of a bad value, fixed with a single regression-tested change, and verified against the full test suite. ## Quick Start Use the systematic-debugging skill to investigate why my test suite 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 command like pytest -v. Check recent git changes, trace the data flow to the source of the bad value, and only then form a hypothesis and test it with a minimal change.

What is root cause analysis in software debugging?▼

Root cause analysis means identifying why a bug occurs before fixing it, rather than patching symptoms. It involves reproducing the issue, gathering evidence at component boundaries, and tracing bad values upstream to their origin.

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

Stop after three failed fix attempts. If each fix reveals new coupling or creates symptoms elsewhere, the pattern itself is likely flawed. Discuss refactoring the architecture with your team instead of attempting a fourth fix.

Why do quick fixes cause more bugs?▼

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

Can systematic debugging work under time pressure?▼

Yes, and it is especially valuable during emergencies. A structured investigation typically resolves issues in 15-30 minutes, while random guess-and-check attempts often consume hours and introduce regressions.