error-patterns

Define error classification, recovery strategies, and logging patterns for plugin development.

326|35|Updated Nov 23, 2025
One-click install
npx skills add https://github.com/athola/claude-night-market --skill error-patterns-athola
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: error-patterns
Source: https://github.com/athola/claude-night-market/tree/main/plugins/leyline/skills/error-patterns
Command: npx skills add https://github.com/athola/claude-night-market --skill error-patterns-athola

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires usage-logging.

What problem does it solve?

Standardized error handling patterns for robust plugin development. Provides error classification, recovery strategies, and logging patterns.

Core Features & Use Cases

  • Error Classification: categorize errors by severity and recoverability
  • Recovery Strategies: backoff, wait/fallback, and graceful degradation
  • Logging Patterns: structured error logging and alerting Triggers: error handling, error recovery, graceful degradation, resilience

Quick Start

Use this skill when designing robust error handling for plugins.

Frequently Asked Questions about error-patterns

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

FAQPage Schema
How do I classify errors in plugin development?

Error classification categorizes errors by severity and recoverability, enabling targeted handling strategies. This Skill provides a standardized taxonomy to distinguish between recoverable errors (retry candidates) and fatal ones, forming the foundation for resilient plugin integrations.

What recovery strategies should I use for plugin error handling?

Recovery strategies include backoff, wait/fallback, and graceful degradation patterns. This Skill specifies which strategy applies to each error class, allowing plugins to respond intelligently—retry transient failures, activate fallbacks for service degradation, or degrade gracefully when recovery isn't possible.

How do I implement structured error logging for plugins?

Structured error logging captures standardized error results with context for debugging and alerting. This Skill integrates with usage-logging to enable consistent error management, ensuring logs contain classification, recovery action taken, and operational context for troubleshooting.

Can I use error handling patterns across multiple plugins?

Yes. This Skill provides reusable error handling patterns and scaffolds designed for plugin integrations. Standardized patterns ensure consistent error classification and recovery behavior across your entire plugin ecosystem, reducing debugging overhead and improving reliability.

What's the difference between graceful degradation and fallback recovery?

Graceful degradation reduces functionality when errors occur—serving cached data or limited features. Fallback recovery switches to an alternative resource or service. This Skill specifies which approach fits each error type, helping you choose the right resilience strategy for your plugin's requirements.

Do I need logging infrastructure to use error handling patterns?

This Skill depends on usage-logging for structured error tracking, but you can implement basic error classification and recovery without it. However, usage-logging integration enables comprehensive debugging, alerting, and observability across your error handling workflows.

Related Skills