What problem does it solve?
This Skill provides a structured protocol for systematically diagnosing and fixing bugs, from context gathering and reproduction to root cause analysis and targeted validation. It solves the problem of inefficient debugging, ensuring that errors, performance degradations, or unexpected behaviors are resolved quickly and effectively.
Core Features & Use Cases
- Systematic Investigation: Guides through simple or complex bug investigation using direct tools (Grep, Read) or parallel async agents.
- Root Cause Analysis: Generate and validate hypotheses to pinpoint the exact source of the problem before implementing a fix.
- Use Case: When a user reports an intermittent performance issue in your application, use this Skill to systematically gather context, investigate with specialized agents, identify the root cause (e.g., N+1 queries), implement a minimal fix, and validate it, saving hours of debugging time.
Quick Start
Example: Diagnose a bug in the user profile update feature
1. Document: Expected vs. Actual behavior, reproduction steps.
2. Investigate: "Grep for 'user profile update' in src/api and src/services."
3. Hypothesize: "Potential root causes: incorrect validation, race condition, database error."