What problem does it solve?
This Skill provides a systematic approach to investigate errors, identify root causes, implement robust fixes, and document findings to prevent recurrence. It significantly reduces debugging time, improves code stability, and builds a valuable knowledge base for future issues.
Core Features & Use Cases
- Error Reproduction & Classification: Guides in consistently reproducing errors and classifying them by type (e.g., logic, integration) and severity.
- Root Cause Isolation: Utilizes techniques like binary search, logging, breakpoints, and the 5 Whys to pinpoint the actual cause, not just symptoms.
- Fix Implementation & Prevention: Ensures fixes address the root cause, adds regression tests, and improves logging/defensive code to prevent future bugs.
- Error Documentation: Standardizes documentation of errors in
error-log.md with unique IDs (ERR-XXXX), creating a searchable history.
- Use Case: A critical bug is reported in production. This skill guides a developer through reproducing the bug, isolating its root cause, implementing a robust fix, and documenting it thoroughly to prevent future occurrences.
Quick Start
Debug the 'Dashboard timeout' error (ERR-0042), reproducing it, isolating the root cause, and implementing a fix with regression tests.