job-idempotency

Community

Ensure idempotent, duplicate-free background jobs.

Authormarquesfelip
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Idempotent background jobs prevent duplicate work and inconsistent state when retries occur, broker redeliveries happen, or scheduled tasks overlap. The skill provides patterns for wrapping handlers, transactional dedup, and lease-based locking to ensure safe retries and end-to-end correctness.

Core Features & Use Cases

  • Idempotent wrapper around job handlers that checks a processed store and marks after successful execution.
  • Transactional dedup: write the processed marker in the same transaction as the business logic to avoid partial commits.
  • Scheduled-job safety: lease-based locking to prevent overlapping executions across workers.

Quick Start

Wrap your job handler with an idempotency guard that checks a processed store before executing and marks as processed after success.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: job-idempotency
Download link: https://github.com/marquesfelip/agents-and-skills/archive/main.zip#job-idempotency

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.