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 invariant.
Install
npx skills add cursor/plugins --skill principle-separate-before-serializing-shared-stateWorks with
claude-code (native), claude (native), codex (native), chatgpt (native), gemini-cli (native), cursor (native), copilot (native), opencode (native), amp (native), roo (native), kiro (native), goose (native), junie (native), trae (native), cline (compatible), continue (compatible), antigravity (compatible), windsurf (compatible), augment (compatible), qwen-code (compatible)
This item's license does not let Skilo republish its content, so only its description and a link to the source are shown.
Source and license
- Source
- Cursor Official Plugins
- Original
- cursor/plugins/pstack/skills/principle-separate-before-serializing-shared-state/SKILL.md
- License
- Unknown