技能 编程开发 稳健错误处理模式

稳健错误处理模式

v20260423
error-handling-patterns
本技能旨在指导开发者构建具有高弹性的应用系统,提供稳健的错误处理策略。它涵盖了实现重试机制、熔断器模式、处理异步错误等,确保系统在发生故障时能够优雅地降级和恢复,显著提升应用的可靠性和可维护性。
获取技能
415 次下载
概览

Error Handling Patterns

Build resilient applications with robust error handling strategies that gracefully handle failures and provide excellent debugging experiences.

Use this skill when

  • Implementing error handling in new features
  • Designing error-resilient APIs
  • Debugging production issues
  • Improving application reliability
  • Creating better error messages for users and developers
  • Implementing retry and circuit breaker patterns
  • Handling async/concurrent errors
  • Building fault-tolerant distributed systems

Do not use this skill when

  • The task is unrelated to error handling patterns
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

Resources

  • resources/implementation-playbook.md for detailed patterns and examples.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
信息
Category 编程开发
Name error-handling-patterns
版本 v20260423
大小 6.73KB
更新时间 2026-04-24
语言