agentleFS
Future-CXFuture-CX/AI-Architecture-Toolkit/skills/ubiquitous-language/SKILL.md

ubiquitous-language

Skill8 starsChanged 6 months agoMITView on GitHub

Extract a DDD-style ubiquitous language glossary from the current conversation, flagging ambiguities and proposing canonical terms. Saves to GLOSSARY.md. Use when user wants to define domain terms, build a glossary, harden terminology, create a ubiquitous language, or mentions "domain model" or "DDD".

63 other projects use a version of this, 50 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use request-refactor-plan, edit-article and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • simo97Skill

    request-refactor-plan

    Use this skill when user wants to create a refactor plan.

    Also in 40 projects that use this

  • simo97Skill

    edit-article

    The user will invoke this skill to help them edit an article.

    Also in 34 projects that use this

  • AnasX7Skill

    scaffold-exercises

    Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.

    Also in 29 projects that use this

  • HK-hubSkill

    prd-to-plan

    Turn a PRD into a multi-phase implementation plan using tracer-bullet vertical slices, saved as a local Markdown file in ./plans/. Use when user wants to break down a PRD, create an implementation plan, plan phases from a PRD, or mentions "tracer bullets".

    Also in 9 projects that use this

  • boyingliu01Skill

    batch-grill-me

    A relentless interview that asks every frontier question at once, round by round. Thin alias of `grilling` (#540) — upstream mattpocock/skills absorbed this protocol into grilling; XP-Gate keeps this name as the sprint-flow Phase 2 entry point so orchestration docs stay stable.

    Also in 5 projects that use this

  • AnasX7Skill

    setup-pre-commit

    Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.

    Also in 37 projects that use this

  • +4 more from simo97

The file

We split this skill into the rules it gives an agent

8 rules. 6 are common, 0 are distinctive, and 2 are very specific to this project.

  • 6

    Common

    Most of the 59 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Write a GLOSSARY.md file with this structure:

    line 26
  2. Common:

    Be opinionated: When multiple words exist for the same concept, pick the best one and list the others as aliases to avoid.

    line 91
  3. Common:

    Flag conflicts explicitly: If a term is used ambiguously in the conversation, call it out in the "Flagged ambiguities" section with a clear …

    line 93
  4. Common:

    Show relationships: Use bold term names and express cardinality where obvious.

    line 96
  5. Common:

    Group terms into multiple tables: when natural clusters emerge (e.g.

    line 101
  6. Common:

    When invoked again in the same conversation:

    line 109
  7. Very specific:

    Read the existing GLOSSARY.md

    line 111
  8. Common:

    Update definitions if understanding has evolved

    line 113

“Common” is measured: kept by at least 6 in 10 of the 59 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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, concepts, and known applications
  2. Identify problems:
    • Same word used for different concepts (ambiguity)
    • Different words used for the same concept (synonyms)
    • Vague or overloaded terms
    • Jargon, deprecated terms, vendor-specific labels, or words the team wants to avoid
  3. Propose a canonical glossary with opinionated term choices
  4. Write to GLOSSARY.md in the working directory using the format below
  5. Maintain the table of contents immediately below # Glossary
  6. Output a summary inline in the conversation

Output Format

Write a GLOSSARY.md file with this structure:

# Glossary

## Table of Contents

- [Order lifecycle](#order-lifecycle)
- [People](#people)
- [Applications](#applications)
- [Data objects](#data-objects)
- [Relationships](#relationships)
- [Jargon](#jargon)
- [Flagged ambiguities](#flagged-ambiguities)

## Order lifecycle

| Term        | Definition                                                                             | Aliases to avoid      |
| ----------- | -------------------------------------------------------------------------------------- | --------------------- |
| **Invoice** | A request for payment sent to a customer after delivery<br>- Billing: Billing Document | Bill, payment request |
| **Order**   | A customer's request to purchase one or more items<br>- ERP: Sales Order               | Purchase, transaction |

## People

| Term         | Definition                                                                   | Aliases to avoid       |
| ------------ | ---------------------------------------------------------------------------- | ---------------------- |
| **Customer** | A person or organization that places orders<br>- Commerce Platform: B2B Unit | Client, buyer, account |
| **User**     | An authentication identity in the system<br>- Commerce Platform: Customer    | Login, account         |

## Applications

| Application           | Definition                                                        | Capabilities and functions delivered                                                                                                                |
| --------------------- | ----------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Commerce Platform** | Application used to manage digital commerce interactions.         | Customer Management, Product Catalog, Order Capture<br>- Manage B2B units<br>- Maintain customer accounts<br>- Publish articles<br>- Capture orders |
| **ERP**               | System of record for core operational and financial transactions. | Order Management, Inventory Management, Financial Accounting<br>- Maintain sales orders<br>- Manage stock positions<br>- Post invoices              |

## Data objects

| Data object      | Definition                                                      | Owner or source of truth |
| ---------------- | --------------------------------------------------------------- | ------------------------ |
| **Availability** | Structured information representing whether something can sell. | Inventory Management     |
| **Customer**     | Structured information representing a person or organization.   | CRM                      |
| **Order**        | Structured information representing a customer's purchase.      | ERP                      |
| **Price**        | Structured information representing the amount charged.         | Pricing                  |
| **Product**      | Structured information representing an item offered for sale.   | Product Management       |

## Relationships

- An **Invoice** belongs to exactly one **Customer**
- An **Order** produces one or more **Invoices**

## Jargon

| Avoid this term | Preferred term | Reason |
| --------------- | -------------- | ------ |
| client          | **Customer**   | "Client" is used inconsistently for both customer organizations and API consumers. |
| user account    | **User**       | "User account" mixes authentication identity with customer or account ownership. |

## 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.
  • Maintain a Jargon section. Capture words, phrases, vendor labels, acronyms, deprecated names, and overloaded terms the team should avoid in a dedicated ## Jargon section. Use columns for Avoid this term, Preferred term, and Reason. The preferred term should link to or exactly match a canonical glossary term when possible. Use this section for broader "do not use this wording" guidance; use table-level Aliases to avoid for term-specific aliases.
  • 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.
  • Maintain a table of contents. Every time GLOSSARY.md is created or updated, rebuild the ## Table of Contents section immediately below # Glossary. Include every main glossary section heading below the title, excluding ## Table of Contents itself. Keep ToC entries in the same order as the sections appear in the document and link to the Markdown anchor, e.g. [Data objects](#data-objects).
  • Sort Jargon rows alphabetically. In the ## Jargon table, sort rows alphabetically by Avoid this term, ignoring case.
  • Sort rows alphabetically. In every glossary table, sort rows alphabetically by the value in the first column, ignoring Markdown bold markers and case.
  • 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.
  • Maintain an Applications section. List known applications in a dedicated ## Applications section using columns for Application, Definition, and Capabilities and functions delivered. Keep application definitions short and business-facing. Use the combined delivery column to name supported business capabilities first, followed by dash-prefixed concrete functions the application performs.
  • Maintain a Data objects section when data objects are discussed. List data objects in a dedicated ## Data objects section using columns for Data object, Definition, and Owner or source of truth. Keep data objects general and canonical, using business-level names such as Product, Customer, User, Order, Price, and Availability. Do not create application-specific data objects such as SAP Material, Commerce Product, CRM Account, ERP Sales Order, or API/resource/table names. Capture application-specific names as mappings on the canonical term when useful.
  • Map application-owned terms to canonical terms. When an application uses its own name for an existing domain object, do not create a separate glossary term. Add it inside the canonical term's Definition cell after the definition sentence as a dash-prefixed entry, using the format <br>- <Application>: <Application-owned term>. For example, if the canonical term is Customer and an application calls it B2B Unit, add <br>- Commerce Platform: B2B Unit inside the Customer definition.
  • Use application-owned terms only as mappings. Application-owned terms explain translation between systems and domain language; they are not canonical terms unless the business also uses them as the shared domain term.

Re-running

When invoked again in the same conversation:

  1. Read the existing GLOSSARY.md
  2. Incorporate any new terms from subsequent discussion
  3. Update definitions if understanding has evolved
  4. Re-flag any new ambiguities
  5. Rebuild the ## Table of Contents section from the current main section headings

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.