domain-modeling
БесплатноЗапускает вложенные скриптыНе проверенKeep a project glossary of domain terms and lightweight decision records, and catch banned synonyms in docs and code. Use when terms are used inconsistently…
от borghei★ 1 250 звёзд на GitHubОб этом скилле
Domain Modeling
Shared language is the cheapest defect prevention there is. This skill keeps two
small artefacts: a GLOSSARY.md where every domain term has one name, one
definition in business language, the synonyms to avoid and an owner who settles
disputes; and a folder of short decision records for choices that are costly to
reverse, surprising later and the result of a real trade-off. Its tools pull
candidate terms out of conversations and code, lint the glossary, find banned
synonyms in docs and identifiers, and keep decision records numbered and linked.
When to use this skill
- The same thing has three names across code, docs, tickets and support macros
- A design conversation keeps stalling on what a word means ("account" — the payer or the login?)
- Starting a GLOSSARY.md for a project or a bounded part of a system
- A decision was just made that a newcomer would otherwise undo
- Onboarding — new people need the vocabulary before the code makes sense
- Before naming a new module, table or API resource, to use the agreed term
Inputs the skill expects
- Material that carries the language: meeting transcripts, design notes, tickets, code paths
- The existing
GLOSSARY.mdanddocs/adr/if present - Who owns which terms (roles that can settle a meaning)
- Whether the system has one context or several where the same word means different things
Clarify First
What most shapes the output is whether the language is being created, repaired or checked, and who has authority over it. Settle the inputs below before producing anything. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
- One context or several: if a word legitimately means two things in two parts of the system, forcing one definition causes the bugs this skill exists to prevent.
- Term owners: a proposed term without an owner stays proposed forever; the owner decides synonym fights.
- Source material: transcripts and support tickets surface customer language and aliases; code surfaces engineering names — the extraction differs.
- Decision threshold: which choices the team wants recorded; default is the three-part test (costly to reverse, surprising, real trade-off).
Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
Quick Start
# Lint the sample glossary and find banned aliases in a feature note
python3 engineering/domain-modeling/scripts/glossary_lint.py \
--glossary engineering/domain-modeling/assets/sample_GLOSSARY.md \
--scan engineering/domain-modeling/assets/sample_feature_notes.md
# Lint the sample decision records and get the next file name
python3 engineering/domain-modeling/scripts/adr_lint.py \
--input engineering/domain-modeling/assets/sample_adr_set.json \
--next-title "Publish events for billing"
Workflows
Workflow 1 — Extract terms from conversations and code [RECOMMENDED]
Gather material: a design-session transcript, recent tickets, and the code paths for the area.
Run the extractor against the current glossary (or none, for a first pass):
python3 engineering/domain-modeling/scripts/term_extract.py \ --paths engineering/domain-modeling/assets/sample_conversation.txt \ --glossary engineering/domain-modeling/assets/sample_GLOSSARY.md --format textTriage each new candidate: add as a term, add as an alias of an existing term, split (one word, two concepts), or ignore. In the sample,
pauseandsuspensionare two concepts that need two entries;membershipis an alias of Subscription.Read the "never used" list: those terms are stale or called something else in practice.
Draft new entries with status
proposedand ask each owner to confirm.
Exit code 1 means new candidates exist and need a decision — useful as a periodic review prompt, not a merge gate.
Workflow 2 — Write and lint the glossary [PROVEN]
Start from
assets/GLOSSARY-template.md: one### Termblock per concept with Definition, Avoid, Owner, Related, Status.Definitions say what the thing is in at most two sentences. No tables, columns, classes or endpoints.
Each alias appears under exactly one term, and never matches another canonical term.
Lint it, then scan docs and code for the aliases you just banned:
python3 engineering/domain-modeling/scripts/glossary_lint.py \ --glossary engineering/domain-modeling/assets/sample_GLOSSARY.md \ --scan engineering/domain-modeling/assets/sample_feature_notes.md --format jsonThe scan splits identifiers, so
clientIdandmemberships.renewcount as uses of "client" and "membership". Fix docs now; rename identifiers when the files are next touched.
Validation checkpoint: the lint reports no errors, every term ha
Установить domain-modeling в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл domain-modeling?
Keep a project glossary of domain terms and lightweight decision records, and catch banned synonyms in docs and code. Use when terms are used inconsistently, writing a GLOSSARY.md, or recording a design decision.
Как установить скилл domain-modeling?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл domain-modeling запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic