systematic-debugging

Diagnose bugs through a four-phase root cause investigation process before proposing fixes.

Updated Jun 20, 2026
One-click install
npx skills add https://github.com/dchavez3395/Puchica-hydrogen --skill systematic-debugging-dchavez3395
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: systematic-debugging
Source: https://github.com/dchavez3395/Puchica-hydrogen/tree/main/docs/superpowers/skills/openclaw-ports/systematic-debugging
Command: npx skills add https://github.com/dchavez3395/Puchica-hydrogen --skill systematic-debugging-dchavez3395

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 methodology that finds the root cause before any fix is attempted, replacing guess-and-check thrashing with a repeatable process. ## Core Features & Use Cases - Four-Phase Process: Root cause investigation, pattern analysis, hypothesis testing, and verified implementation, each gated so you cannot skip ahead. - Multi-Component Evidence Gathering: Instrumentation guidance for layered systems (CI, build, signing, services) to pinpoint exactly which layer fails. - Architectural Escalation: After three failed fixes, the process stops and questions the architecture instead of attempting a fourth patch. - Use Case: When a test fails or a dev server hangs, instead of restarting processes blindly, you reproduce the issue, check recent changes with git diff, gather evidence at each layer, form one hypothesis, and verify a single minimal fix with a failing test. ## Quick Start Use the systematic-debugging skill to investigate this failing test and find its root cause before suggesting 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 test failure systematically?▼

Start with root cause investigation: read the full error and stack trace, reproduce the failure consistently, and check recent changes with git diff. Then form one specific hypothesis, test it with the smallest possible change, and verify with a failing test case before implementing the fix.

How to find root cause in multi-component systems?▼

Add diagnostic instrumentation at each component boundary, logging what data enters and exits every layer. Run once to gather evidence showing where the failure occurs, then investigate only that specific component instead of guessing across the whole stack.

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

Stop after three failed fix attempts. If each fix reveals a new problem in a different place or requires massive refactoring, the pattern itself is likely wrong. Discuss the architecture with your team before attempting a fourth fix.

Does systematic debugging apply to simple bugs or emergencies?▼

Yes, the process applies to any technical issue regardless of perceived simplicity or time pressure. Simple bugs have root causes too, and systematic investigation is faster than guess-and-check thrashing, especially under deadline pressure.

Why do quick fixes cause more bugs?▼

Quick patches treat symptoms rather than root causes, so the underlying issue persists and resurfaces elsewhere. Bundling multiple changes at once also makes it impossible to isolate what worked, frequently introducing new defects.