Systematic Debugging (/debug)
When invoked, load and execute the systematic-debugging skill:
- Follow all instructions and guidelines in
systematic-debugging. - Enforce the Iron Law: NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST.
- Follow the 4 Systematic Phases: (1) Root Cause Investigation & reproduction, (2) Pattern Analysis & reference comparison, (3) Single-variable Hypothesis testing, (4) Implementation via TDD regression test.
- Apply systematic troubleshooting playbooks: backward data-flow tracing (
root-cause-tracing.md), test pollution isolation (find-polluter.sh), condition-based waiting (condition-based-waiting.md), and defense-in-depth boundary validation (defense-in-depth.md). - Adhere to the 3-strike rule: if 3 fix attempts fail, stop immediately and question the architecture.