systematic-debugging

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

Updated Jul 10, 2026
One-click install
npx skills add https://github.com/AvaTar-ArTs/.Agent-skills --skill systematic-debugging-avatar-arts
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/AvaTar-ArTs/.Agent-skills/tree/main/skills/software-development/systematic-debugging
Command: npx skills add https://github.com/AvaTar-ArTs/.Agent-skills --skill systematic-debugging-avatar-arts

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 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. - Evidence Gathering: Read error messages, reproduce issues consistently, 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, traced through the call stack to the source of a bad value, fixed with a regression test, and verified against the full test suite. ## Quick Start Use the systematic-debugging skill to investigate why this test is failing 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 debugging?▼

Root cause analysis means identifying why a bug happens before fixing it, rather than patching symptoms. This Skill enforces it through Phase 1: read errors, reproduce the issue, review recent changes, gather evidence at component boundaries, and trace data flow upstream.

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. Discuss refactoring the design with the team instead of attempting a fourth fix.

Does systematic debugging work for production incidents under time pressure?▼

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

Why do quick fixes create more bugs?▼

Quick patches address symptoms rather than root causes, so the underlying issue persists and resurfaces elsewhere. Bundling multiple changes also makes it impossible to isolate what worked, and untested fixes lack regression protection.