error-handling

Standardize retries, circuit breakers, timeouts, and error classification across distributed services.

1|2|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/michaelsvanbeek/personal-agent-skills --skill error-handling-michaelsvanbeek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: error-handling
Source: https://github.com/michaelsvanbeek/personal-agent-skills/tree/main/skills/error-handling
Command: npx skills add https://github.com/michaelsvanbeek/personal-agent-skills --skill error-handling-michaelsvanbeek

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Error handling and resilience patterns for robust, observable services across distributed systems, reducing downtime and improving incident response.

Core Features & Use Cases

  • Retry with backoff and jitter to recover from transient failures
  • Circuit breakers and timeouts to prevent cascading failures
  • Graceful degradation and fallback strategies when dependencies fail
  • Structured error propagation, logging, and tracing for faster incident response
  • Abort/cancellation support, cleanup registries, and graceful shutdown for reliable shutdowns

Quick Start

Configure explicit timeouts, classify errors, and apply a layered recovery strategy across services.

Frequently Asked Questions about error-handling

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent cascading failures in distributed services?

Prevent cascading failures in distributed services by implementing circuit breakers and layered timeouts. These patterns stop requests to failing dependencies, allowing graceful degradation and fallback strategies to maintain system uptime during partial outages.

What is the best way to handle transient failures in backend APIs?

Handle transient failures in backend APIs using retry mechanisms with backoff and jitter. This approach automatically re-attempts failed requests after calculated delays, recovering from temporary network issues without overwhelming the downstream target service.

How does structured error propagation improve incident response?

Structured error propagation improves incident response by standardizing error classification, logging, and tracing across distributed services. This provides clear auditable checks and consistent error context, enabling faster diagnosis and resolution during downtime events.

Can I apply graceful shutdown and cleanup registries to serverless functions?

Yes, you can apply graceful shutdown, cleanup registries, and abort or cancellation support to serverless functions. These patterns ensure reliable connection cleanup and proper resource release when execution environments terminate or scale down.

When do I need to configure explicit timeouts for event-driven architectures?

Configure explicit timeouts for event-driven architectures whenever dependencies may become unresponsive. Layered timeouts prevent indefinite blocking, ensuring your service can trigger fallback strategies and maintain operational reliability under heavy load or network partitions.