What problem does it solve?
This Skill helps you quickly diagnose failures and recover when TypeScript, build, runtime, or test errors derail an implementation, reducing repeated debugging cycles.
Core Features & Use Cases
- Error classification: Categorizes Syntax, TypeScript (e.g., TS2322/TS2307), runtime (e.g., ReferenceError/TypeError), build (e.g., module/config/OOM), and test failures (e.g., assertions, timeouts, mock issues) to choose the correct fix path.
- Recovery strategies: Applies targeted approaches such as auto-fixing lint/format, repairing dependencies, correcting type/null issues, resolving runtime problems with safer access patterns, and fixing test logic or async timing.
- Verification and retry protocol: Uses a disciplined loop to apply minimal changes, verify with tsc/eslint/npm test, and increment retries up to a maximum before escalating.
Quick Start
Use the error-recovery guidance to classify the error type and apply the smallest targeted fix, then re-run tsc and tests to confirm the recovery.