/gabbe-architecture:error-handling-strategyfrom gabbe-architecture
Designs a consistent error model for services using RFC 9457 problem details, global exception handlers, circuit breakers, retries with jitter, and user-facing fallbacks.
Ships in gabbe-architecture. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Errors are inevitable. Handling them must be consistent, predictable, and safe.
Never return raw stack traces or ad-hoc JSON strings. Use Problem Details:
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit.",
"status": 403,
"detail": "Current balance is 30, but cost is 50.",
"instance": "/account/12345/msgs/abc",
"traceId": "00-5c14d5-..."
}
DomainException → 422 Unprocessable Entity.NotFoundException → 404 Not Found.SecurityException → 401/403.CatchAll → 500 Internal Server Error (and log trace ID).A short design note in the project's architecture docs (docs/architecture/ by default) with the error format, the exception-to-status mapping, the resilience settings and the fallbacks.
What SKILL.md sets; muted values are Claude Code's defaults
30 skills in this plugin
/adaptive-architectureDesign offline-first and local-first systems — sync strategy (CRDT or last-write-wins), WASM plugin boundaries, edge versus cloud AI split. Use when an app must work offline, sync between devices, or run plugins or models on the user's device./api-standardsReview of OpenAPI or GraphQL schemas against naming, status code, versioning, pagination and error standards, with an updated spec. Use when API conventions must be checked across services or API governance rules set./arch-debtArchitecture debt report with coupling metrics, dependency cycles, layer violations and a phased migration plan. Use when modules depend on each other in circles, one class does everything, or structure blocks change./architecture-governanceEnforce layer and dependency rules as architecture tests in CI (ArchUnit, dependency-cruiser, Deptrac). Use when a layering rule keeps being broken or a pipeline needs an architecture gate./arch-patternsShortlist of one or two architecture patterns (modular monolith, microservices, event-driven, serverless, CQRS) with pros and cons for the project. Use when someone asks which architecture style fits the requirements./arch-reviewATAM-lite review of an existing architecture — scenario verdicts, smells, sensitivity and tradeoff points, fitness functions and prioritised recommendations. Use when you must judge whether an architecture still fits its requirements before a change, growth or a commitment.npx claudepluginhub andreibesleaga/gabbe --plugin gabbe-architectureOther plugins' skills for the same job