loom-error-handling
Installation
SKILL.md
Error Handling
Overview
Error handling is a critical aspect of robust software development. This skill covers error types and hierarchies, recovery strategies, propagation patterns, user-friendly messaging, contextual logging, and language-specific implementations (Rust, Python, TypeScript).
Agent Delegation
- senior-software-engineer (Opus) - DEFAULT. Error architecture design, choosing error strategies, implementing error handling patterns, secure error handling (no info leakage, sanitization), infrastructure error handling (retry, circuit breakers)
- software-engineer (Sonnet) - ONLY for unit tests or boilerplate error types following established patterns
Instructions
1. Design Error Hierarchies
Create structured error types that provide clear categorization.