idempotency-builder

仓库创建 2026年7月26日最近提交 1 天前SkillHot 收录 1 天前
▸ 精选理由

面向支付与订单等关键流程,包含供应商协调与监控要点。

这个 Skill 做什么

设计并交付完整的幂等系统,确保关键操作可重试且不重复执行。

设计并交付完整的幂等系统,让关键操作可安全重试、不会重复扣款或写入重复记录。常用在保护支付、订单、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.

开发编程分布式幂等支付可靠性通用
1
Stars
0
Forks
11
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/tamasbege/staff-engineer-skills/main/plugins/staff-engineer-skills/skills/idempotency-builder/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/tamasbege/staff-engineer-skills/main/plugins/staff-engineer-skills/skills/idempotency-builder/SKILL.md"
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
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有