/grey-matter:domain-modelingfrom grey-matter
Build and sharpen a project's domain model (app/backend/business software). Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording an ADR. For a game's real-time systems and design model, use game-modeling instead.
Ships in grey-matter. 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.
Actively build and sharpen the project's domain model as you design: challenge terms,
invent edge-case scenarios, and write the glossary and decisions down the moment they
crystallise. This is the active discipline (merely reading GLOSSARY.md for
vocabulary is a one-line habit any skill can do; this skill is for when you are
changing the model).
Scope. This is Domain-Driven Design: it fits application and business software,
including a game's backend, meta, economy, inventory, and progression systems (which
are business software). It does not fit a game's real-time simulation core, where
behaviour is data-oriented, not aggregate-shaped. For a game's mechanics, systems, and
design model, use the Skill tool with game-modeling. The one piece shared by both is
ubiquitous language (a canonical glossary); the rest below is app-shaped.
Single context (most repos): a GLOSSARY.md at the root and docs/adr/ for decisions.
If a GLOSSARY-MAP.md exists at the root, the repo has multiple bounded contexts
and the map points to each context's own GLOSSARY.md.
Promote to multi-context only on a real polyseme (one word meaning different things in two parts of the system) or a genuine subdomain/team split, not on repo size alone. Default to single-context.
Create files lazily: a GLOSSARY.md when the first term is resolved, docs/adr/ when
the first ADR is needed.
GLOSSARY.md inline. When a term resolves, write it down right there,
don't batch. Keep the glossary free of implementation detail: define what a term IS,
not what it does. It is a glossary and nothing else, not a spec or a scratchpad.# {Context Name}
{One or two sentences on what this context is.}
## Language
**Order**:
{One or two sentences: what it IS.}
_Avoid_: Purchase, transaction
Be opinionated (pick one term, list the rest under _Avoid_), keep definitions tight,
and include only terms specific to this context, not general programming concepts.
Offer an ADR only when all three are true:
If any is missing, skip it. The strict gate is deliberate: for an agent the failure
mode is over-production, writing ADRs for trivial decisions. An ADR is tiny: a title
and 1-3 sentences on context, decision, and why. Add a Consequences or Considered
Options line only when the rejection is non-obvious and worth remembering. Number them
docs/adr/NNNN-slug.md, incrementing from the highest existing.
One ADR per independently reversible decision. If two choices could change on their own timelines, they are two ADRs (or one of them is just a ticket); bundling forces an all-or-nothing supersede later.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub smileynet/grey-matter --plugin grey-matter51 skills in this plugin
/adopt-projectAdopt a brownfield repo into grey-matter: characterize its as-is model, subsume existing agent config, seed a triaged board, and wire plumbing./changelogMaintain CHANGELOG.md in Keep a Changelog format with user-facing entries. Use when recording what changed for a release, updating the Unreleased section, or asked to write/update the changelog./cheat-sheetList every skill in this set by category with a one-line description. Use when the user wants a quick reference card of available skills, asks "what skills are there", or "list all commands".