← スキル一覧に戻る

global-error-handling
by maksimtereshin
⭐ 0🍴 0📅 2026年1月15日
SKILL.md
name: Global Error Handling description: Implement robust error handling with user-friendly messages, specific exception types (ISP), centralized error boundaries (SRP), fail-fast validation (KISS), graceful degradation, retry strategies, and proper resource cleanup. Use this skill when adding try-catch blocks, throwing or catching exceptions, creating error classes, implementing error boundaries or middleware, displaying error messages to users, or handling async errors and promise rejections. Use when working with error handling in any language (.ts, .js, .py, .java, .go) across backend services, API endpoints, frontend components, or data processing pipelines. Use when implementing exponential backoff for external service calls or ensuring resources are cleaned up in finally blocks.
Global Error Handling
This Skill provides Claude Code with specific guidance on error handling best practices across backend and frontend code, including KISS, ISP, and SRP principles.
When to use this skill
- When adding try-catch blocks or error handling logic to any code
- When throwing or catching exceptions/errors in any programming language
- When creating custom exception or error classes
- When implementing centralized error handling (middleware, error boundaries, global handlers)
- When displaying error messages to users in UI components
- When handling async errors and promise rejections
- When implementing retry strategies with exponential backoff
- When ensuring graceful degradation when non-critical services fail
- When validating input and failing fast with clear error messages (KISS)
- When using specific exception types instead of generic errors (ISP)
- When cleaning up resources in finally blocks or equivalent mechanisms
- When working with error handling in backend (.ts, .py, .java, .go) or frontend (.tsx, .jsx, .vue)
- When implementing error logging and monitoring
Instructions
For details, refer to the information provided in this file: global error handling
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です