error-handling-patterns

Identify and apply error-handling strategies for automation workflows.

3|3|Updated Jan 4, 2026
One-click install
npx skills add https://github.com/adaptive-enforcement-lab/claude-skills --skill error-handling-patterns-adaptive-enforcement-lab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: error-handling-patterns
Source: https://github.com/adaptive-enforcement-lab/claude-skills/tree/main/plugins/patterns/skills/error-handling-patterns
Command: npx skills add https://github.com/adaptive-enforcement-lab/claude-skills --skill error-handling-patterns-adaptive-enforcement-lab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Error handling for automation workflows needs clear guidance on when to fail fast vs degrade gracefully, to minimize downtime and maintain user trust and system reliability.

Core Features & Use Cases

  • Fail Fast to stop invalid or unsafe operations and surface actionable errors.
  • Prerequisite Checks to validate tools, state, and inputs before work begins.
  • Graceful Degradation to continue operations by using safe fallbacks when full capability isn't available. Real-world use cases include CI/CD pipelines, GitHub Actions automations, and platform automation where resilience matters.

Quick Start

Apply this skill to determine whether to fail fast or gracefully degrade in a failing automation scenario.

Frequently Asked Questions about error-handling-patterns

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

FAQPage Schema
When should I use fail fast vs graceful degradation in CI/CD pipelines?

Use fail fast in CI/CD pipelines to immediately stop invalid or unsafe operations and surface actionable errors, while applying graceful degradation allows operations to continue using safe fallbacks when full capability is unavailable.

How do I decide between failing an automation workflow or continuing with fallbacks?

To decide whether to fail or continue an automation workflow, apply a decision flow that evaluates prerequisite checks, input validity, and service availability to determine if failing fast or degrading gracefully is appropriate.

What are prerequisite checks in error handling for GitHub Actions automation?

Prerequisite checks in GitHub Actions error handling validate required tools, system state, and inputs before work begins, ensuring the environment meets operational requirements and preventing failures during execution.

Does this error handling decision flow work for platform automation where services may fail?

Yes, this error handling decision flow works for platform automation by applying prerequisite checks and graceful degradation patterns to maintain system reliability and minimize downtime when external services fail.

What is the best way to handle invalid inputs in automation workflows?

The best way to handle invalid inputs in automation workflows is to implement fail fast patterns that immediately stop operations and surface actionable errors, preventing unsafe execution downstream.