Agent skill

idempotency

Build automation that survives reruns. Idempotent operations let you rerun workflows without fear of duplicates, corruption, or cascading failures in CI/CD.

Stars 1
Forks 2

Install this agent skill to your Project

npx add-skill https://github.com/adaptive-enforcement-lab/claude-skills/tree/main/plugins/patterns/skills/idempotency

SKILL.md

Idempotency

When to Use This Skill

When your workflow fails at step 47 of 50, you have three options:

  1. Rerun from beginning - Only safe if workflow is idempotent
  2. Manual intervention - Fix state by hand, then continue
  3. Abandon and start fresh - Delete partial state, try again later

The Scalable Choice

Safe reruns are the only scalable choice. Manual intervention and abandoning runs require human effort, don't scale, and introduce errors.

Implementation

See the full implementation guide in the source documentation.

References

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results