error-handling-debug

Analyze error handling strategies in source code and configuration files.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/dhruvinrsoni/agentskills-garden --skill error-handling-debug
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: error-handling-debug
Source: https://github.com/dhruvinrsoni/agentskills-garden/tree/main/skills/60-debugging/error-handling-debug
Command: npx skills add https://github.com/dhruvinrsoni/agentskills-garden --skill error-handling-debug

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps identify and fix issues in how your application handles errors, preventing unexpected crashes and improving system resilience.

Core Features & Use Cases

  • Exception Hierarchy Audit: Analyzes your error classes to ensure a clear and logical structure.
  • Retry Strategy Analysis: Reviews how your system retries failed operations to prevent overload.
  • Graceful Degradation Review: Checks if your application can continue functioning partially when dependencies fail.
  • Circuit Breaker Evaluation: Assesses the implementation of circuit breakers to stop cascading failures.
  • Use Case: If your application is experiencing intermittent failures when calling an external API, this Skill can analyze the retry logic, identify potential circuit breaker gaps, and suggest improvements to make the interaction more robust.

Quick Start

Use the error-handling-debug skill to audit the error handling in the codebase located at /path/to/your/project.

Frequently Asked Questions about error-handling-debug

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

FAQPage Schema
How do I fix silent error swallowing and improve codebase resilience?

To fix silent error swallowing and improve resilience, audit your exception hierarchy and ensure caught exceptions are logged or handled with fallback mechanisms. This prevents failures from disappearing silently, ensuring system stability and explicit fault tolerance.

Why does retry logic cause retry storms and how can I prevent overload?

Retry logic causes retry storms when failed operations are retried immediately without backoff or limits. Prevent overload by implementing jittered exponential backoff and circuit breakers to stop cascading failures when dependencies are unresponsive.

What is a circuit breaker implementation and when do I need it for fault tolerance?

A circuit breaker implementation is a fault tolerance pattern that stops requests to failing dependencies. You need it when external API calls experience intermittent failures, preventing cascading failures by tripping the circuit and allowing graceful degradation.

How do I audit exception hierarchies and retry strategies in my source code?

To audit exception hierarchies and retry strategies in source code, analyze your project directory to review error class structures and failed operation retry logic. This diagnoses missing fallback mechanisms and ineffective retry storms for enhanced stability.

Can I analyze error handling strategies for external API intermittent failures?

Yes, you can analyze error handling strategies for external API intermittent failures by reviewing retry logic and circuit breaker implementations. This identifies gaps in graceful degradation and suggests improvements for robust system interactions.

What's the best way to implement graceful degradation when dependencies fail?

The best way to implement graceful degradation when dependencies fail is to evaluate circuit breaker gaps and add fallback mechanisms. This allows your application to continue functioning partially, maintaining stability during external service outages.