systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Author
Category
Development ToolsInstall
Hot:7
Download and extract to your skills directory
Copy command and send to OpenClaw for auto-install:
Download and install this skill https://openskills.cc/api/download?slug=sickn33-skills-systematic-debugging&locale=en&source=copy
Systematic Debugging
Skill Overview
Systematic debugging is a structured fault-finding methodology that emphasizes identifying the root cause before attempting any fixes. It follows four clear stages—root-cause investigation, pattern analysis, hypothesis validation, and implementing the fix—to prevent blind fixes and the creation of new bugs.
Applicable Scenarios
Core Functions
Common Questions
What Is the “Iron Law”?
The iron law is the core principle of systematic debugging: No fixes are allowed until the root cause is found. This means that if you haven’t completed the first stage (root-cause investigation), you cannot propose a fix. Although it sounds strict, it prevents a large amount of ineffective work and the creation of new bugs.
Can the Systematic Process Be Skipped in Emergency Situations?
No—if anything, you especially need to follow it. Emergencies make it easiest to fall into the trap of “quick fixes,” leading to guess-based repairs. Experience shows that systematic debugging (15–30 minutes) resolves issues faster than random trial and error (repeated changes over 2–3 hours). Keeping process discipline during urgent moments is what makes it possible to fix the problem in one go.
What Should You Do After Multiple Failed Fixes?
If you have attempted more than three fixes and none succeeded, the skill triggers the “architecture issue identification” mechanism. At this point, you should stop trying to keep fixing and instead challenge whether the underlying architecture is sound: Does the current pattern have fundamental defects? Are you persisting with an incorrect design out of inertia? Do you need a refactor rather than patching? This is the signal to shift from debugging to architecture design.