- name
SKILL.md
Файл навыка остаётся в репозитории издателя.
Вставьте скопированную команду в терминал. Она установит этот SKILL.md в выбранного агента.
npx skills add michael-denyer/pstack-claude --skill principle-separate-before-serializing-shared-state -a cursor -yВставьте скопированную команду в терминал. Она установит этот SKILL.md в выбранного агента.
npx skills add michael-denyer/pstack-claude --skill principle-separate-before-serializing-shared-state -a claude-code -yВставьте скопированную команду в терминал. Она установит этот SKILL.md в выбранного агента.
npx skills add michael-denyer/pstack-claude --skill principle-separate-before-serializing-shared-state -a codex -yВставьте скопированную команду в терминал. Она установит этот SKILL.md в выбранного агента.
npx skills add michael-denyer/pstack-claude --skill principle-separate-before-serializing-shared-state -a grok -yОтправьте скопированное сообщение в чат Grok Bot. Бот загрузит этот SKILL.md с GitHub и добавит его к навыкам, общим для всех ваших ботов.
Install this skill: https://github.com/michael-denyer/pstack-claude/tree/HEAD/plugins/pstack/skills/principle-separate-before-serializing-shared-stateОт издателя
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.Apply when concurrent actors might write to the same file, branch, key, or state object. Eliminate the sharing first; serialize structurally only when one shared writer is a real invariant.
---name: principle-separate-before-serializing-shared-statedescription: Apply when concurrent actors might write to the same file, branch, key, or state object. Eliminate the sharing…---# plugins/pstack/skills/principle-separate-before-serializing-shared-state/SKILL.mdFAQ
Скачайте plugins/pstack/skills/principle-separate-before-serializing-shared-state/SKILL.md у издателя или скопируйте путь и откройте репозиторий. PlugMCP только показывает навык в каталоге и не хранит файл.
Издатель хранит его в https://github.com/michael-denyer/pstack-claude.
Claude, Cursor, Codex и Grok Build могут читать SKILL.md, который вы добавляете из репозитория издателя. Grok Bot устанавливает его, когда вы отправляете в чат ссылку на папку навыка на GitHub.