global-error-handling

Implement robust error handling with user-friendly messages, specific exception types, fail-fast validation, centralized error handling, graceful degradation, retry strategies, and proper resource cleanup. Use this skill when implementing error handling logic, try-catch blocks, exception handling, error boundaries, validation checks, API error responses, or resource cleanup. Apply when writing error handling in API controllers, service layers, frontend error boundaries, input validation, external service calls with retry logic, error logging, user-facing error messages, finally blocks for resource cleanup, or when establishing centralized error handling patterns at application boundaries. Use for any task involving exception handling, error recovery, graceful failure, or user error communication.

$ 安裝

git clone https://github.com/maxritter/claude-codepro /tmp/claude-codepro && cp -r /tmp/claude-codepro/.claude/skills/global-error-handling ~/.claude/skills/claude-codepro

// tip: Run this command in your terminal to install the skill