What problem does it solve?
This Skill provides a systematic, step-by-step methodology to identify the root cause of a bug before attempting any fix, preventing wasted effort on symptoms and ensuring robust, long-term solutions.
Core Features & Use Cases
- Structured Problem Definition: Guides on clearly defining the bug, expected vs. observed behavior, and reproduction steps.
- Flow Visualization: Encourages mapping the execution flow (e.g., with Mermaid diagrams) to identify all involved components and potential failure points.
- Hypothesis-Driven Investigation: Teaches how to formulate probable root causes, prioritize them, and propose verification plans using tools like logging, testing, and network inspection.
- Use Case: When a user reports "the button doesn't work," instead of immediately trying random fixes, use this Skill to first reproduce the bug, visualize the frontend-to-backend flow, list the top 3 probable causes, and then propose a verification plan to confirm the root cause.
Quick Start
To start debugging, first summarize the bug (expected vs. observed behavior). Then, visualize the execution flow using a Mermaid diagram. Finally, list the top 3 probable root causes with confidence levels and propose a verification plan.