/pstack:principle-separate-before-serializing-shared-statefrom pstack
Guides eliminating shared mutable state before resorting to serialization. Useful when concurrent actors write to the same file, branch, key, or state object.
Ships in pstack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
When concurrent actors might share mutable state, first ask whether they need the same mutable object. If not, eliminate the sharing. When sharing is real, enforce serialization structurally: lockfiles, sequential phases, exclusive ownership. Instructions and conventions are not concurrency control.
Why: Concurrent writes to shared state create race conditions that are intermittent, hard to reproduce, and expensive to debug.
Pattern:
lastX field into one state.json is still shared mutation. indexer-state.json + metrics-state.json is not.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
concurrency, shared-state, race-conditions, serialization, lockfiles
npx claudepluginhub raka334/pstack-for-everyone --plugin pstack50 skills in this plugin
/architectSettle types, signatures, and module structure before code crosses a function boundary. Use for `architect`, design-this requests, or non-trivial changes where implementation would lock in the wrong shape./arenaRun parallel agent attempts at the same task, choose a base, graft the strongest ideas from the others, and verify the synthesis. Use when the host supports delegation and the artifact has competing approaches./automate-meCreate or improve a personal work-style skill from preferences and evidence in the current conversation or records the user supplies. Use for automate-me and requests to capture how the user works.7 plugins ship this exact skill · first indexed Sep 16, 2026
Showing 6 of 7 plugins, one per repository first
Other plugins' skills for the same job