Skills Explorer Add Skills

principle-separate-before-serializing-shared-state

An agent skill by cursor, from cursor/plugins. Tags: architecture, concurrency, development, troubleshooting, validation.

What it 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.

Install

With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:

npx skills add cursor/plugins --skill principle-separate-before-serializing-shared-state

Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):

git clone --depth 1 https://github.com/cursor/plugins
cp -r plugins/pstack/skills/principle-separate-before-serializing-shared-state ~/.claude/skills/principle-separate-before-serializing-shared-state

Safety box score

Grade A, minimal risk: 0 of 100 risk points, rated 2026-10-16. The grade rates what the skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. How the score works.

This skill is a short markdown guide about how to design around shared mutable state; it does not ship code, scripts, or networked tooling. The practical risk is essentially nil beyond the general risk of misleading advice in any documentation-only skill.

Category levels, from 0 (none) to 3 (high)
CategoryLevelWhy
Code & shell execution0 (none)No scripts, shell commands, or code evaluation are present; the only file is `SKILL.md`.
Network access0 (none)There is no download, upload, API call, or remote host interaction in the skill files.
Filesystem reach0 (none)The skill only describes a design pattern and does not read, write, or delete files.
Secrets & credentials0 (none)It does not ask for credentials, tokens, `.env` files, or other secrets.
Privilege & persistence0 (none)No sudo, global install, service registration, or OS/shell settings changes are included.
Instruction hijack surface0 (none)`SKILL.md` contains ordinary guidance text and no prompt-injection patterns, hidden instructions, or remote-follow instructions.
Irreversible actions0 (none)It does not perform or instruct any external action such as posting, deploying, deleting, or paying.
Transparency0 (none)The skill is fully readable markdown; there are no binaries, encoded blobs, or unreviewable installers.

Before installing

Rated 2026-10-16 by an automated review of 1 file from the skill's repository.

Source

Repository
cursor/plugins (all skills from this repository)
Path
pstack/skills/principle-separate-before-serializing-shared-state/SKILL.md
Branch
main
Collection
cursor
Updated
2026-09-23