deft-directive-glossary
Extract a DDD-style ubiquitous language glossary from the current conversation, flagging ambiguities and proposing canonical terms. Saves to…
от deftai★ 32 звезды на GitHub
Установить deft-directive-glossary в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Deft Glossary
Extract and formalize domain terminology from the current conversation into a consistent glossary saved to UBIQUITOUS_LANGUAGE.md. When a core/glossary.md exists in the project, treat it as the starting baseline.
Legend (from RFC2119): !=MUST, ~=SHOULD, ≉=SHOULD NOT, ⊗=MUST NOT, ?=MAY.
Inspired by ubiquitous-language from mattpocock/skills. Adapted to deft's DDD framework and
core/glossary.mdconventions.
When to Use
- Defining or hardening domain terminology before or during spec generation
- After a
probeordiscusssession surfaces ambiguous terms - When different team members or agents use different words for the same concept
- At the start of a new domain area to lock vocabulary before implementation
Process
Step 1: Load existing glossary
- ~ If
core/glossary.mdexists, read it as the starting baseline - ~ If
UBIQUITOUS_LANGUAGE.mdexists in the working directory, read it too - ! Work from whatever is in the conversation context — do NOT ask the user to re-explain
Step 2: Scan and identify problems
- ! Scan the conversation for domain-relevant nouns, verbs, and concepts
- ! Identify:
- Ambiguities — same word used for different concepts
- Synonyms — different words used for the same concept
- Vague terms — overloaded or underspecified language
- ⊗ Include generic programming concepts (array, endpoint, function) unless they carry specific domain meaning
Step 3: Propose canonical glossary
- ! Be opinionated — when multiple words exist for the same concept, pick the best one
- ! List rejected alternatives as "aliases to avoid"
- ! Group terms into tables by natural cluster (subdomain, lifecycle, actor) — don't force groupings if all terms belong to one cohesive domain
- ! Show relationships between terms using bold names and cardinality where obvious
- ! Write an example dialogue (3–5 exchanges) between a dev and domain expert demonstrating how the terms interact naturally
- ! Flag all conflicts explicitly in a "Flagged ambiguities" section
Step 4: Write output
- ! Write
UBIQUITOUS_LANGUAGE.mdin the working directory using the format below - ! Output an inline summary of terms added and ambiguities flagged
- ~ If
core/glossary.mdexists and new terms belong there permanently, propose additions — but ⊗ modifycore/glossary.mdwithout user confirmation
Output Format
# Ubiquitous Language
## {Domain / Subdomain Name}
| Term | Definition | Aliases to avoid |
|------|-----------|-----------------|
| **Order** | A customer's request to purchase one or more items | Purchase, transaction |
| **Invoice** | A request for payment sent after delivery | Bill, payment request |
## Relationships
- An **Invoice** belongs to exactly one **Order**
- An **Order** MAY produce multiple **Invoices** if items ship separately
## Example dialogue
> **Dev:** "When a **Customer** places an **Order**, do we create the **Invoice** immediately?"
> **Domain expert:** "No — an **Invoice** is only generated once a **Fulfillment** is confirmed."
## Flagged ambiguities
- "account" was used to mean both **Customer** (places orders) and **User** (authentication
identity) — these are distinct concepts; use the specific term in all contexts.
Re-running
When invoked again in the same session:
- ! Read the existing
UBIQUITOUS_LANGUAGE.md - ! Incorporate new terms from subsequent discussion
- ~ Update definitions if understanding has evolved
- ~ Re-flag any new ambiguities
- ~ Rewrite the example dialogue to incorporate new terms
Anti-Patterns
- ⊗ Listing every class or module name — only terms with domain meaning
- ⊗ Vague definitions ("a thing that does stuff") — one tight sentence per term
- ⊗ Silently modifying
core/glossary.mdwithout user confirmation - ⊗ Letting synonyms persist — pick one and enforce it
- ⊗ Skipping the example dialogue — it's the best test that terms actually compose correctly
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл deft-directive-glossary?
Extract a DDD-style ubiquitous language glossary from the current conversation, flagging ambiguities and proposing canonical terms. Saves to UBIQUITOUS_LANGUAGE.md. Use when defining domain terms, building a glossary, hardening terminology, or when "domain model" or "DDD" is mentioned.
Как установить скилл deft-directive-glossary?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл deft-directive-glossary запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop 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…
internal-comms
AnthropicA 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…
skill-development
AnthropicThis 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…