What problem does it solve? Debugging often becomes unstructured guesswork that patches symptoms instead of root causes. This Skill enforces a disciplined seven-step workflow that reproduces the bug, traces the true root cause, applies a minimal fix, and prevents recurrence with regression tests. ## Core Features & Use Cases - Structured Diagnosis Workflow: Guides you through error collection, reproduction, root-cause tracing, minimal fix proposal, and regression testing in a fixed order. - MCP-Based Code Investigation: Uses code analysis tools like find_symbol, find_referencing_symbols, and search_for_pattern to locate failures without manual file reading. - Similar Pattern Scanning: Searches the codebase for other locations sharing the same vulnerable pattern, optionally delegating broad scans to a debug-investigator subagent. - Use Case: A user reports a null pointer error in production. The Skill locates the failing symbol, traces the call path back to the missing null check, proposes a one-line fix, writes a failing-then-passing regression test, and records the incident in memory. ## Quick Start Ask the assistant to debug the error message you are seeing and follow the guided diagnosis workflow.