domain-modeling · rohitg00 — скилл для Claude Code: глоссарий домена и установка
Скилл domain-modeling собирает общий словарь предметной области и границы контекстов до написания кода, чтобы агент не пересказывал понятия своими словами. На выходе — CONTEXT.md и записи решений.
MIT ★ 2 966 обновлён 2026-09-29
/plugin marketplace add rohitg00/pro-workflow
/plugin install pro-workflow@pro-workflowЧто делает domain-modeling
Скилл прогоняет четыре шага. Сначала собирает из запроса, кода и слов заказчика существительные и глаголы, которые несут смысл домена. Потом даёт каждому определение в одну строку — на языке проекта, не из словаря. Дальше размечает границы: если одно слово в разных частях системы значит разное, это два термина, а не один. Спорные решения записываются отдельно: контекст, выбор, отвергнутые варианты, причина.
На выходе три вещи. CONTEXT.md с глоссарием: по строке на термин в формате термин - что он значит в проекте, с группировкой по контекстам. Короткий набросок границ, который читается за пятнадцать секунд. И записи решений в docs/decisions/NNNN-slug.md, но только для мест, где выбор обсуждали. Нумерация идёт от самого большого существующего файла, чтобы записи не сталкивались.
При повторном запуске скилл дописывает новые термины и правит изменившиеся определения, а не переписывает файл целиком. Переименовывать домен под свой вкус он не должен — это прямо прописано в ограничениях. Глоссарий, который перечисляет всё и не обновляется, хуже, чем никакого.
Какие задачи решает
- договориться о названиях до первой строки кода
- свести словарь домена в один
CONTEXT.md - развести термин, который в разных сервисах значит разное
- зафиксировать спорное решение по модели вместе с отвергнутыми вариантами
- остановить агента, который придумывает синонимы предметным понятиям
Примеры запросов агенту
- Собери словарь предметной области для модуля биллинга и разведи термины, которые значат разное в разных сервисах.
- Зафиксируй спорное решение по модели заказа в
docs/decisions/, прежде чем мы возьмёмся за код. - Добавь в
CONTEXT.mdновые термины из этой задачи и поправь определения, которые разошлись с кодом.
Как установить domain-modeling
1Через маркетплейс плагинов
/plugin marketplace add rohitg00/pro-workflow/plugin install pro-workflow@pro-workflowКоманда ставит плагин pro-workflow целиком, со всеми его скиллами
2Через Skills CLI (Vercel)
npx skills add rohitg00/pro-workflow --skill domain-modeling -a claude-code3Вручную: положить файлы
~/.claude/skills/domain-modeling/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/domain-modeling/
1Через Skills CLI (Vercel)
npx skills add rohitg00/pro-workflow --skill domain-modeling -a codex2Вручную: положить файлы
.agents/skills/domain-modeling/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add rohitg00/pro-workflow --skill domain-modeling -a cursor2Вручную: положить файлы
.cursor/skills/domain-modeling/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install rohitg00/pro-workflow skills/domain-modeling2Вручную: положить файлы
.github/skills/domain-modeling/SKILL.md1Через Skills CLI (Vercel)
npx skills add rohitg00/pro-workflow --skill domain-modeling -a gemini-cli2Командой платформы
gemini skills install https://github.com/rohitg00/pro-workflow --path skills/domain-modelingВручную: положить файлы
.devin/skills/domain-modeling/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о domain-modeling
Как установить domain-modeling в Claude Code?
Через маркетплейс плагинов: сначала /plugin marketplace add rohitg00/pro-workflow, затем /plugin install pro-workflow@pro-workflow.
Что делает domain-modeling?
Собирает термины домена из запроса и кода, даёт каждому короткое определение и размечает границы контекстов. Результат — глоссарий CONTEXT.md, набросок границ и записи решений по спорным местам модели.
Чем domain-modeling отличается от plan-interrogate?
Он идёт первым на новом участке работы, а plan-interrogate может вызвать его обратно, когда натыкается на неопределённый термин. CONTEXT.md у них общий: один файл, два способа в него попасть.
Исходный текст
SKILL.md · MIT
--- name: domain-modeling description: Build the project's shared language and bounded contexts before writing code, so names stay consistent and the agent stops paraphrasing domain concepts. Produces a CONTEXT.md glossary and decision records. Use at the start of a project or feature, or when the codebase and the people describing it speak different languages. user-invocable: true --- # domain-modeling Most misbuilds start as a language gap: the agent is dropped into a project and left to infer the jargon, so it uses twenty words where the domain has one. A shared language closes the gap. When code, conversation, and the model all draw from the same vocabulary, names line up, navigation gets cheaper, and the model spends fewer tokens reasoning because it has a tighter language to reason in. ## Method 1. **Harvest the terms.** From the request, the codebase, and the user's own words, list the nouns and verbs that carry domain meaning - the concepts a newcomer would have to ask about. Prefer the user's word over a synonym you like better. 2. **Pin each one.** Write a one-line definition in the project's own language, not a dictionary definition. If two terms blur together, force the distinction or collapse them - ambiguity here becomes inconsistent names in code. 3. **Draw the boundaries.** Where the same word means different things in different parts of the system, that is a boundary. Name each context and note which terms belong to it. A term that means two things is two terms. 4. **Record the hard calls.** When a modeling choice was contested or will be questioned later, write a short decision record: context, choice, alternatives rejected, why. ## Outputs - **`CONTEXT.md`** - the shared-language glossary. One term per line: `term - what it means in this project`. Grouped by bounded context when there is more than one. Point every future session at this file. On re-run, add new terms and update definitions that changed; do not rewrite the file wholesale. - **Bounded-context sketch** - the contexts and which terms live in each, short enough to read in fifteen seconds. - **Decision records** in `docs/decisions/NNNN-slug.md` for the contested modeling calls only. Read the directory first and number from the highest existing record so two records never collide. Skip the obvious ones. ## Guardrails - The glossary is for the model as much as the human - write it to be loaded, not framed on a wall. - Do not invent terms the project does not use. Reflect the domain; do not rename it. - Keep it small and current. A glossary that lists everything and updates nothing is worse than none. Prune terms that fall out of use. ## Where it fits Run this before `plan-interrogate` on a new area, or let `plan-interrogate` call back here when it hits terms it cannot pin. The `CONTEXT.md` this produces is the same file `plan-interrogate` emits - one shared-language artifact, two ways in.
© Rohit Ghumare · MIT · rohitg00/pro-workflow
Похожие скиллы
Все скиллы по теме «Настройка агента: память, контекст, субагенты» →Сначала — domain-modeling от других авторов.