/mastermind:analyzefrom mastermind
Checks that spec, plan, and task list agree before code is written. Runs six read-only passes (duplication, ambiguity, underspecification, constitution, coverage, inconsistency) and reports findings with severity levels.
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 read-only consistency pass over spec.md, plan.md, tasks.md and the constitution, run before any
code exists, when a gap still costs a sentence instead of a rewrite. Layout and IDs:
~/.mastermind/engineering/core/spec-driven.md. Feature: $ARGUMENTS.
It never edits a file. It reports, then offers fixes the user approves.
The context that wrote the documents already believes they agree. Dispatch the code-reviewer agent
with the four files and this skill's six passes, and nothing about how they were written. Never use a
fork of this session: a fork inherits what this context believes. Where no agent is wired, follow the
kernel's fallback: run agents/code-reviewer.md as a procedure in a separate session; where that is
impossible, label the result self-checked.
TODO, ???, a template's own <placeholder> lines, unresolved [NEEDS CLARIFICATION]. Angle
brackets in command syntax such as notes add <text> are not placeholders.MUST, or a principle
the plan's gate marked pass that the tasks then break.FR-### and US#/AC# maps to at least one task. Every task maps to a requirement
or story, or is setup, foundation or polish. Success criteria needing build work have tasks.| Level | When |
|---|---|
| CRITICAL | breaks a constitution MUST, a core file is missing, or a P1 requirement has no task |
| HIGH | a duplicate or conflicting requirement, an untestable acceptance criterion, a security or data ambiguity |
| MEDIUM | terminology drift, a non-functional requirement with no task, an underspecified edge case |
| LOW | wording, a minor redundancy |
| ID | Pass | Severity | Where | Finding | Fix |
| A1 | coverage | CRITICAL | spec.md FR-004 | no task implements export limits | add a task to US2 |
At most 50 rows, highest severity first; summarize the rest by pass. Then the counts: requirements, tasks, coverage percentage, findings by severity. End with one verdict: ready to build, fix first (any CRITICAL), or ready with known gaps (named).
MUST is fixed in the spec, plan or
tasks, or the constitution is amended on purpose. analyze never softens the principle.Offer the concrete edits for the top findings and apply only the ones the user approves. After an
approved edit to spec.md or plan.md, re-run breakdown's coverage check so the tasks still match.
A fix that changes behavior the user already had is a product decision: ask before applying it.
Then run mastermind next and end with the step it names, so the user sees where the feature stands.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mehrad-dm/mastermind --plugin mastermind33 skills in this plugin
/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`)./blueprintUse when a written feature spec needs its technical plan: "plan this spec", "how should we build this spec?", "make the technical plan for this feature", a spec in specs/ with no plan.md yet, or a plan that a spec or constitution change has made stale. Not for a feature with no spec (`specify`, or `build` for a small one), not for one design question outside any feature (the `architect` agent)./Other plugins' skills for the same job