Логотип Ubiquitous Language

Ubiquitous Language

Сообщество
citypaul
ubiquitous-language

One ubiquitous language per bounded context, with a repository-declared glossary as the naming authority and explicit decisions for language changes. Covers the five-step language protocol (detect, propose, decide, record, rename), optional glossary-driven lint ratchets, and safe context-wide renames. Use when naming domain concepts, when a term is missing from or fights the glossary, when spotting synonyms or near-duplicates, when bootstrapping a glossary, or when renaming across a bounded context. For DDD building blocks see domain-driven-design; for acceptance-DSL vocabulary use the project's relevant installed skill.

Add to TypingMind

Обзор

Издательcitypaul
Репозиторий.dotfiles
Название навыкаubiquitous-language
Звёзды
740
Форки
96
Файлы в комплекте
2
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 2

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — citypaul. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Ubiquitous Language в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/citypaul/.dotfiles/tree/main/claude/.claude/skills/ubiquitous-language
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/citypaul/.dotfiles.git /tmp/.dotfiles
mkdir -p .claude/skills
cp -r /tmp/.dotfiles/claude/.claude/skills/ubiquitous-language .claude/skills/ubiquitous-language
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Ubiquitous Language в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Ubiquitous Language, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Ubiquitous Language не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Ubiquitous Language: Evolution by Decision, Never Drift

A change in the language is a change to the model (Evans). One ubiquitous language per bounded context — apply a single language to a whole enterprise and you will fail (Vernon). This skill makes the repository's declared glossary the naming authority. The language is expected to evolve, but only through an explicit, recorded decision.

The documented agent failure mode this kills: terminology drift — processUserData vs processUserInfo near-duplicates, "booking" quietly becoming "reservation" mid-feature. Prompt-level glossaries steer; deterministic gates enforce.

ResourceLoad when...
resources/language-protocol.mdA term is missing, awkward, or duplicated — running the five steps and recording model-changing decisions
resources/glossary-format.mdCreating or editing a glossary — repository schema, optional Contextive example, context scoping, aliases, bootstrap paths

Where the Language Lives

  1. The declared glossary is the naming authority for its bounded context. Canonical spelling and capitalization matter whenever the concept is named. Use the repository's chosen file location and schema; do not impose a different glossary format.
  2. Domain code and executable examples consume and exercise that language. Identifiers, branded types, DSL verbs, and test titles should use the canonical terms.
  3. The rest of the maintained system propagates approved terms through schemas, APIs, documentation, diagrams, fixtures, and generated clients. Public wire vocabulary may need deliberate versioning even after an internal rename.
  4. Speech, plans, research, comments, historical documents, and existing code expose candidate vocabulary and possible drift. They are evidence for a proposal, not authority that can silently canonize a term.

Absence from the glossary means not yet agreed. It does not automatically approve or forbid a word.

Working names must be visibly provisional and name how they will be ratified or replaced. Do not let a placeholder spread as if it were approved language.

The Language Protocol (the centrepiece)

Silent evolution is forbidden. Every new, changed, or suspect domain term runs five steps — full guidance in resources/language-protocol.md:

  1. DETECT — you need a term the glossary lacks; you spot a synonym or near-duplicate (one word per concept; two phrases must mean two concepts); a term feels awkward in conversation; or a targeted identifier lint flags an unknown domain word. A missing term is not yet agreed.
  2. PROPOSE — never adopt. STOP and present to the human: the term, a proposed definition, the bounded context, an example sentence, and the alternatives considered. Use the host's structured question mechanism when available; otherwise ask one concise plain-text question with a recommendation. An agent never coins a domain term silently.
  3. DECIDE — the human approves, renames, or rejects. Cheap because it's one term at a time with a recommendation.
  4. RECORD — glossary entry added or updated in the same reviewable change; rejected or replaced aliases point to the owning bounded context and canonical term. Renames that change the model, not just a label, use the repository's decision-record mechanism; routine additions need only the glossary diff.
  5. RENAME — in that order: decision first, then refactor code, tests, and glossary together in one reviewable change. Boundary rule: rename freely inside the bounded context; the published language at context boundaries — APIs, events, schemas — is versioned deliberately, never casually renamed.

Mechanical Enforcement

Where a mechanical enforcement layer is installed (lint rules generated from the glossary), it runs inside the agent's loop, scoped to domain paths — and enforces:

  • Project-declared vocabulary smells — a repository may choose to flag vague suffixes such as Manager, Helper, or Impl in selected domain paths. Treat them as prompts for review, never universal bans: a canonical glossary term overrides a generic smell list.
  • Glossary-driven identifier check (the flagship, novel-in-TypeScript rule) — split identifiers into words; validate domain words against the context's glossary using token classes: glossary terms / deprecated aliases (flagged with their replacement) / path-scoped technical stopwords / exempt framework identifiers.
  • Test-title check — titles validated against the glossary; deprecated aliases rejected naming the canonical replacement.
  • DSL vocabulary check — a new acceptance-DSL verb either exists in the glossary or triggers the protocol.
  • Context-scoped aliases and forms — validate aliases within their owning context; enforce canonical case, plurals, identifier forms, and public wire names where the glossary declares them.
  • Language scope only — delegate architecture and dependency enforcement to domain-driven-design, hexagonal-architecture, and structure-codebase; do not smuggle structural policy into a vocabulary lint.

Every rule teaches: three-part messages — what fired, why the rule exists, what to do instead, with a skill pointer. A gate with no exit invites bypass, so the documented-exception process (justified in the PR, recorded) stays open.

Enforcement status: until a generated lint layer or equivalent gate is installed in the project, everything here is convention — say so; never imply protection that isn't there. Even when the command is green, report its configured paths and token classes: a targeted ratchet is not proof that every prose passage and identifier uses the ubiquitous language correctly.

Every language guard needs a positive control: a fixture or focused test that introduces known-forbidden vocabulary and proves the guard fails with the owning context and canonical replacement. Scanning the current tree and finding nothing proves only that the scanner completed.

The Adoption Spectrum

  • Greenfield — start with the glossary and the smallest useful positive-control guard; add enforcement only where it catches a demonstrated drift risk.
  • Brownfield — the protected-core ratchet. A rule that fires thousands of times on day one will be bypassed. Start with one capability or bounded context, enforce its domain/application boundary, and expand as work touches adjacent behavior. Pre-existing violations may freeze in a baseline whose counter only goes down. The glossary can roll out warn-first and diff-scoped, with its limited scope stated explicitly.
  • Spikes — treat vocabulary as provisional and route it through the protocol before promotion into maintained code. Follow the repository's existing spike or experimental-code policy rather than inventing a global marker.

Boundaries

SituationSkill
Value objects, entities, aggregates, bounded contextsdomain-driven-design
Ports/adapters structure the arch rules enforcehexagonal-architecture
DSL and test-title vocabulary in the outer loopThe project's acceptance/specification skill
Recording a model-changing renameThe repository's decision-record mechanism
Naming questions during discoveryThe host's available question mechanism

Verification Checklist

  • One repository-declared glossary authority per bounded context
  • The repository's declared glossary format and location are preserved
  • Canonical spelling and capitalization are used when naming declared concepts
  • Missing terms are treated as not yet agreed
  • No domain term coined without the five-step protocol — proposals presented, never adopted silently
  • Glossary diff rides the same reviewable change as the code that introduces the vocabulary
  • Replaced terms recorded as deprecated aliases with replacements
  • Rejected aliases point to the owning bounded context and canonical term
  • Model-changing renames use the repository's decision-record mechanism
  • Published language at context boundaries versioned, never casually renamed
  • Approved terms propagated through code, types, schemas, APIs, tests, docs, diagrams, fixtures, and generated clients in scope
  • Working names are visibly provisional with a ratification or replacement path
  • Alias and word-form checks are scoped to their owning bounded context
  • Lint rules carry three-part teaching messages
  • Green lint results are reported as targeted ratchets, not whole-repository language proof
  • Positive controls prove forbidden vocabulary is detected
  • Brownfield enforcement is scoped, its baseline does not grow silently, and its limits are reported
  • Provisional spike vocabulary is ratified or replaced before promotion

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Ubiquitous Language?

One ubiquitous language per bounded context, with a repository-declared glossary as the naming authority and explicit decisions for language changes. Covers the five-step language protocol (detect, propose, decide, record, rename), optional glossary-driven lint ratchets, and safe context-wide renames. Use when naming domain concepts, when a term is missing from or fights the glossary, when spotting synonyms or near-duplicates, when bootstrapping a glossary, or when renaming across a bounded context. For DDD building blocks see domain-driven-design; for acceptance-DSL vocabulary use the proj...

Зачем использовать Ubiquitous Language в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Ubiquitous Language — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Ubiquitous Language в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/citypaul/.dotfiles/tree/main/claude/.claude/skills/ubiquitous-language. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Ubiquitous Language?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Ubiquitous Language?

С любым количеством. В TypingMind вы можете использовать Ubiquitous Language с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Ubiquitous Language?

Навык опубликован на GitHub. Издатель — citypaul. Условия лицензии можно найти в репозитории. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все
Логотип affaan-m

Plan Canvas

affaan-m
СообществоПопулярный

Открывайте планы и HTML-артефакты в локальном браузерном холсте: пользователь может оставлять пометки на элементах, общаться и одобрять результат или запрашивать изменения, не покидая страницу. Используйте, когда нужно представить план на проверку или…

40.4K
270.2K
Файлы: 1
Открыть
Логотип mattpocock

Improve Codebase Architecture

mattpocock
СообществоПопулярный

Просканируйте кодовую базу в поисках возможностей для дальнейшего развития, представьте их в виде наглядного HTML-отчёта, а затем тщательно разберите выбранный вами вариант.

22.3K
264.4K
Файлы: 2
Открыть
Логотип mattpocock

Grilling

mattpocock
СообществоПопулярный

Неустанно расспрашивайте пользователя о плане, решении или идее, подвергая их жесткой проверке. Используйте, если пользователь хочет проверить свои рассуждения на прочность или использует любую из фраз-триггеров со словом «grill».

22.3K
264.4K
Файлы: 1
Открыть
Логотип mattpocock

Teach

mattpocock
СообществоПопулярный

Научите пользователя новому навыку или концепции в рамках этого рабочего пространства.

22.3K
264.4K
Файлы: 5
Открыть

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇