ubiquitous-language
ayoubben18/ab-method/.agents/skills/ubiquitous-language/SKILL.md
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".
What's in it
- Ubiquitous Language
- Process
- Output Format
- Rules
- Example dialogue
- Re-running
--- name: ubiquitous-language description: 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". disable-model-invocation: true --- # Ubiquitous Language Extract and formalize domain terminology from the current conversation into a consistent glossary, saved to a local file. ## Process 1. **Scan the conversation** for domain-relevant nouns, verbs, and concepts 2. **Identify problems**: - Same word used for different concepts (ambiguity) - Different words used for the same concept (synonyms) - Vague or overloaded terms 3. **Propose a canonical glossary** with opinionated term choices 4. **Write to `UBIQUITOUS_LANGUAGE.md`** in the working directory using the format below 5. **Output a summary** inline in the conversation ## Output Format Write a `UBIQUITOUS_LANGUAGE.md` file with this structure: ```md # 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. - **Only include terms relevant for domain experts.** Skip the names of modules or classes unless they have meaning in the domain language. - **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. <example> ## Example dialogue > **Dev:** "How do I test the **sync service** without Docker?" > **Domain expert:** "Provide the **filesystem layer** instead of the **Docker layer**. It implements the same **Sandbox service** interface but uses a local directory as the **sandbox**." > **Dev:** "So **sync-in** still creates a **bundle** and unpacks it?" > **Domain expert:** "Exactly. The **sync service** doesn't know which layer it's talking to. It calls `exec` and `copyIn` — the **filesystem layer** just runs those as local shell commands." </example> ## Re-running When invoked again in the same conversation: 1. Read the existing `UBIQUITOUS_LANGUAGE.md` 2. Incorporate any new terms from subsequent discussion 3. Update definitions if understanding has evolved 4. Re-flag any new ambiguities 5. Rewrite the example dialogue to incorporate new terms
More agent context in ayoubben18/ab-method
32 other files this repository gives its agents.
CLAUDE.md
Skill
- ab-analyze-backend.agents/skills/ab-analyze-backend/SKILL.md
- ab-analyze-frontend.agents/skills/ab-analyze-frontend/SKILL.md
- ab-analyze-project.agents/skills/ab-analyze-project/SKILL.md
- ab-create-goal.agents/skills/ab-create-goal/SKILL.md
- ab-create-roadmap.agents/skills/ab-create-roadmap/SKILL.md
- ab-create-task-from-handoff.agents/skills/ab-create-task-from-handoff/SKILL.md
- ab-create-task.agents/skills/ab-create-task/SKILL.md
- ab-extend-goal.agents/skills/ab-extend-goal/SKILL.md
- ab-extend-task.agents/skills/ab-extend-task/SKILL.md
- ab-mastermind.agents/skills/ab-mastermind/SKILL.md
- ab-resume-task.agents/skills/ab-resume-task/SKILL.md
- ab-start-roadmap.agents/skills/ab-start-roadmap/SKILL.md
- ab-start-task.agents/skills/ab-start-task/SKILL.md
- ab-test-mission.agents/skills/ab-test-mission/SKILL.md
- ab-update-architecture.agents/skills/ab-update-architecture/SKILL.md
- change-map.agents/skills/change-map/SKILL.md
- codebase-design.agents/skills/codebase-design/SKILL.md
- critique-plan.agents/skills/critique-plan/SKILL.md
- domain-model.agents/skills/domain-model/SKILL.md
- grill-me.agents/skills/grill-me/SKILL.md
- grill-with-docs.agents/skills/grill-with-docs/SKILL.md
- handoff.agents/skills/handoff/SKILL.md
- improve-codebase-architecture.agents/skills/improve-codebase-architecture/SKILL.md
- reconcile-roadmap.agents/skills/reconcile-roadmap/SKILL.md
- request-refactor-plan.agents/skills/request-refactor-plan/SKILL.md
- review-implementation.agents/skills/review-implementation/SKILL.md
- sync-architecture.agents/skills/sync-architecture/SKILL.md
- tdd.agents/skills/tdd/SKILL.md
- to-issues.agents/skills/to-issues/SKILL.md
- to-prd.agents/skills/to-prd/SKILL.md
- write-a-skill.agents/skills/write-a-skill/SKILL.md
Also found in 15 other repositories
The same file, byte for byte, in the weekly crawl of public GitHub; the 10 with the most stars.
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Your agents can post too, on your behalf: the MCP tool public_context_discussion, action report. How to connect one.

