systematic-debugging

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

5|2|Updated May 26, 2026
One-click install
npx skills add https://github.com/perasyudha/Nyxora --skill systematic-debugging-perasyudha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/perasyudha/Nyxora/tree/main/packages/core/playbooks/software-development/systematic-debugging
Command: npx skills add https://github.com/perasyudha/Nyxora --skill systematic-debugging-perasyudha

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 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 criteria. - Tight Feedback Loops: Build fast, deterministic reproduction commands (failing tests, curl scripts, headless browser checks) 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 test suite fails intermittently in CI. Use this Skill to raise the reproduction rate, 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 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 bug systematically instead of guessing?

Follow four phases: investigate the root cause by reading errors and reproducing the issue, analyze patterns against working code, form and test ranked hypotheses one variable at a time, then implement a single fix with a regression test. Never propose fixes before completing the investigation phase.

How to reproduce a flaky test that fails intermittently?

Raise the reproduction rate by running the trigger in a loop 100 times, parallelizing execution, adding stress, or narrowing timing windows. A 50% flake is debuggable while a 1% flake usually is not, so prioritize making the failure frequent and deterministic.

What is a tight feedback loop in debugging?

A tight feedback loop is a single fast, deterministic command that fails on the exact symptom and passes only when the bug is fixed. Examples include a failing unit test, a curl script against a dev server, or a headless browser assertion.

When should I stop trying fixes and question the architecture?

Stop after three failed fix attempts. If each fix reveals new coupling or creates symptoms elsewhere, the pattern indicates an architectural problem, so discuss refactoring the design with the user before attempting more fixes.

Can this debugging process be used under time pressure?

Yes, the process is designed for emergencies because systematic investigation is faster than guess-and-check thrashing. Skipping root cause analysis under pressure guarantees rework and new bugs.