agentsclimarketplace

Global error handling

Skill bg-szy/TOP-SKILLS/skills/marketplace/global-error-handling

Implement user-friendly error handling with specific exception types, centralized error handling, graceful degradation, and proper resource cleanup. Use this skill when implementing error handling in controllers, services, or API endpoints, when creating custom exception classes, when writing try-catch blocks, when handling external service failures, when implementing retry strategies, when displaying error messages to users, when cleaning up resources in finally blocks, or when implementing fail-fast validation and error detection.From its SKILL.md

Install
npx -y skills add bg-szy/TOP-SKILLS --skill global-error-handling

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.8 KB, 218 tokens by cl100k_base, as published. Nobody here has run it

Global Error Handling

This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle global error handling.

When to use this skill

  • When implementing error handling in controllers, services, or API endpoints
  • When creating custom exception classes for specific error scenarios
  • When writing try-catch blocks for error handling
  • When providing user-friendly error messages without exposing technical details
  • When implementing fail-fast validation and precondition checks
  • When handling errors at appropriate boundaries (controllers, API layers)
  • When implementing graceful degradation for non-critical service failures
  • When creating retry strategies with exponential backoff for external services
  • When cleaning up resources (file handles, database connections) in finally blocks
  • When centralizing error handling rather than scattering try-catch everywhere
  • When handling transient vs. permanent failures differently
  • When logging errors appropriately while protecting sensitive information

Instructions

For details, refer to the information provided in this file: global error handling

What ships with it: 1 file

10.8 KB alongside SKILL.md

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.