Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

API error design: codes, envelope and messages v1.0.0

Use this resource to design the errors a public API returns so integrators can fix problems alone

New

  • 338 downloads
  • 111 likes
  • 114 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install api-error-responses-design

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent audits the error responses, picks a machine-readable code taxonomy, adopts the RFC 9457 envelope and rewrites messages so they name the cause and the fix. It also covers retry signals and per-endpoint documentation. You get a consistent, documented error specification.

Mostly picked by

Updated November 2, 2026

Card for the “API error design: codes, envelope and messages” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: error-surface audit and six-step method
  • references/rfc9457-payload-examples.md: problem-details response examples
  • references/message-rewrite-examples.md: message rewrite examples

Good fit for

  • Your integrators open tickets over unclear 400 errors
  • You want to normalise error codes before a public release

Not for

    Tags

    • api
    • errors
    • rfc 9457
    • documentation

    About

    You say

    “Redesign the errors of our payments API: stable codes, actionable messages and retry guidance.”

    Card for the “API error design: codes, envelope and messages” skill

    Skill published by samber under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to design the errors a public API returns so integrators can fix problems alone
    3. Review and adjust the result

    Content preview

    Files

    • evals/evals.json26.6 KB
    • LICENSE1.1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/error-documentation-examples.md3.9 KB
    • references/message-rewrite-examples.md3.6 KB
    • references/rfc9457-payload-examples.md4.8 KB
    • references/taxonomy-catalog-examples.md5.6 KB
    • SKILL.md18.2 KB

    Origin and licence

    Listed unmodified

    Author
    samber
    Source
    github.com/samber/developer-platform-skills/tree/e262cfeabab5f38710334540f8ca5d67b24753c2/skills/api-error-design
    Licence
    MIT

    Notice

    « api-error-design » (samber, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.