/principle:principle-keep-the-core-purefrom principle
Extracts domain decisions from adapters, handlers, and UI components into pure functions, keeping framework wiring thin and testable.
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.
Put domain decisions in pure functions; keep framework wiring thin and mechanical.
Distinct from: principle-hide-representations (a private wire, storage or framework shape crosses a module boundary), principle-parse-at-the-boundary (untrusted data enters and needs validating), principle-minimize-reader-load (layers that own no decision make a path hard to trace).
Done: every domain rule touched is testable without the framework, and the wiring holds no domain branches.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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