itsual/agent-skills-collection/idempotency-and-exactly-once

Claude Code and agent skill by itsual/agent-skills-collection

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Design operations to be safely retryable and handle duplicate execution correctly. Use when building APIs, message consumers, or any operation that may be retried or delivered more than once.

Install

npx vskill@latest install itsual/agent-skills-collection/idempotency-and-exactly-once

SKILL.md

The same SKILL.md was published earlier as itsual/agent-skills-collection/idempotency-and-exactly-once.

Idempotency and Exactly-Once Semantics

Overview

In distributed systems, “exactly-once” is hard. Most practical systems aim for at-least-once delivery + idempotent handlers.

When to Use

  • Payment or state-changing APIs
  • Message / event consumers
  • Any operation that clients or infrastructure may retry

Techniques

  • Idempotency keys
  • Natural idempotency (set-based operations, upserts)
  • Deduplication stores with appropriate TTLs
  • Outbox pattern for reliable publishing
  • Transactional messaging where supported

Principles

  • Assume duplicates will happen
  • Make the side effects of duplicate execution safe or detectable
  • Document the idempotency guarantees of your APIs

Verification

  • Retrying the same request/message does not produce incorrect duplicate effects
  • Idempotency behavior is tested

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
6
Repository forks
1
7-day trend score
15

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/itsual/agent-skills-collection/idempotency-and-exactly-once/badge)](https://verified-skill.com/skills/itsual/agent-skills-collection/idempotency-and-exactly-once)

Something wrong with this skill or its page? Tell us.