error-handling-enforcer
Installation
SKILL.md
Error Handling Enforcer
Overview
This skill enforces consistent error handling patterns across client and server. Ensures proper error class hierarchy, standardized error codes, sanitized logging, user-friendly messages, retry logic, circuit breakers, and React error boundaries.
When to Use This Skill
Use this skill when:
- Creating new error classes or extending AppError
- Implementing try-catch blocks in services or controllers
- Adding error handling to API endpoints
- Creating React error boundaries
- Implementing retry logic for network requests
- Adding circuit breakers for external services
- Reviewing error handling code for consistency
- Ensuring errors are logged without PII
- Validating error codes follow naming conventions
- Implementing error recovery strategies