Outbound Side Effect Idempotency

Code that performs an external side effect (email, SMS, payment, webhook) and then records its status must choose which failure harms the recipient less — lost or duplicated — and design for that. A read-then-write "already sent?" check is not a lock. Triggers when writing any send-then-record path or adding retry logic around an external send. Does not fire on internal batch retry loops with no external recipient — lock-at-the-chokepoint owns those.

randommonicle Updated

File contents

randommonicle/claude-skills/tree/main/outbound-side-effect-idempotency commit a5e8cd907e

Frequently asked questions

npx skillmds@latest add randommonicle/outbound-side-effect-idempotency