Skip to content
SkilVault
Sign inGet started

api-idempotency-retry

Signed by SkilVaultMIT

By samber · original, unchanged · published by SkilVault with credit

Design idempotency-key support and client retry guidance for a public API so integrators retry safely - key derivation and per-caller scoping, storage TTL and replay windows, atomic claim mechanisms (DB unique constraint, SERIALIZABLE row lock, conditional writes), payload-mismatch rejection, in-flight duplicate handling, exponential backoff with jitter, retry budgets, timeout propagation, and SDK retry defaults. Use whenever the user mentions an Idempotency-Key header, duplicate or double-submitted requests, safe POST retries, backoff, or jitter - even if they never say "idempotency". Do NOT use for what the error response signals (samber/developer-platform-skills@api-error-design) or webhook delivery retries (samber/developer-platform-skills@webhook-platform-design).

Version
v0.1.0
Size
73 KB
Updated
2026-11-20
$ skilvault read --manual api-idempotency-retry

Your client verifies the signature before reading. This explicit manual read is available on every plan. Free automatically loads five chosen skills; paid plans automatically load relevant skills across the library.

Files in this version

  • SKILL.mdsha256 b3cb1e4ffa895a1ba3f79fc78d2508dbf36e9ef329c7c7471ff31a70049d962c
  • SKILVAULT_SOURCE.jsonsha256 89868d0b55d064b67d9f40ead2d31d4023334998294984744d2ac6ac6c6fab4b
  • THIRD_PARTY_NOTICES.mdsha256 0f1ba03669c66ed599c47b552fa20c7660ae44f067f7fe203a3aa6afdc0c08b0
  • evals/evals.jsonsha256 1e1d23d59ca8d33d1368baffd8ba3792b9fecda501b74d5c1a4d01e4f7ab5ecc
  • references/backoff-jitter-formulas.mdsha256 2ba255520fe006176da52ed029ccc68984f0ea0f0811481be7f0c5405c21741c
  • references/key-lifecycle-walkthrough.mdsha256 07bcefb3bb194fc45e6ede86050fd528845a344e6a4a3ff94076d5951e5b65fb
  • references/vendor-sdk-retry-defaults.mdsha256 9fb7abc0c8a493d490f624a25e44497399b4b4d934ccd80430e2ffcf69a1d740

The client checks the signature and every file’s fingerprint before use.

Licence and notice

MIT License (MIT). Copyright (c) 2026 Samuel Berthe

The full licence text ships inside the package.

Show full licence text
Copyright (c) 2026 Samuel Berthe

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.