Ubiquitous Language
Extract and formalize domain terminology from the current conversation into a consistent glossary, saved to a local file.
Process
- Scan the conversation for domain-relevant nouns, verbs, and concepts
- Identify problems:
- Same word used for different concepts (ambiguity)
- Different words used for the same concept (synonyms)
- Vague or overloaded terms
- Propose a canonical glossary with opinionated term choices
- Write to
UBIQUITOUS_LANGUAGE.md in the working directory using the format below
- Output a summary inline in the conversation
Output Format
Write a UBIQUITOUS_LANGUAGE.md file with this structure:
# Ubiquitous Language
## Order lifecycle
| Term | Definition | Aliases to avoid |
|------|-----------|-----------------|
| **Order** | A customer's request to purchase one or more items | Purchase, transaction |
| **Invoice** | A request for payment sent to a customer after delivery | Bill, payment request |
## People
| Term | Definition | Aliases to avoid |
|------|-----------|-----------------|
| **Customer** | A person or organization that places orders | Client, buyer, account |
| **User** | An authentication identity in the system | Login, account |
## Relationships
- An **Invoice** belongs to exactly one **Customer**
- An **Order** produces one or more **Invoices**
## 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. A single **Order** can produce multiple **Invoices** if items ship in separate **Shipments**."
> **Dev:** "So if a **Shipment** is cancelled before dispatch, no **Invoice** exists for it?"
> **Domain expert:** "Exactly. The **Invoice** lifecycle is tied to the **Fulfillment**, not the **Order**."
## Flagged ambiguities
- "account" was used to mean both **Customer** and **User** — these are distinct concepts: a **Customer** places orders, while a **User** is an authentication identity that may or may not represent a **Customer**.
Rules
- Be opinionated. When multiple words exist for the same concept, pick the best one and list the others as aliases to avoid.
- Flag conflicts explicitly. If a term is used ambiguously in the conversation, call it out in the "Flagged ambiguities" section with a clear recommendation.
- Keep definitions tight. One sentence max. Define what it IS, not what it does.
- Show relationships. Use bold term names and express cardinality where obvious.
- Only include domain terms. Skip generic programming concepts (array, function, endpoint) unless they have domain-specific meaning.
- Group terms into multiple tables when natural clusters emerge (e.g. by subdomain, lifecycle, or actor). Each group gets its own heading and table. If all terms belong to a single cohesive domain, one table is fine — don't force groupings.
- Write an example dialogue. A short conversation (3-5 exchanges) between a dev and a domain expert that demonstrates how the terms interact naturally. The dialogue should clarify boundaries between related concepts and show terms being used precisely.
Re-running
When invoked again in the same conversation:
- Read the existing
UBIQUITOUS_LANGUAGE.md
- Incorporate any new terms from subsequent discussion
- Update definitions if understanding has evolved
- Mark changed entries with "(updated)" and new entries with "(new)"
- Re-flag any new ambiguities
- Rewrite the example dialogue to incorporate new terms
Post-output instruction
After writing the file, state:
I've written/updated UBIQUITOUS_LANGUAGE.md. From this point forward I will use these terms consistently. If I drift from this language or you notice a term that should be added, let me know.
1---2name: ubiquitous-language3description: >-4 Extract a DDD-style ubiquitous language glossary from the current conversation, flagging ambiguities and proposing canonical terms. Saves to UBIQUITOUS_LANGUAGE.md. Use when: user wants to define domain terms, build a glossary, harden terminology, create a ubiquitous language, or mentions "domain model" or "DDD".5license: Apache-2.06compatibility: "Claude Code, any AI coding agent"7metadata:8 source: https://skillmd.com/skills/eliferjunior/ubiquitous-language9 author: terminal-skills10 version: "1.0.0"11 category: development12 tags: ["ddd", "domain-driven-design", "glossary", "ubiquitous-language", "terminology"]13 use-cases:14 - "Extract and formalize domain terminology from a conversation into a glossary file"15 - "Build a DDD ubiquitous language document to align team vocabulary"16 - "Flag ambiguous terms and propose canonical names for domain concepts"17 agents: [claude-code, openai-codex, gemini-cli, cursor]18---1920# Ubiquitous Language2122Extract and formalize domain terminology from the current conversation into a consistent glossary, saved to a local file.2324## Process25261. **Scan the conversation** for domain-relevant nouns, verbs, and concepts272. **Identify problems**:28 - Same word used for different concepts (ambiguity)29 - Different words used for the same concept (synonyms)30 - Vague or overloaded terms313. **Propose a canonical glossary** with opinionated term choices324. **Write to `UBIQUITOUS_LANGUAGE.md`** in the working directory using the format below335. **Output a summary** inline in the conversation3435## Output Format3637Write a `UBIQUITOUS_LANGUAGE.md` file with this structure:3839```md40# Ubiquitous Language4142## Order lifecycle4344| Term | Definition | Aliases to avoid |45|------|-----------|-----------------| 46| **Order** | A customer's request to purchase one or more items | Purchase, transaction |47| **Invoice** | A request for payment sent to a customer after delivery | Bill, payment request |4849## People5051| Term | Definition | Aliases to avoid |52|------|-----------|-----------------| 53| **Customer** | A person or organization that places orders | Client, buyer, account |54| **User** | An authentication identity in the system | Login, account |5556## Relationships5758- An **Invoice** belongs to exactly one **Customer**59- An **Order** produces one or more **Invoices**6061## Example dialogue6263> **Dev:** "When a **Customer** places an **Order**, do we create the **Invoice** immediately?"64> **Domain expert:** "No — an **Invoice** is only generated once a **Fulfillment** is confirmed. A single **Order** can produce multiple **Invoices** if items ship in separate **Shipments**."65> **Dev:** "So if a **Shipment** is cancelled before dispatch, no **Invoice** exists for it?"66> **Domain expert:** "Exactly. The **Invoice** lifecycle is tied to the **Fulfillment**, not the **Order**."6768## Flagged ambiguities6970- "account" was used to mean both **Customer** and **User** — these are distinct concepts: a **Customer** places orders, while a **User** is an authentication identity that may or may not represent a **Customer**.71```7273## Rules7475- **Be opinionated.** When multiple words exist for the same concept, pick the best one and list the others as aliases to avoid.76- **Flag conflicts explicitly.** If a term is used ambiguously in the conversation, call it out in the "Flagged ambiguities" section with a clear recommendation.77- **Keep definitions tight.** One sentence max. Define what it IS, not what it does.78- **Show relationships.** Use bold term names and express cardinality where obvious.79- **Only include domain terms.** Skip generic programming concepts (array, function, endpoint) unless they have domain-specific meaning.80- **Group terms into multiple tables** when natural clusters emerge (e.g. by subdomain, lifecycle, or actor). Each group gets its own heading and table. If all terms belong to a single cohesive domain, one table is fine — don't force groupings.81- **Write an example dialogue.** A short conversation (3-5 exchanges) between a dev and a domain expert that demonstrates how the terms interact naturally. The dialogue should clarify boundaries between related concepts and show terms being used precisely.8283## Re-running8485When invoked again in the same conversation:86871. Read the existing `UBIQUITOUS_LANGUAGE.md`882. Incorporate any new terms from subsequent discussion893. Update definitions if understanding has evolved904. Mark changed entries with "(updated)" and new entries with "(new)"915. Re-flag any new ambiguities926. Rewrite the example dialogue to incorporate new terms9394## Post-output instruction9596After writing the file, state:9798> I've written/updated `UBIQUITOUS_LANGUAGE.md`. From this point forward I will use these terms consistently. If I drift from this language or you notice a term that should be added, let me know.