error-envelope-design
CommunityStandardize API error envelopes for safe retries
Software Engineering#api errors#error envelope#retry semantics#problem+json#graphql unions#grpc status#error-code registry
AuthorvTRKA
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It prevents inconsistent API error shapes that cause clients to mis-handle retries, hide root causes, and break batch/multi-resource error semantics.
Core Features & Use Cases
- Choose the correct envelope per transport: HTTP problem+json, GraphQL unions/error extensions, or gRPC google.rpc.Status with typed details.
- Define retry and partial-failure contracts: transient vs non-transient behavior, plus per-item error patterns for batch endpoints.
- Create and centralize an error-code registry: stable, append-only dotted lowercase codes with centralized status/code mapping.
- Require evidence and verification: blocks completion when sample responses, registry locations, schema/proto/OpenAPI proof, or command/receipt evidence is missing.
Quick Start
Ask your AI tool to design a single, consistent error envelope and error-code registry for your new or drifted API, using evidence from existing endpoints and the project’s transport defaults.
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: error-envelope-design Download link: https://github.com/vTRKA/supervibe/archive/main.zip#error-envelope-design 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.