/mastermind:living-docsfrom mastermind
Creates and maintains living product, business, and technical specs that stay true to the codebase. Useful for onboarding, documenting a new product, or refreshing stale documentation.
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.
Three documents that describe the project as it is today, each fact written once
(~/.mastermind/engineering/core/spec-driven.md). Request: $ARGUMENTS.
| File | Answers | Typical sections |
|---|---|---|
specs/product.md | who it is for, what problem it solves, what it will never do | users, problem, value, scope and non-goals, key journeys |
specs/business.md | how it sustains itself and what limits it | model and pricing, market, constraints, compliance, metrics that matter |
specs/tech.md | how it is built and run | stack, architecture, data, integrations, environments, conventions |
Skeletons: specs/.templates/<file> if present, else templates.md beside this file.
Create a file only when it has content. A library has no business.md.
.mastermind/brief.md, specs/, and the
existing docs folder. Everything technical is a lookup, never a question.(unconfirmed).
It loses the mark when the user confirms it or the code proves it.Last verified: <YYYY-MM-DD> against <commit>. With uncommitted
changes, name the last commit plus "working tree".converge reports converged, promote what the feature taught that outlives it: a new
user journey into product.md, a new service into tech.md. Then update the footer date.tech.md, the code wins. Correct the doc in the same change.product.md or business.md, the document wins until the user says
otherwise. Ask them which one is wrong..mastermind/MAP.md
(roadmap) and in the frozen feature folders..mastermind/brief.md stays the 40-line summary read on every task. When a living doc changes a
fact the brief states, update the brief line too. The brief points into these files for depth.docs/ folder stays where it is. Link to it from the matching living doc; never move
or duplicate the team's files.(unconfirmed) or ask.specs/tech/<topic>.md
and keep tech.md as the index.lab/ (quarantine) and the doc says the fact exists and where it is kept.Which files were created or updated, what was promoted from where, every line still (unconfirmed),
and any doc that disagreed with the code.
What SKILL.md sets; muted values are Claude Code's defaults
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