systematic-debugging

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

Updated Sep 20, 2026
One-click install
npx skills add https://github.com/GreenyZA/neo-light --skill systematic-debugging-greenyza
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/GreenyZA/neo-light/tree/main/.hermes-home/skills/software-development/systematic-debugging
Command: npx skills add https://github.com/GreenyZA/neo-light --skill systematic-debugging-greenyza

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Random fixes and quick patches waste time, mask underlying issues, and introduce new bugs. This Skill enforces a disciplined root-cause-first debugging process so fixes address the actual problem instead of symptoms. ## Core Features & Use Cases - Four-Phase Process: Root cause investigation, pattern analysis, hypothesis testing, and implementation, each with explicit completion criteria before proceeding. - Tight Feedback Loops: Guidance for building fast, deterministic reproduction commands (failing tests, curl scripts, CLI invocations, bisection harnesses) that go red on the exact symptom. - Rule of Three & Architecture Check: After three failed fixes, the process stops and questions the underlying architecture rather than attempting a fourth patch. - Use Case: A test suite fails intermittently in CI. Instead of guessing, you build a high-repetition repro loop, trace the 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 login integration test fails 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 reproduction loop such as running the single failing test with pytest. Trace the data flow to the root cause before writing any fix, and confirm the fix with a regression test.

How to reproduce flaky or intermittent bugs?▼

Raise the reproduction rate instead of chasing a perfect repro: run the trigger 100 times, parallelize, add stress, or narrow timing windows. A 50% flake is debuggable, while a 1% flake usually needs more instrumentation first.

What should I do before proposing a bug fix?▼

Complete root cause investigation first: read errors fully, reproduce the symptom with a deterministic command, review recent git changes, and gather evidence at component boundaries. Proposing fixes before understanding why the bug happens leads to symptom patches.

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 elsewhere, fixes requiring massive refactoring, or each patch creating new symptoms in different places.

Does systematic debugging work for multi-component systems?▼

Yes. For systems spanning APIs, services, and databases, add diagnostic instrumentation at each component boundary first, logging what data enters and exits. Run once to gather evidence showing where the flow breaks, then investigate that specific component.