What problem does it solve?
This Skill provides a systematic approach to identify, understand, and resolve bugs and errors in code, ensuring software stability and reliability.
Core Features & Use Cases
- Error Analysis: Parses stack traces and error messages to pinpoint the root cause.
- Scope Reduction: Employs techniques like binary search and variable isolation to narrow down the bug's location.
- State Inspection: Helps inspect data, logs, and API responses to understand the program's state.
- Common Bug Patterns: Offers solutions for frequent issues like null access, async timing, and off-by-one errors.
- Use Case: When a critical API endpoint is returning 500 errors, this Skill can be used to analyze the logs, identify the faulty code, and suggest a fix.
Quick Start
Use the debugging skill to investigate the 'TypeError: Cannot read properties of undefined' error found in the UserList component.