- Home
- Skills
- APIs & Backend
- Retry Side-Effect Auditor
More screenshots
Works with the AI tools you already use
Retry Side-Effect Auditor
Expose duplicate charges, writes, and messages before retries ship.
$19.99
Retry Side-Effect Auditor
Example session with this skill installed
Audit this retryable order worker. A queue message contains order_id. The worker captures payment with the provider, writes orders.status=paid, sends a receipt email, then acknowledges the message. The queue retries after a 30-second timeout. The provider call accepts an idempotency key, but the code sample does not show whether order_id is passed. The email service has no dedupe record. Analyze duplicate, partial, concurrent, reordered, and poisoned retries and design the minimum tests.
- Read your context and instructions
- Compiled the retry side-effect auditor
Verdict — DUPLICATE-EFFECT-RISK
Two irreversible effects can occur outside the database transaction, and enforcement of a stable provider idempotency key is not shown. A retry may create a second charge or receipt even when the database ultimately contains one paid order.
Operation boundary
Business identity: order_id. Retry initiator: queue redelivery after worker timeout. Completion signal: message acknowledgement. The acknowledgement occurs after all effects and therefore cannot prove which effects completed before a crash.
Side-effect ledger
| Effect | Atomicity | Idempotency evidence | Risk | Recovery |
|---|---|---|---|---|
| Payment capture | outside DB transaction | provider accepts a key; propagation unknown | duplicate charge | query provider by order_id, reconcile, then refund once |
| Paid status write | database transaction | primary-key update observed | lower duplicate risk | reconcile against provider receipt |
| Receipt email | outside DB transaction | no durable sent ledger | duplicate message | write a durable send record before dispatch |
Adversarial retry matrix
- Duplicate: charge and email can repeat after acknowledgement loss.
- Partial: payment can succeed before the status transaction commits.
- Concurrent: two workers can reach the provider unless one stable key is enforced at the provider boundary.
- Reordered: receipt may be sent before durable order completion.
- Poisoned: repeated failures may outlive an unspecified dedupe-retention window.
Required contracts
Propagate order_id or a stable derived operation key to the provider. Enforce one durable order transition. Record an email dispatch key with a uniqueness constraint. Compensation must be idempotent and observable; a refund action cannot itself create a second refund.
Discriminating tests
- Crash immediately after provider success and before the database commit, then replay the same queue message.
- Deliver the same message concurrently to two workers.
- Crash after the paid status write but before email dispatch.
- Replay after the documented dedupe-retention window.
Validator
The demonstration includes all five retry scenarios and all required effect fields and passes the bundled structural validator. No payment, email, queue, or production system was executed.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
A timeout does not reveal whether the action happened
Retries improve availability only when every material side effect survives duplicate, partial, concurrent, reordered, and poisoned attempts. Passing a key in the request does not prove that a database, provider, queue, or recovery path enforces the same business operation identity.
Retry Side-Effect Auditor maps the retry boundary and builds an effect-by-effect ledger for database writes, payments, emails, events, files, cache changes, and external calls. It locates the actual idempotency enforcement point, separates atomic and non-atomic effects, and designs compensation plus crash-boundary tests.
Built for backend and distributed-systems engineers working with queue workers, webhooks, payment handlers, scheduled jobs, and API retries. It first profiles the actual queue adapter, transaction model, provider client, ORM, test runner, and existing idempotency convention.
The package includes full Skill source, an evidence hierarchy, a worked payment-and-email report, deterministic JSON validator, mutation tests, and a six-page Buyer Guide PDF.
Boundaries
The Skill does not execute transactions, charge customers, replay production jobs, send messages, deploy code, or promise exactly-once delivery. Structural validation is not runtime proof.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 7 days ago
- Passed all security checks, Safe to install