What problem does it solve?
This Skill provides a structured workflow to systematically identify, debug, and resolve compilation, runtime, or linting errors in code, with a critical pivot strategy when initial attempts fail.
Core Features & Use Cases
- Systematic Debugging: Follows a step-by-step process to pinpoint error origins.
- Error Identification: Utilizes tools like
get_errors for precise error detection.
- Contextual Analysis: Verifies related files, types, and dependencies.
- Knowledge Reuse: Searches previous sessions for similar resolved issues.
- Pivot Strategy: Implements a critical change in approach after 2-3 failed attempts.
- Use Case: When encountering a TypeScript error like "Cannot read property 'name' of undefined" in
frontend/app/clientes/page.tsx line 45, this skill guides you through verifying types, checking related API calls, searching past resolutions, and pivoting to a new strategy if the error persists.
Quick Start
Invoke this skill by typing /debug-error or mentioning "apply debugging skill" when an error is encountered.