Skip to content
Back to skills

Forge Idempotency And Retries

ASecurity

Make writes, webhooks and jobs safe to retry with idempotency keys, dedupe and exactly-once effects

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 30, 2026
ai-agents

Works with

  • cli

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add ansh44233/forge --skill forge-idempotency-and-retries --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Forge Idempotency And Retries?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Forge Idempotency And Retries
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ansh44233-forge-idempotency-and-retries/badge)](https://www.skillsdirectory.com/skills/ansh44233-forge-idempotency-and-retries)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: forge-idempotency-and-retries
description: Make writes, webhooks and jobs safe to retry with idempotency keys, dedupe and exactly-once effects
---

<!-- Generated from catalog/skills/idempotency-and-retries/SKILL.md by scripts/build-plugin.ts. Edit the catalog, not this file. -->

# Idempotency and retries

Networks retry. Clients double-click. Queues redeliver. Every write path must survive running twice.

## Idempotency keys
- Clients send an `Idempotency-Key` on create/charge requests; the server stores key → result and returns the stored result on replay.
- Scope keys per user and endpoint; expire them after a defined window.

## Consumers and webhooks
- Record processed event ids (unique constraint) in the same transaction as the side effect.
- Verify webhook signatures; acknowledge quickly and process asynchronously.

## Retries
- Retry only retryable failures (timeouts, 429, 5xx), with exponential backoff, jitter and a cap.
- Use a dead-letter queue for messages that keep failing, with alerting.

## Verify
A test sends the same request (or event) twice concurrently and asserts exactly one side effect (one row, one charge, one email).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.