global-error-handling
Implement robust error handling with user-friendly messages, specific exception types, centralized error handling, graceful degradation, and proper resource cleanup. Use this skill when implementing t
SKILL.md.claude/skills/global-error-handling/SKILL.md
GitHubGlobal Error Handling
When to use this skill
- When implementing try-catch blocks or exception handling in any code file
- When creating error messages for users or API responses
- When validating input and handling validation failures
- When implementing centralized error handling (error boundaries, middleware, global handlers)
- When working with external API calls or service integrations
- When implementing retry strategies or exponential backoff
- When ensuring graceful degradation when services fail
- When cleaning up resources (file handles, database connections, network sockets)
- When choosing specific exception types over generic errors
- When implementing error logging or monitoring
- When handling transient failures or network errors
This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle global error handling.
Instructions
For details, refer to the information provided in this file: global error handling