/principle:principle-model-the-domainfrom principle
Guides modeling domain logic with explicit states, transitions, and ownership to eliminate invalid states and scattered rules. Useful when domain complexity grows.
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.
Represent legal states, transitions and ownership directly, so invalid states and scattered rules have nowhere to live.
Identify legal states, forbidden combinations, transitions, ownership and access patterns. Choose the smallest structure that expresses them: variants for alternatives, a transition model for lifecycle, a map for keyed lookup, a queue for ordered work.
Carry required data with its state: pending, failed(error), complete(receipt). Centralise transition rules instead of synchronising flags across consumers. Group repeated domain knowledge under one owner; execution phases alone do not define ownership.
Parse or migrate persisted and external representations into the model. Types cannot retroactively make stored invalid states valid.
Verify allowed and rejected transitions through the public behaviour, including restoration and failure. Keep boring local code when a proposed abstraction removes no invalid state, repeated rule or lifecycle risk. No framework is required.
Distinct from: principle-type-system-discipline (making the compiler enforce distinctions the model already names), principle-parse-at-the-boundary (untrusted or persisted data enters and must be validated), principle-derive-from-one-owner (one fact computed or stored in two places).
Done: each state carries its data; transitions are centralised; allowed and rejected transitions are tested.
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.Other plugins' skills for the same job