/principle:principle-encode-lessons-in-structurefrom principle
Encodes verified recurring lessons into structural guards (types, lint rules, runtime checks) or judgement-only instructions with review criteria.
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.
Turn a verified recurring lesson into one guard when the rule is mechanically decidable.
Distinct from: principle-build-the-lever (making repeated work a rerunnable tool for the task in hand), principle-fix-root-causes (repairing one reproducible defect), principle-never-weaken-a-check (a gate fails).
Done: the guard rejects a real past failure and valid behaviour passes, or the judgement-only lesson has one clear instruction and review criterion at its owner. Broader investigation of recurring mistakes belongs to a separate correction workflow; this principle does not require one.
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