Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing the Glossary section of AGENTS.md, recording or editing an ADR, or writing the model as strict TS types and visualizing aggregates, types, tables, and the API as one HTML page.
Ships in core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
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. This is the active discipline: challenging terms, inventing edge-case scenarios, and writing the glossary and decisions down the moment they crystallise. (Merely reading the Glossary for vocabulary is not this skill: that's a one-line habit any skill can do. This skill is for when you're changing the model, not just consuming it.)
/
├── AGENTS.md ← `## Glossary` section is the glossary
├── docs/
│ └── adr/
│ ├── 0001-event-sourced-orders.md
│ └── 0002-postgres-for-write-model.md
└── src/
The glossary lives in AGENTS.md because it is the one file every session reads unconditionally; a separate glossary file would only be read when someone remembers to. Create things lazily: add the ## Glossary section when the first term is resolved, create docs/adr/ when the first ADR is needed. If AGENTS.md itself does not exist, create it at the repo root.
When the user uses a term that conflicts with the existing language in the Glossary, call it out immediately. "Your glossary defines 'cancellation' as X, but you seem to mean Y. Which is it?"
When the user uses vague or overloaded terms, propose a precise canonical term. "You're saying 'account': do you mean the Customer or the User? Those are different things."
When domain relationships are being discussed, stress-test them with specific scenarios. Invent scenarios that probe edge cases and force the user to be precise about the boundaries between concepts.
When the user states how something works, check whether the code agrees. If you find a contradiction, surface it: "Your code cancels entire Orders, but you just said partial cancellation is possible. Which is right?"
When a term is resolved, update the ## Glossary section of AGENTS.md right there. Don't batch these up: capture them as they happen. Use the term format in references/glossary-format.md.
The Glossary should be totally devoid of implementation details. Do not treat it as a spec, a scratch pad, or a repository for implementation decisions. It is a glossary and nothing else. Other sections of AGENTS.md are not touched by this skill.
Only offer to create an ADR when all three are true:
If any of the three is missing, skip the ADR. Use the format in document ADR format.
When aggregates, their types, the table design, or the API are being decided (or reviewed with someone), write the model as TS types and render it as one HTML page: 1. aggregate overview, 2. types per aggregate, 3. table design, 4. API design (see below).
docs/domain-model.ts). Mark aggregates with // ===== Title (first type = root), shared types with // -----, invariants with // 守ること:, and key columns with a leading PK / FK / PK・FK in the field comment.tsc --strict --noEmit --lib es2022.python3 tools/domain_viz.py --types <ts> --spec <json> --out <html> from this skill's directory and open the result.Formats and conventions: references/domain-viz.md.
Once the aggregates hold, write the API in TS syntax in the same type block and draw it as part 4 of the page, not as prose: which endpoint reads or changes which aggregate, and each endpoint's request, response, and errors.
// >>>>> 注文(/orders)
type 取り消す = {
method: 'POST'; path: '/orders/{注文ID}/cancel'
response: 注文
errors: { 409: '発送済み' }
}
/orders/{注文ID}/returns)..../cancel, not a free-form PATCH of the status). Map each broken invariant to an error status.agents/openai.yaml (opens in a new tab)assets/domain-viz-example/model.ts (opens in a new tab)assets/domain-viz-example/viz.json (opens in a new tab)assets/domain-viz.html (opens in a new tab)references/domain-viz.md (opens in a new tab)references/glossary-format.md (opens in a new tab)tools/domain_viz.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/core:domain-modelingfrom core
npx claudepluginhub wwwyo/skills --plugin core56 skills in this plugin
/agent-friendly-cliAI agent や自動化から呼ぶ CLI・script の設計指針。CLI の新設、subcommand・flag・JSON出力の追加、API の CLI 化、skill helper の作成、MCP と CLI の選択で使う。agent 向けと明示されない CLI 設計にも適用する。/architectSketch types, signatures, and module structure before code, then stay in the loop while implementation fills in. Use for /architect, 'architect this', 'design this', or non-trivial work where jumping to code would lock in the wrong shape./benchmark-checklistVet a perf measurement (limiter, tuning, limits, errors, repeatability, relevance, and whether the work happened) before you report or act on it. Use when you run a benchmark or report a speedup or regression you measured.Other plugins' skills for the same job