Api Idempotency Retry

samber/developer-platform-skills/skills/api-idempotency-retry

作者 samber594cf70d343eMIT3 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫10 天前更新

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).

僅公開檔案列表。將技能安裝到工作區後即可檢視檔案內容。

路徑大小類型
evals/evals.json28.3 KBapplication/json
references/backoff-jitter-formulas.md5.4 KBtext/markdown
references/key-lifecycle-walkthrough.md6.5 KBtext/markdown
references/vendor-sdk-retry-defaults.md4.7 KBtext/markdown
SKILL.md22.6 KBtext/markdown

來源與署名

來源:samber/developer-platform-skills位於skills/api-idempotency-retry提交594cf70

授權條款: MIT

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架