error-handling-review

Evaluate codebase error handling for swallowed failures and resilience gaps.

Updated May 10, 2026
One-click install
npx skills add https://github.com/rob-broadley/ai-airbase --skill error-handling-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: error-handling-review
Source: https://github.com/rob-broadley/ai-airbase/tree/main/cadre/skills/error-handling-review
Command: npx skills add https://github.com/rob-broadley/ai-airbase --skill error-handling-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps reviewers ensure error handling is correct, consistent, and resilient, so failures don’t become silent corruption, confusing outages, or user-facing dead ends.

Core Features & Use Cases

  • Error taxonomy enforcement: Categorizes findings by domain, validation, infrastructure, programming, and cancellation semantics so recommendations match the failure meaning.
  • Detection of common anti-patterns: Flags swallowed errors, overly broad exception handling, lost context, weak wrapping, unchecked cleanup returns, and language-specific mistakes.
  • Resilience and failure-mode coverage: Reviews missing timeouts, retry/circuit-breaker quality, partial failure semantics, DLQ strategy for poison messages, and user-facing message quality.
  • Severity grading with required taxonomy: Produces actionable output grouped by Blocking, Recommendation, and Observation, ensuring review items cite the violated category.

Quick Start

Ask your AI reviewer to run an error-handling review using the error-handling-review reference and produce findings grouped by severity with each finding tied to an explicit taxonomy category.

Frequently Asked Questions about error-handling-review

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

FAQPage Schema
How do I review error handling to prevent swallowed failures in my codebase?

Error handling review identifies swallowed failures by flagging overly broad exception catching and unchecked cleanup returns, ensuring errors are never silently lost. It categorizes findings by domain, validation, infrastructure, programming, and cancellation semantics.

What is exception taxonomy and how does it apply to code review?

Exception taxonomy in code review categorizes errors into domain, validation, infrastructure, programming, and cancellation groups. This categorization ensures review recommendations match the specific failure meaning, preventing incorrect error semantics and weak wrapping across multi-language implementations.

How do I check my retry and circuit breaker patterns for resilience during code review?

Resilience review evaluates retry backoff quality, circuit breaker implementation, timeout coverage, and partial failure semantics. It also checks dead-letter queue strategy for poison messages and user-facing error message quality to prevent confusing outages.

Can this error handling review be used for batch workflows and API user-facing errors?

Yes, error handling review applies across batch workflows, API user-facing errors, and multi-language implementations. It evaluates timeout coverage, cancellation behavior, and partial failure semantics to ensure failures do not become silent corruption or dead ends.

What are common error handling anti-patterns I should look for in a code review?

Common error handling anti-patterns include swallowed errors, overly broad exception handling, lost context, weak wrapping, and unchecked cleanup returns. Reviewing for these language-specific mistakes prevents silent data corruption and confusing user-facing dead ends.

How are error handling review findings graded and reported?

Error handling review findings are graded by severity into Blocking, Recommendation, and Observation groups. Each actionable finding must cite the violated taxonomy category, ensuring review items are tied to explicit error semantics and resilience requirements.