Error Handling Patterns
技能 已验证 活跃Master error handling patterns across languages including exceptions, Result types, error propagation, and graceful degradation to build resilient applications. Use when implementing error handling, designing APIs, or improving application reliability.
Master error handling patterns across languages to build resilient applications by understanding exceptions, Result types, error propagation, and graceful degradation.
功能
- Explains error handling philosophies (exceptions vs. Result types)
- Details error categories (recoverable vs. unrecoverable)
- Provides language-specific patterns (Python, TS/JS, Rust, Go)
- Illustrates universal patterns (circuit breaker, error aggregation, graceful degradation)
- Offers best practices and common pitfalls
使用场景
- Implementing error handling in new features
- Designing error-resilient APIs
- Debugging production issues
- Improving application reliability and creating better error messages
非目标
- Implementing specific error handling for frameworks not explicitly mentioned
- Providing runtime error handling for the skill itself
- Covering all possible edge cases for every language and scenario
安装
请先添加 Marketplace
/plugin marketplace add wshobson/agents/plugin install developer-essentials@claude-code-workflows质量评分
已验证类似扩展
Csharp Async
100Get best practices for C# async programming
Circuit Breaker Pattern
100Implement circuit breaker logic for agentic tool calls — tracking tool health, transitioning between closed/open/half-open states, reducing task scope when tools fail, routing to alternatives via capability maps, and enforcing failure budgets to prevent error accumulation. Separates orchestration (deciding what to attempt) from execution (calling tools), following the expeditor pattern. Use when building agents that depend on multiple tools with varying reliability, designing fault-tolerant agentic workflows, recovering gracefully from tool outages mid-task, or hardening existing agents against cascading tool failures.
Neon Postgres
100Neon Serverless Postgres 的使用指南和最佳实践。涵盖入门、使用 Neon 进行本地开发、选择连接方法、Neon 功能、身份验证(@neondatabase/auth)、PostgREST 风格的数据 API(@neondatabase/neon-js)、Neon CLI 以及 Neon 的平台 API/SDK。可用于任何与 Neon 相关的问题。
Sdk Dx
100Design SDKs that developers love to use—APIs that feel native, error messages that guide, and experiences that reduce friction. This skill covers creating SDKs that drive adoption through exceptional developer experience rather than aggressive marketing. Trigger phrases: "SDK design", "developer experience", "API design", "SDK DX", "error messages", "type safety", "IDE integration", "SDK versioning", "migration guides", "client library design", "making SDKs feel native", "SDK best practices"
Dart Matcher Best Practices
100Best practices for using `expect` and `package:matcher`. Focuses on readable assertions, proper matcher selection, and avoiding common pitfalls.
Golang Concurrency Patterns
100Go concurrency patterns for production services: context cancellation, errgroup, worker pools, bounded parallelism, fan-in/fan-out, and common race/deadlock pitfalls