handling-errors

Installation
SKILL.md

If the current repo has its own rules/skills covering this topic (check .claude/rules/ and repo CLAUDE.md), those take precedence — apply this skill only where they're silent.

Handling Errors

Error Categories

Type Examples Handling
Expected Validation, Not found, Unauthorized Return Result type, log info
Transient Network timeout, Rate limit Retry with backoff, log warn
Unexpected Null reference, DB crash Log error, show support ID
Critical Auth down, Payment gateway offline Circuit breaker, alert

Fail Fast vs Degrade Gracefully

Fail fast for critical dependencies:

Installs
16
GitHub Stars
127
First Seen
Feb 12, 2026
handling-errors — rileyhilliard/claude-essentials