/principle:principle-preserve-unrelated-workfrom principle
Guides Claude to preserve unrelated work, worktree changes, and index state when making git changes. Use when diffing, committing, or applying git actions that could touch files outside the request scope.
Ships in principle. 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.
Leave behaviour and edits you were not asked to change.
Distinct from: principle-stay-in-scope (whether an action is authorised at all), principle-update-the-base-deliberately (starting from or syncing with a base), principle-clean-up-what-you-started (tearing down resources a run created).
Done: unrelated behaviour, worktree changes and the index are unchanged, or each change is justified.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mintuz/skills --plugin principle54 skills in this plugin
/principle-attack-the-premiseWHEN repeated fixes sharing an assumption fail the same check; NOT for a first unexplained failure or a settled mechanical edit; tests the shared premise before another fix./principle-build-the-leverWHEN repetitive work or a difficult check benefits from a rerunnable tool; NOT when an existing command or a direct small edit already suffices; builds the smallest useful lever./principle-capture-the-baselineWHEN about to change something whose result you will verify or compare; NOT for read-only investigation or syncing a git base; records pre-change evidence so the check reads old value versus new value./principle-clean-up-what-you-startedWHEN tearing down after a run, verification or failed attempt; NOT for making reruns converge or reverting unrelated edits; releases only resources this run created and keeps the evidence./principle-define-doneWHEN starting a multi-step deliverable, phase or plan, or deciding whether one is finished; NOT for single-step answers or choosing which checks to run; sets a checkable completion criterion first and reports every unmet gate./principle-derive-from-one-ownerWHEN the same fact or decision is computed or stored in more than one place; NOT for modelling legal states or collapsing pass-through layers; gives it one owner that other sites derive from or receive.Other plugins' skills for the same job