error-recovery

Define recovery patterns for squad agents to handle failures in distributed systems.

Updated Apr 8, 2026
One-click install
npx skills add https://github.com/nicolehaugen/CustomMetricsDashboard --skill error-recovery-nicolehaugen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: error-recovery
Source: https://github.com/nicolehaugen/CustomMetricsDashboard/tree/main/.copilot/skills/error-recovery
Command: npx skills add https://github.com/nicolehaugen/CustomMetricsDashboard --skill error-recovery-nicolehaugen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide for squad agents to effectively recover from failures, improving system reliability and agent coordination.

Core Features & Use Cases

  • Retry with Backoff: Handle transient failures like API timeouts or network errors by retrying with exponential backoff.
  • Fallback Alternatives: Utilize alternative tools or methods when the primary approach fails.
  • Diagnose-and-Fix: Address build, test, and linting errors with structured error handling and targeted fixes.
  • Escalate with Context: Escalate failures that require human intervention by providing detailed context.
  • Graceful Degradation: Continue operations when a non-critical step fails, delivering partial results.
  • Use Case: Implement these patterns in a CI/CD pipeline to ensure that build and deployment processes are resilient to failures.

Quick Start

Implement the 'Retry with Backoff' pattern in your error handling logic.

Frequently Asked Questions about error-recovery

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

FAQPage Schema
How do I implement error recovery for transient failures like API timeouts in distributed systems?

Implement error recovery for transient failures using the retry with exponential backoff pattern, which automatically retries failed network requests or API timeouts with increasing delays between attempts to improve system reliability.

What's the best way to handle CI/CD pipeline failures during build and deployment processes?

Handle CI/CD pipeline failures by applying structured error recovery patterns like diagnose-and-fix for build errors, graceful degradation for non-critical steps, and fallback alternatives to ensure deployment processes remain resilient to failures.

How does graceful degradation work when a non-critical step fails in a microservices architecture?

Graceful degradation works by allowing systems to continue operations when a non-critical step fails, delivering partial results instead of complete failure, ensuring microservices architecture maintains functionality during partial outages.

When should I escalate failures that require human intervention in my retry logic?

Escalate failures requiring human intervention by providing detailed context about the error, using the escalate with context pattern when retry logic and fallback alternatives are exhausted and the system cannot automatically recover.

Can I use fallback alternatives to switch tools when the primary approach fails in my CI/CD pipeline?

Yes, you can use fallback alternatives to automatically switch to alternative tools or methods when the primary approach fails in your CI/CD pipeline, ensuring error recovery and continued operation without manual intervention.

Why does my squad agent need structured error handling for build, test, and linting errors?

Structured error handling for build, test, and linting errors enables squad agents to diagnose and fix issues with targeted recovery patterns rather than failing blindly, improving overall system reliability and agent coordination.