global-error-handling
Implement robust error handling strategies with user-friendly messages and graceful failure patterns. Use this skill when catching and handling exceptions or errors in any code. Use this skill when validating input and checking preconditions early in functions. Use this skill when displaying error messages to users. Use this skill when implementing centralized error handling in API layers or controllers. Use this skill when using specific exception types rather than generic errors. Use this skill when implementing retry logic for transient failures. Use this skill when ensuring proper resource cleanup in error scenarios. Use this skill when designing systems to degrade gracefully when non-critical services fail.
Installation and usage
Implement robust error handling strategies with user-friendly messages and graceful failure patterns. Use this skill when catching and handling exceptions or errors in any code. Use this skill when validating input and checking preconditions early in functions. Use this skill when displaying error messages to users. Use this skill when implementing centralized error handling in API layers or controllers. Use this skill when using specific exception types rather than generic errors. Use this skill when implementing retry logic for transient failures. Use this skill when ensuring proper resource cleanup in error scenarios. Use this skill when designing systems to degrade gracefully when non-critical services fail.
安裝後,您可以通過在終端運行以下命令來使用此技能:
skills use global-error-handling