Skip to content
Back to skills

Principle Make Operations Idempotent

ASecurity

Apply when designing commands, scrapers, cron collectors, migrations, or lifecycle scripts. Converge to the same end state regardless of partial prior runs or retries.

  • 25 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 15, 2026
ai-agents

Security analysis

A100/100

Scanned November 15, 2026

npx -y skills add watt-mind/factory --skill principle-make-operations-idempotent --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Principle Make Operations Idempotent?

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

Security grade badge for Principle Make Operations Idempotent
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/watt-mind-principle-make-operations-idempotent/badge)](https://www.skillsdirectory.com/skills/watt-mind-principle-make-operations-idempotent)

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: principle-make-operations-idempotent
description: "Apply when designing commands, scrapers, cron collectors, migrations, or lifecycle scripts. Converge to the same end state regardless of partial prior runs or retries."
disable-model-invocation: true
---

# Make Operations Idempotent

Commands, ingestion pipelines, cron collectors, and setup scripts must converge cleanly to the same end state if interrupted and re-run.

- **Checkpoint and skip completed work:** Resume safely from partial runs without duplicating rows, corrupting state, or re-fetching immutable artifacts.
- **Atomic writes & cleanup:** Write to temporary paths and rename atomically; clean up scratch/tmp directories so retries do not exhaust disk or hit stale locks.
- **Safe re-seeding:** Dev seeders and sync commands must be safe to run multiple times without failing on existing records.

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.