What problem does it solve? Debugging often produces quick symptom fixes—nil checks, guards, and workarounds—that hide the real bug and accumulate into fragile code. This Skill enforces a disciplined root-cause debugging methodology so fixes address the actual defect. ## Core Features & Use Cases - Root-Cause Tracing: Reproduce the bug first, then ask "why" repeatedly until the underlying cause is found. - Anti-Pattern Detection: Flags symptom fixes such as nil-check guards that silence crashes and paragraph-long comments justifying workarounds. - Pattern-Wide Fixes: Greps for the same defect pattern across the codebase and fixes all instances, not just the reported one. - Restart Bug Heuristic: For failures after restart, prioritizes stale persistent state (config files, caches, lock files) over code as the suspect. - Use Case: When a crash reappears after a deploy, apply this Skill to reproduce it, instrument with logging instead of guessing, and fix the actual state-validation defect rather than adding another guard. ## Quick Start Apply the fix-root-causes principle to debug this recurring crash and trace it to its root cause before writing any fix.