Error handling, validation, and defense-in-depth for edge cases.
Harden your application with error handling, input validation, retry logic, and defense-in-depth patterns that keep your system running under adverse conditions.
claude skill install resilience
# Audit a module for missing error handling
/resilience audit src/api/
# Add retry logic to HTTP client calls
/resilience harden --pattern retry --target src/services/api.ts
Analyzes your code paths to identify unhandled error scenarios, missing validation, and fragile assumptions. Generates defensive code patterns including try-catch boundaries, input sanitization, timeout handling, and graceful degradation. Each hardening pattern follows established resilience engineering principles.
Works with Claude Code, Codex, Gemini CLI, Cursor, Windsurf, and Aider.