global-error-handling
Your approach to handling global error handling. Use this skill when working on files where global error handling comes into play.
When & Why to Use This Skill
This Claude skill provides specialized guidance on implementing and maintaining global error handling strategies within a codebase. By adhering to established coding standards, it enables Claude to generate more resilient code, ensure consistent exception management across complex systems, and improve overall software reliability and maintainability.
Use Cases
- Standardizing API Responses: Implementing a unified error response structure across all backend services to ensure consistent client-side error handling.
- Centralized Logging and Monitoring: Configuring global catch-all mechanisms to automatically report unhandled exceptions to monitoring tools like Sentry, Datadog, or CloudWatch.
- Middleware Development: Creating robust error-handling middleware for web frameworks (e.g., Express, FastAPI, or Spring Boot) to prevent application crashes and provide graceful degradation.
- Legacy Code Refactoring: Auditing and updating fragmented try-catch blocks in older modules to align with modern, centralized error management patterns.
- System Reliability Engineering: Designing fail-safe mechanisms at the architectural level to handle unexpected runtime failures without compromising data integrity.
| name | Global Error Handling |
|---|---|
| description | Your approach to handling global error handling. Use this skill when working on files where global error handling comes into play. |
Global Error Handling
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