domain-modeling
Skill0 starsChanged 20 days agoMITView on GitHub
Sharpens the <app> domain model: challenges conflicting terms, resolves the vocabulary into the project glossary, and records the decisions that deserve an ADR.
198 other projects use a version of this.
Adopted by
Most recently taken up by
- quarkiverse/quarkus-reactive-messaging-nats-jetstreamtheir own version, first seen Nov 30, 2026
- Rain-kl/OpenFlaretheir own version, first seen Nov 30, 2026
- Forget-C/Jellyfishtheir own version, first seen Nov 29, 2026
- ctaxnagomi/agent-kd-skilltheir own version, first seen Nov 29, 2026
- fedemelo/agent-configtheir own version, first seen Nov 29, 2026
- alexnthnz/keeltheir own version, first seen Nov 29, 2026
Used with
Projects with it also use decision-mapping, setup-ts-deep-modules 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.
FabienDehopreSkilldecision-mapping
Turn a loose idea into a sequenced map of investigation tickets, then drive them to resolution one at a time.
Also in 8 projects that use this
liufeng1976Skillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 54 projects that use this
LesaniSkillwriting-beats
Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.
Also in 76 projects that use this
AWSSkillwizard
Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.
Also in 166 projects that use this
LesaniSkillwriting-shape
Take a markdown file of raw material and shape it into an article through a conversational session — drafting candidate openings, growing the piece paragraph by paragraph, arguing about format (lists, tables, callouts, quotes) at each step. Use when the user has a pile of notes, fragments, or a rough draft and wants help turning it into something publishable.
Also in 74 projects that use this
RoentekSkillloop-me
Grill me about specs for the workflows I want to build, within this workspace.
Also in 66 projects that use this
- +1 more from Lesani
Other versions198 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 198
- mattpocock/skills★ 335ksame name
- QuivrHQ/quivr★ 40ksame name
- The-Vibe-Company/quivr★ 40ksame name
- windmill-labs/windmill★ 19ksame name
- GreyDGL/PentestGPT★ 16ksame name
- formbricks/formbricks★ 13ksame name
- mdiri-ai/SoduWork★ 9.1ksame name
- Forget-C/Jellyfish★ 7.5ksame name
- ArcReel/ArcReel★ 6.8ksame name
- vinvcn/mattpocock-skills-zh-CN★ 6.2ksame name
188 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- add-linux-packagingSkill
- add-sliceSkill
- add-viewSkill
- claim-checkSkill
- clean-room-rebuildSkill
- corpus-retrievalSkill
- diagnosing-bugsSkill
- graphifySkill
- grillingSkill
- learnSkill
- planSkill
- platform-portSkill
- researchSkill
- reviewSkill
- shipSkill
- specSkill
- tddSkill
- verified-statusSkill
- visual-reviewSkill
- qt-best-practicesSkill
- qt-portSkill
- qt-reviewSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 186 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Do NOT activate this skill when:
- Distinctive: line 36
Only context-specific terms belong.
- Distinctive: line 45
Update the glossary inline as terms resolve.
- Distinctive: line 47
Call out a conflict with the existing glossary immediately: name the existing definition and the new meaning, then ask which is intended.
- Very specific: line 53
Create files lazily: the glossary when the first term is resolved, docs/adr/ when the first ADR is needed.
- Distinctive: line 58
Write an ADR only when all three hold: hard to reverse, surprising without context, and the result of a real trade-off.
- Distinctive: line 64
Never invent a term the requester did not use or the code does not support.
“Common” is measured: kept by at least 6 in 10 of the 186 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.
Files
<app> Domain Modeling skill
Reusable workflow for changing the
<app>domain model, not just reading it. An agent invokes this skill; the requester supplies the vocabulary, the skill supplies the discipline.
When to Activate
Activate this skill when the <app> domain language is in question: a term is
ambiguous or overloaded, a requester describes behavior the code contradicts,
a glossary entry needs writing or correcting, or a decision has been made
that a future reader would puzzle over.
Do NOT activate this skill when:
- The request is only to read existing vocabulary (one grep of the glossary is enough).
- The request is to add or change a test (use
tdd). - The request is to review a diff for correctness (use
review).
Core Principles
- Changing the model is active work: challenge the term, propose a precise canonical word, and record the resolution the moment it crystallises.
- One word per concept. Pick the best name and list the rejected ones under
_Avoid_, so the vocabulary does not fork. - The glossary holds domain language and nothing else: no implementation detail, no spec, no scratch pad.
- Definitions say what a thing IS, not what it does. One or two sentences.
- Only context-specific terms belong. Generic programming vocabulary (timeouts, error types, util patterns) stays out even when the project uses it heavily.
- The code is evidence. When the requester describes behavior, check the code and surface the contradiction instead of silently picking a side.
- ADRs are offered sparingly. Most decisions are not worth a file.
Rules
- Update the glossary inline as terms resolve. Do not batch the writes to the end of the session.
- Call out a conflict with the existing glossary immediately: name the existing definition and the new meaning, then ask which is intended.
- For a fuzzy or overloaded term, propose one canonical term and its
_Avoid_list rather than leaving both words alive. - Stress-test relationships with concrete scenarios that probe edge cases and force the boundaries between concepts to be stated.
- Create files lazily: the glossary when the first term is resolved,
docs/adr/when the first ADR is needed. Never create empty scaffolding. - A single-context repo keeps one glossary at the root. A multi-context repo
keeps a root
GLOSSARY-MAP.mdpointing at each context's glossary and ADR folder, plus the relationships between the contexts. - Write an ADR only when all three hold: hard to reverse, surprising without context, and the result of a real trade-off. If one is missing, skip the ADR and say which one was missing.
- An ADR is one short paragraph: context, decision, reason. Optional
sections (status, considered options, consequences) only when they earn
their place. Number sequentially in
docs/adr/NNNN-slug.md. - Never invent a term the requester did not use or the code does not support.
Research References
| Claim | Source | Year | Link |
Glossary terms carry an _Avoid_ list and define what a thing IS | mattpocock/skills, skills/engineering/domain-modeling/GLOSSARY-FORMAT.md | 2026 | skills/engineering/domain-modeling/GLOSSARY-FORMAT.md |
| An ADR is warranted only when hard to reverse, surprising, and a real trade-off | mattpocock/skills, skills/engineering/domain-modeling/ADR-FORMAT.md | 2026 | skills/engineering/domain-modeling/ADR-FORMAT.md |
| The active discipline: challenge terms, sharpen language, cross-reference the code | mattpocock/skills, skills/engineering/domain-modeling/SKILL.md | 2026 | skills/engineering/domain-modeling/SKILL.md |
| The layer law that gives the domain its vocabulary | PLAYBOOK_DESKTOP_QT.md §3 | - | PLAYBOOK_DESKTOP_QT.md |
| Where the ADRs of this repo live | docs/adr/ | - | docs/adr/ |
Output Format
Deliver, in order:
- The resolved terms: canonical term, its definition, and the
_Avoid_list. - The glossary update, written inline.
- The ADR, or the reason none was written (which of the three conditions was missing).
- Open questions: terms that are still ambiguous and need a decision from the requester.
Example:
domain-modeling: "cancellation" is now canonical for a full Order cancel;
"Avoid: refund, void". Partial cancellation is a different concept and has
no term yet. ADR skipped: the refund policy choice is easy to reverse.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
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.

