Principle Make Operations Idempotent skill: what it does and how to install it
Designs commands and processing loops that tolerate crashes, restarts and retries by converging on the same final state.
Summary generated from the skill's documentation.
Install
$ npx skills add backnotprop/pstack --skill principle-make-operations-idempotentRun it in a terminal. If your agent is already running, start a new session so it picks the skill up.
About this skill
What it does. Guides design of state-changing commands, lifecycle steps and processing loops by reading current state, comparing it with the goal, and applying only the difference. It tests repeated execution and crashes at every point, with stale-state detection, atomic renames, content comparison and reconciliation where needed.
When to use it. For operations that may be retried or resumed after partial completion, especially where locks, temporary files, records or claimed jobs can remain behind.
History
Repo stars
2.8k
Tracking since . A chart appears once there are 7 days of data.
Stars are counted for the whole repository, which holds 20 skills.
Installs
5.2k
Tracking since . A chart appears once there are 7 days of data.
Installs via skills.sh
Similar skills
- Karpathy GuidelinesBehavioural guidelines that reduce common LLM coding mistakes: avoid overcomplication, make surgical changes and state assumptions.
- Dispatching Parallel AgentsSplits two or more independent tasks across parallel agents when they share no state.
- Verification Before CompletionRequires the agent to run verification commands and confirm the output before it claims that work is complete or passing.