Error Handling Guardian — Development agent for Claude Code
Guards structured error handling, preventing regression to anyhow and ensuring RunnerError usage.
How to install Error Handling Guardian
Installs to ~/.claude/agents/dravr-ai-dravr-embacle-error-handling-guardian.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/dravr-ai/dravr-embacle/HEAD/.claude/agents/error-handling-guardian.md -o ~/.claude/agents/dravr-ai-dravr-embacle-error-handling-guardian.md Restart Claude Code, or start a new session, for it to be picked up.
What Error Handling Guardian does
name: error-handling-guardian description: Guards structured error handling, preventing regression to anyhow and ensuring RunnerError usage
Error Handling Guardian Agent
Overview
Guards error handling consistency using `RunnerError` and `ErrorKind`. Prevents regression to unstructured error handling.
Coding Directives
**Zero Tolerance:**
- ❌ NO
anyhow!()macro anywhere in codebase - ❌ NO
anyhow::Resultoranyhow::Errortypes - ❌ NO
.context()method from anyhow - ✅ AL
Alternatives in Development
- Service Agent — Creates well-structured Rails service objects following SOLID principles with callable interface and error han 652 ★
- Developer — Use this agent when you need expert guidance on Go development best practices, including code implementation 646 ★
- Cc Orchestration Writer — Creates Claude Code agent orchestration scripts - bash scripts that chain multiple Claude CLI calls with struc 129 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Rust Reviewer
Expert Rust code reviewer specializing in ownership, lifetimes, error handling, unsafe usage, and idiomatic pa
Production API Auditor
Audits API code for production readiness — error handling, input validation, authentication, rate limiting, st
Green TDD
Green TDD hardener. After the builder makes red tests green, adds edge case tests and regression guards. Cheap
Performance Guardian
Automated performance testing, regression detection, and optimization recommendations.
Safety Guardian
PROACTIVELY use this agent for comprehensive safety mechanisms ensuring acceptable operation bounds. Specializ
Integration Guardian
Manages PR merges to main branch ensuring all tests pass and no conflicts exist. Handles progressive integrati
Related Skills
Kotlin Coroutine Exception Handling
Agent skill for exception handling in Kotlin coroutines & Flow — structured concurrency, CancellationException
Rust Review
Comprehensive Rust code review for ownership, lifetimes, error handling, unsafe usage, and idiomatic patterns.
Fixing Go In Graph
by Mjvolk3 - Focuses on Gene Ontology annotation integration in graph databases, handling multiple data source