systematic-debugging

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

1|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/voidful/Aixlarity --skill systematic-debugging-voidful
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/voidful/Aixlarity/tree/main/.aixlarity/skills/systematic-debugging
Command: npx skills add https://github.com/voidful/Aixlarity --skill systematic-debugging-voidful

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Random fixes waste time and introduce new bugs. This Skill enforces a disciplined debugging process that finds the root cause of any bug, test failure, or unexpected behavior before any fix is attempted. ## Core Features & Use Cases - Four-Phase Investigation: Reproduce the failure, isolate the scope, understand the root cause, then fix and verify with tests. - Root Cause Discipline: Requires stating the root cause in one sentence, explaining why the code misbehaves, and predicting the correct fix before writing any code. - Regression Prevention: Captures the root cause in a failing test first, then applies the minimal fix and runs the full test suite. - Use Case: A Rust test fails intermittently. Use this Skill to reproduce it with cargo test, narrow the scope with dbg!() or git bisect, articulate the root cause, and land a minimal verified fix. ## Quick Start Use the systematic-debugging skill to investigate why my failing test produces this error before attempting 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?

Follow four phases: reproduce the failure and record the exact error, isolate the scope with dbg!() or git bisect, state the root cause in one sentence, then write a failing test that captures it before applying the minimal fix.

What is root cause analysis in debugging?

Root cause analysis means understanding why code produces wrong behavior before fixing it. You must state the cause in one sentence, explain the faulty mechanism, and predict what a correct fix changes before writing any code.

How do I use git bisect to find a bug?

Use git bisect during the isolation phase when a bug's origin commit is unknown. It binary-searches commit history to identify the exact change that introduced the failure, narrowing the investigation scope.

When should I not use a systematic debugging process?

Skip the full process for typos and trivial syntax errors, which should just be fixed directly. Build configuration issues should also be handled by checking files like Cargo.toml first rather than running a four-phase investigation.

Why write a failing test before fixing a bug?

A failing test captures the root cause and proves the fix works. It should fail before the fix and pass after, and running the full test suite afterward confirms the change introduces no regressions.