Giverny

Principle Separate Before Serializing Shared State

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…

by backnotprop★ 5,529General

What Principle Separate Before Serializing Shared State does

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.

How to install Principle Separate Before Serializing Shared State in Claude Code

Giverny gives you a ready prompt with the exact install command from backnotprop/pstack. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone backnotprop/pstack and copy the skills/principle-separate-before-serializing-shared-state folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Principle Separate Before Serializing Shared State on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the principle-separate-before-serializing-shared-state skill on my current project.”

More Claude skills for general