architect-error-handling
OfficialDesign resilient, observable error handling
Authorgjalla
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Many implementations treat error handling as an afterthought, producing inconsistent logs, unclear caller behavior, unsafe retries, and partial failures that leave systems in unknown states; this Skill helps design error handling up front so failures are detected, contained, observable, and recoverable.
Core Features & Use Cases
- Error boundary decisions: Guidance on where to catch, translate, or let errors propagate across controllers, services, and infrastructure.
- State and recovery strategies: Patterns for atomic operations, idempotency keys, compensating actions, sagas, and documenting partial-failure recovery.
- Caller and operator contracts: Recommendations for API error formats, retry categorization (retryable vs non-retryable), logging/alerting context, and a PR attestation template to communicate decisions.
- Use Case: Designing error handling for a Create Order flow that involves payment, inventory reservation, and shipment creation so that failures either roll back safely or allow systematic recovery.
Quick Start
Create an error handling summary for the Create Order flow that lists where to catch errors, the state guarantees (atomic/idempotent/compensating), retry rules, and a short attestation for the PR.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: architect-error-handling Download link: https://github.com/gjalla/gjalla-plugin/archive/main.zip#architect-error-handling Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.