/error:formatfrom error
Use when adding or handling any error path on any layer — throwing from a service/route/controller, mapping an upstream failure, or reading an error on the client (backend or frontend). Do NOT use to design the whole app's error-handling architecture — the single code-to-UX policy table (error:architecture) — or to wrap one component in a boundary or style one error tile (your framework's component skill); this skill owns the wire envelope and the reason vocabulary.
Ships in error. 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.
Read when SKILL.md points to them.
Errors follow the Google AIP-193 / google.rpc.Status standard (RFC 9457 lineage) on every
layer — backend and frontend use the SAME envelope, so an error is handled identically regardless
of where it came from.
In: an error path being added or handled on any layer — a throw from a service/route/controller, a mapping of an upstream failure, or reading an error on the client.
Out: the error travels as the google.rpc.Status envelope with a registry-resolved reason, raw
and upstream failures normalized at the boundary, and the client branching on status/reason — the
checkable expectations are in evals/rubric.json.
{ "error": { "code": 403, "status": "PERMISSION_DENIED", "message": "…",
"details": [
{ "@type": "ErrorInfo", "reason": "INSUFFICIENT_ACCESS",
"domain": "…", "metadata": { } },
{ "@type": "DebugInfo", "detail": "…", "stackEntries": ["…"] }
] } }
code HTTP int · status canonical enum (branch on this) · message human text.details[].ErrorInfo.reason — not a bespoke name/codeNumber.DebugInfo (raw message + stack) is gated (sandbox / dev only), never sent to a prod client.reason → status + http code) and the message dictionary (reason → text, extracted so
text isn't hardcoded / is i18n-ready). Each source maps its own failure to a reason via it.status / reason (never a magic number); message is display text.google.rpc.Status envelope at the boundary, or
an ad-hoc { error: "string" } / bare body? Every boundary must be the envelope.details[].ErrorInfo.reason resolved through the ONE registry — not a
bespoke top-level field and not an inline magic number.DebugInfo
is dev-only. The client branches on status/reason, never a message substring.reason entry (registry + dictionary) in this change.evals/rubric.json.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub aquivalabs/bladeforge --plugin error2 skills in this plugin