Agent Skill

Systematic Debugging
Root cause analysis methodology requiring systematic hypothesis testing and evidence collection before attempting any fixes
What is Systematic Debugging?
This skill enforces a disciplined debugging methodology where agents must identify root causes through systematic investigation before attempting any fixes. The approach mandates the Iron Law: no fixes without root cause analysis, as symptom fixes waste time and create new bugs. The skill covers gathering evidence through logs, error messages, and reproduction steps, forming testable hypotheses about failure mechanisms, designing experiments to validate or refute each hypothesis, eliminating possibilities systematically, identifying the true root cause with evidence, understanding why the bug occurred and why it was not caught earlier, then implementing a targeted fix that addresses the cause rather than symptoms. The agent learns to resist the temptation of quick patches, understanding that random fixes and guessing waste far more time than structured investigation. The skill establishes boundaries between symptoms that manifest and underlying causes, between reproducing a bug and understanding its mechanism, and between fixes that address symptoms versus those that eliminate root causes. Trade-offs include the time investment in systematic investigation versus pressure for quick fixes, the granularity of hypothesis testing, and knowing when sufficient evidence exists to confirm root cause. The skill emphasizes that debugging is a scientific process requiring reproducibility, hypothesis testing, and verification.
