api-error-standard
Installation
SKILL.md
API Error Standard (RFC 9457 / RFC 7807)
Standardize API errors as Problem Details: JSON with type, title, status, detail, instance, and optional extensions. Response media type: application/problem+json.
Problem Details Object (minimal)
| Member | Type | Description |
|---|---|---|
| type | string | URI identifying problem type (default about:blank) |
| title | string | Short human-readable summary |
| status | number | HTTP status code (advisory; must match response status) |
| detail | string | Explanation specific to this occurrence |
| instance | string | URI identifying this occurrence (optional) |
Extensions: add custom members (e.g. errors, balance). Clients must ignore unknown members. RFC 9457 defines full field semantics.