What problem does it solve?
This Skill provides a structured methodology to systematically debug software errors, ensuring that root causes are identified and fixed, not just symptoms, thereby preventing future occurrences.
Core Features & Use Cases
- Error Classification: Categorize errors by type (Syntax, Runtime, Logic, Integration, Performance) and severity (Critical, High, Medium, Low).
- Root Cause Analysis: Employ techniques like the "5 Whys" and binary search to pinpoint the origin of bugs.
- TDD & Regression Testing: Write failing tests first, implement fixes, and add regression tests to ensure stability.
- Documentation: Maintain a comprehensive
error-log.md for historical tracking and knowledge sharing.
- Use Case: When a critical bug is reported in production, use this Skill to follow a clear process: reproduce the error, classify it, find the root cause using 5 Whys, implement a fix with a test, and document everything to prevent recurrence.
Quick Start
Debug errors systematically by reproducing, classifying, isolating the root cause, fixing with a test, and documenting the solution.