What problem does it solve? When facing bugs, test failures, or unexpected behavior, it is tempting to apply quick symptom fixes that fail repeatedly and waste hours. This Skill enforces a disciplined investigation process so the actual root cause is found and fixed instead of patched over. ## Core Features & Use Cases - Four-Phase Process: Enforces Root Cause Investigation, Pattern Analysis, Hypothesis Testing, and Implementation in strict order, with explicit stop conditions when fixes fail. - Supporting Techniques: Includes root-cause tracing through call stacks, defense-in-depth validation at multiple layers, and condition-based waiting to replace flaky arbitrary timeouts in tests. - Pollution Bisection Script: Ships a bash script that runs test files one by one to identify which test creates unwanted files or state. - Use Case: A test suite is flaky with 60% pass rate due to guessed setTimeout delays. Apply condition-based waiting helpers to poll for actual events, raising the pass rate to 100% while running faster. ## Quick Start Ask the AI to debug a failing test or production bug using the systematic debugging process, starting with root cause investigation before any fix.