/pstack-picks:principle-make-operations-idempotentfrom pstack-picks
Guides designing commands, lifecycle steps, and processing loops that converge to the same end state regardless of crashes, restarts, or retries.
Ships in pstack-picks. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Design operations so they converge to the correct state regardless of how many times they run or where they start from. Every state-mutating operation should answer: "What happens if this runs twice? What happens if the previous run crashed halfway?"
Why: Commands, lifecycle operations, and processing loops run where crashes, restarts, and retries are normal. If partial state changes the next run's outcome, every restart becomes a debugging session.
The pattern:
The test:
If any answer is "it depends on what state was left behind," the operation needs a reconciliation step.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gethubgod/worker-skills --plugin pstack-picks20 skills in this plugin
/architectSketch types, signatures, and module structure before code, then stay in the loop while implementation fills in. Use for /architect, 'architect this', 'design this', or non-trivial work where jumping to code would lock in the wrong shape./arenaSpawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for /arena, 'arena this', 'throw it in the arena', or when one attempt at a non-trivial artifact would lock in the wrong shape./automate-meUse for "automate me", "create/update/refresh my -mode skill", "turn/capture my preferences or working style into a skill", or wanting agents to follow how the user works. Drafts or revises a personal -mode skill via create-skill, optionally pulling fresh evidence from recent transcripts.2 plugins ship this exact skill · first indexed Sep 1, 2026
Other plugins' skills for the same job