Skip to content
P

principle-make-operations-idempotent

Apply when designing commands, lifecycle steps, or processing loops

by cursorFree

#3485in AI Skills
0In stores

Description

principle-make-operations-idempotent is an agent skill from Cursor's plugins collection that applies one of its working principles when desi…

Highlights

  • Operations converge to the correct state
  • Derive steps from current state
  • Only the difference is applied
  • Leftover state must be recognisable
  • Designed for crashes and retries
  • Installs from skills.sh

Ratings & Reviews

No ratings yet

Be the first to rate principle-make-operations-idempotent.

People also visit

P

principle-never-block-on-the-human

Apply when tempted to ask 'should I do X?' on reversible work

AI Skills
Get
P

principle-outcome-oriented-execution

Apply during planned rewrites and migrations with explicit phase boundaries

AI Skills
Get
P

principle-sequence-verifiable-units

Apply to multi-step work (sweeps, migrations, runs of similar edits)

AI Skills
Get
P

principle-build-the-lever

Apply to any non-trivial work, not just bulk work: edits, migrations, analyses

AI Skills
Get
A

api-idempotency-retry

Design idempotency-key support and client retry guidance for a public API

AI Skills
Get
O

om-auto-create-pr-loop

Advanced om-auto-create-pr for long

AI Skills
Get

principle-make-operations-idempotent FAQ

What does this principle ask?

That each state-changing operation reaches the correct state no matter how many times it runs or where a previous run stopped.

How is a step written?

Read the current state, compare it with the goal, and apply only the difference.

What about leftovers from a crash?

A lock, temporary file or claimed job must be recognisable so the next run can clean it up or resume.

How do I install it?

Run npx skills add https://github.com/cursor/plugins --skill principle-make-operations-idempotent.

What are the best principle-make-operations-idempotent alternatives?

Popular alternatives to principle-make-operations-idempotent include principle-never-block-on-the-human, principle-outcome-oriented-execution and principle-sequence-verifiable-units. See all principle-make-operations-idempotent alternatives

Developer Stuff

Badges