/mastermind:constitutionfrom mastermind
Creates or amends a project constitution: a short list of non-negotiable rules every feature must obey. Use when establishing project principles, non-negotiables, or amending existing rules.
Ships in mastermind. 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.
Read when SKILL.md points to them.
A constitution is the short list of rules this project refuses to break, written so a reviewer can
check a change against each one. It outranks every spec, plan and task (~/.mastermind/engineering/core/spec-driven.md).
Request: $ARGUMENTS.
.mastermind/brief.md,
existing specs/. Rules the repo already enforces are facts to record, not questions to ask.specs/.templates/constitution.md if it exists, else
template.md beside this file. Write to specs/constitution.md.MUST or MUST NOT statements, and one line of rationale. More than seven means some are preferences.interview). Privacy stance, compliance, and what the product will never do are the usual ones.TODO(<what>): <why it is unknown>
and is listed in your report.Weak: Code should be well tested.
Strong: Money arithmetic MUST have a failing test written before the code that makes it pass.
Rationale: rounding bugs in payouts are invisible until a customer finds them.
Ratchet: Test coverage of src/billing MUST NOT fall below 81.4% (measured 2026-10-07 by `npm run cov`).
Rationale: we cannot reach 100% today, and we refuse to get worse.
A number you cannot measure today is invented. Record where the project is now, with the command that measured it, and forbid going backwards. Raise the recorded value when the project improves. For a product built on a model, one rule is usually worth writing down: a guardrail in a prompt is not a security boundary, so what the model's output may trigger is limited in code.
A rule nobody can check produces an argument in every review. SHOULD is allowed only with the
condition under which it may be skipped, stated in the same line.
specify, named in your report as deferred.~/.mastermind/engineering/core/spec-driven.md, Code that predates the rules).converge, not a silent refactor.MUST you added beyond what the user said is marked as your
proposal in the amendment block until they confirm it. Never credit the user with your extension.The version (old → new), the principles added, changed or removed, the documents rippled or still
pending, and any TODO left open.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
33 skills in this plugin
/analyzeUse when a feature's spec, plan and task list all exist and need checking against each other before code is written: "check the spec and plan agree", "is this ready to build?", "find gaps before we start", or before building anything that touches money, auth or data from a task list. Read-only. Not for one concern inside the spec (`checklist`), not for code against the documents after building (`converge`)./assessUse when someone wants to know whether an idea deserves building before anyone builds it: "is this worth doing?", "should we build X?", "would users actually want this?", a product idea with no code yet, or a feature request nobody has said yes to. Ends in go, clarify or stop. Not for specifying something already decided (`specify`), not for choosing a library (`tech-scout`)./npx claudepluginhub mehrad-dm/mastermind --plugin mastermindOther plugins' skills for the same job