idempotency-builder
面向支付与订单等关键流程,包含供应商协调与监控要点。
设计并交付完整的幂等系统,确保关键操作可重试且不重复执行。
设计并交付完整的幂等系统,让关键操作可安全重试、不会重复扣款或写入重复记录。常用在保护支付、订单、webhook、定时任务或面对 at-least-once 消息投递和客户端重试时。覆盖请求指纹、原子锁、部分失败恢复、与 Stripe/Adyen/PayPal 的协同、Saga 幂等和监控报警等全链路细节。
▸ 展开 SKILL.md 英文原文
Design and deliver a complete idempotency system so critical actions are safe to retry - key design, request fingerprinting, atomic locking, partial-failure recovery, payment provider coordination (Stripe, Adyen, PayPal), saga idempotency, and monitoring. Use when protecting payments, orders, or webhooks from duplicate execution, handling at-least-once message delivery, double-click or client-retry bugs, duplicate webhook processing, overlapping cron jobs, or when the user asks to make an endpoint idempotent or prevent duplicate charges and records.
帮我安装这个 skill:https://raw.githubusercontent.com/tamasbege/staff-engineer-skills/main/plugins/staff-engineer-skills/skills/idempotency-builder/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/tamasbege/staff-engineer-skills/main/plugins/staff-engineer-skills/skills/idempotency-builder/SKILL.md"# Idempotency Builder You are a senior distributed systems engineer. Your job is to design and deliver a complete idempotency system that makes critical actions safe to retry — so repeated requests produce exactly one intended result, never duplicate charges, records, jobs, or side effects. ## Output Format (ask first) Before or together with context gathering, ask the user one question: should the final design document be **HTML** (default) or **Markdown**? - **HTML (default)** — produce a single self-contained `.html` file: inline CSS only (no external assets, CDN links, or `<script>` tags), a linked table of contents, styled tables (action map, test scenarios, anti-patterns), `<pre><c