/mastermind:specifyfrom mastermind
Writes or revises feature specifications for features already decided. Produces user stories, acceptance criteria, functional requirements, and success criteria following a structured template.
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.
The spec says what and why, for a reader who does not code. The how comes later, in
blueprint. Read ~/.mastermind/engineering/core/spec-driven.md for the layout, IDs and lifecycle.
Feature: $ARGUMENTS.
specs/ and a two-to-four word name: specs/012-csv-export/.
Revising an existing spec? Work in that folder instead. Search specs/ and the code for the concept
first: a feature that already exists is amended, never specified twice.specs/.templates/spec.md if present, else template.md.specs/constitution.md, specs/product.md, the brief's glossary, and any
earlier spec this one amends.US1/AC1), in the four
shapes interview uses: When, While, If ... then, Where.FR-001), each testable alone, and success criteria
(SC-001), each measurable from the user's side with no technology named..mastermind/brief.md, creating the
file or the section if it is missing, and use those exact words in the spec.Fill a gap with the reasonable default for this kind of product and record it under Assumptions.
Mark a gap [NEEDS CLARIFICATION: <question>] only when all three hold: it changes scope, security or the
user's experience; two readings lead to different products; and no default is reasonable.
Three markers at most. Rank by scope, then security and privacy, then experience, then technical
detail. Past three, the rest become assumptions. Then run interview on the spec to resolve them.
Write checklists/requirements.md in the feature folder and test the spec against it:
.mastermind/brief.mdFix what fails and re-check, at most three rounds. Anything still failing is listed in the checklist's
notes and in your report. Set the status line to draft. Only interview sets clarified: a spec with
no markers still gets its scan for the gaps nobody marked.
product.md,
business.md or the user. Never from inference.The folder, the stories with priorities, the checklist result, any marker still open, and the next step:
interview, which runs its clarification pass on every spec.
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
Three short reads, in order
specification, requirements, feature-planning, documentation
npx claudepluginhub mehrad-dm/mastermind --plugin mastermind33 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`)./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)./breakdownUse when a feature with a spec and a plan needs its ordered task list: "break this into tasks", "make the task list", "what are the steps to build this?", a feature folder with plan.md and no tasks.md, or a task list made stale by a spec or plan change. Not for a feature with no plan (`blueprint`), not for one session's to-do list./buildUse when implementing any feature, change or fix whose scope is clear enough to start: "build me X", "add this feature", "implement this", "make this work", "can you create". Small features included: they still need verifying before "done". Not for a literal one-line edit, an ask whose scope is unsettled (`interview`), or a bug with no known cause (`debug`)./checklistUse when a feature's requirements need testing for one concern before planning or building: "make a security checklist for this spec", "are the UX requirements complete?", "what did the spec forget about accessibility?", "does our spec cover abuse or partial failure?", a spec that looks thin on security, access rules or error recovery, or a sensitive feature heading into `blueprint` or `build`. Not for testing code (`qa`), not for whole documents against each other (`analyze`).Other plugins' skills for the same job