domain-modeling
Skill1 starsChanged 2 months agoMITView on GitHub
Sharpen a repo's domain language — challenge fuzzy terms, and write its CONTEXT.md glossary and ADRs. Triggers — "what should we call this", "these two words mean the same thing", "record this decision", "write an ADR".
171 other projects use a version of this, 133 of them edited.
Adopted by
Most recently taken up by
- mattpocock/skillsedited, first seen Oct 8, 2026
- BUGLAN/skillstheir own version, first seen Oct 6, 2026
- AlexisBalayre/claude-code-configedited, first seen Oct 5, 2026
- KroxiDev/engineering-skillstheir own version, first seen Oct 5, 2026
- gordon1210/reposcoutedited, first seen Oct 4, 2026
- michielvandermeer/skillsedited, first seen Oct 4, 2026
Used with
Projects with it also use writing-beats, 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.
RoentekSkillwriting-beats
Writing, exploit — assemble raw material into a journey of beats, grounding each term before a beat leans on it.
Also in 24 projects that use this
loulanyueSkillsetup-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 16 projects that use this
risadamsSkillwhich-skill
Router over this pack's skills and flows. Ask it "which skill fits X" when you don't remember what's available.
Also in 5 projects that use this
RoentekSkillwriting-shape
Writing, exploit — shape raw material into an article, paragraph by paragraph.
Also in 22 projects that use this
pahwarangerSkillsetup-skills
Sets up an `## Agent skills` block in AGENTS.md/CLAUDE.md and `docs/agents/` so the engineering skills know this repo's ticket tracker (GitHub or local markdown), triage label vocabulary, and domain doc layout. Run before first use of `to-tickets`, `to-prd`, `triage`, `diagnose`, `tdd`, `improve-codebase-architecture`, or `zoom-out` — or if those skills appear to be missing context about the ticket tracker, triage labels, or domain docs.
Also in 7 projects that use this
qwlabsSkillclaude-handoff
Hand the current conversation off to a fresh background agent that picks up the work immediately.
Also in 17 projects that use this
- +2 more from Roentek
Other versions171 projects use a version of this.
Word for word · 0
None found.
Edited · 133
- mattpocock/skills★ 335k17% same
- vinvcn/mattpocock-skills-zh-CN★ 4.6k18% same
- nodetool-ai/nodetool★ 55119% same
- mxyhi/ok-skills★ 49217% same
- aws/graph-explorer★ 48417% same
- Tiberriver256/mcp-server-azure-devops★ 39318% same
- bighadj22/codflow★ 33818% same
- ninehills/skills★ 28018% same
- loulanyue/skills★ 23118% same
- tt-a1i/matt-skills-with-to-goal★ 18218% same
123 more not listed
Wrote their own version · 38
- rohitg00/pro-workflow★ 2.9ksame name
- stevesolun/ctx★ 588same name
- devcxl/mattpocock-skills-zh★ 426same name
- proflead/codex-skills-library★ 153same name
- etr/groundwork★ 43same name
- leandrocfe/skills★ 38same name
- nimadorostkar/Claude-Skills-collection★ 28same name
- oribarilan/97★ 24same name
- aethrox/doctrine★ 18same name
- helderberto/agent-skills★ 16same name
28 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 repository50 other files it gives its agents.
- AGENTS.mdAGENTS.md
- core/AGENTS.mdAGENTS.md
- index/AGENTS.mdAGENTS.md
- mcp/AGENTS.mdAGENTS.md
- tools/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- analyze-specSkill
- auditSkill
- captureSkill
- catch-me-upSkill
- connect-brainSkill
- cortex-auditSkill
- cortex-briefSkill
- cortex-enrichSkill
- cortex-impactSkill
- cortex-installSkill
- cortex-nextSkill
- cortex-profileSkill
- cortex-reviewSkill
- cortex-scaffoldSkill
- cortexSkill
- cortex-skillsSkill
- cortex-viewSkill
- dailySkill
- diagnosing-bugsSkill
- dreamSkill
- grillingSkill
- handoffSkill
- improve-codebase-architectureSkill
- install-projectSkill
- level-upSkill
- migrate-engineSkill
- onboardSkill
- optimize-contextSkill
- optimize-promptSkill
- plugin-syncSkill
- reindexSkill
- resolving-merge-conflictsSkill
- resumeSkill
- scan-projectsSkill
- setup-pluginsSkill
- shipSkill
- site-syncSkill
- skill-auditSkill
- skill-creatorSkill
- team-addSkill
- team-initSkill
- weekly-reviewSkill
- wizardSkill
- writing-for-agentsSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 160 edited versions we read keep these.
4
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
- Very specific: line 40
If CONTEXT-MAP.md exists, the repo has multiple contexts and each lives beside its own code (src/ordering/CONTEXT.md).
- Distinctive: line 45
Challenge against the glossary: When a term conflicts with what's already written, say so immediately — "your glossary defines …
- Distinctive: line 51
Stress-test with scenarios: When relationships are being discussed, invent concrete edge cases that force precision about where one concept …
- Distinctive: line 54
Cross-reference with the code: When the user states how something works, check whether the code agrees.
- Very specific: line 61
Keep it a glossary. CONTEXT.md is totally devoid of implementation detail — not a spec, not a scratchpad, not a home for decisions.
- Distinctive: line 67
Only when all three are true:
“Common” is measured: kept by at least 6 in 10 of the 160 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
/domain-modeling — name things once, argue about them never again
Two words for one concept is how a codebase rots. This ritual is the active discipline of fixing that: challenging terms, inventing edge cases that force precision, and writing the result down the moment it settles. Merely reading a glossary for vocabulary is not this skill — that's a one-line habit any ritual can do. Reach for this when you're changing the model.
Pairs with [[codebase-design]] (which names the shape of code) the way a glossary pairs with a
blueprint. /install-project stamps the brain; this ritual sharpens the language inside it.
Two different "context" — don't confuse them
| Lives | Holds | |
the vault's context/ | this repo, gitignored | who the user is — priorities, values, how they work |
a repo's CONTEXT.md | the target repo, committed | what its words mean — a glossary, nothing else |
This ritual only ever writes the second. It never touches context/ here, and it never carries
employer or client vocabulary back into this vault — that's the firewall, not a style preference.
Where things go, in the target repo
CONTEXT.md <- the glossary (root; most repos need only this one)
CONTEXT-MAP.md <- only if the repo has several bounded contexts
docs/adr/0001-*.md <- decisions worth remembering (adr/ when docs/ is a published site)Create files lazily — only when there's something to write. No CONTEXT.md until the first
term is actually resolved; no docs/adr/ until the first ADR earns its place. An empty glossary
is worse than none: it looks maintained.
If CONTEXT-MAP.md exists, the repo has multiple contexts and each lives beside its own code
(src/ordering/CONTEXT.md). Infer which one the current topic belongs to; ask if it's unclear.
During the session
Challenge against the glossary. When a term conflicts with what's already written, say so immediately — "your glossary defines cancellation as X, but you mean Y — which is it?"
Sharpen fuzzy language. Propose a precise canonical term for vague or overloaded ones. "You're saying account — do you mean the Customer or the User? Those are different things."
Stress-test with scenarios. When relationships are being discussed, invent concrete edge cases that force precision about where one concept ends and the next begins.
Cross-reference with the code. When the user states how something works, check whether the code agrees. Surface contradictions: "your code cancels whole Orders, but you just said partial cancellation is possible — which is right?"
Update CONTEXT.md inline. The moment a term resolves, write it. Don't batch — batched
glossary updates never happen. Format: CONTEXT-FORMAT.md.
Keep it a glossary. CONTEXT.md is totally devoid of implementation detail — not a spec, not
a scratchpad, not a home for decisions. Only terms specific to this domain; general programming
concepts don't belong however heavily the project uses them.
Offer ADRs sparingly
Only when all three are true:
- Hard to reverse — changing your mind later actually costs something.
- Surprising without context — a future reader will wonder "why on earth did they do it this way?"
- The result of a real trade-off — there were genuine alternatives and one was picked for specific reasons.
Miss any one and skip it. Easy to reverse? You'll just reverse it. Not surprising? Nobody will wonder. No real alternative? There's nothing to record beyond "we did the obvious thing."
Format and the qualifying categories: ADR-FORMAT.md. Note that a repo's ADRs are
not the vault's decisions/log.md — that one is the user's personal decisions, and it stays
here.
Adapted from mattpocock/skills (MIT). CONTEXT-FORMAT.md
and ADR-FORMAT.md are vendored; the two-contexts warning and firewall rules are Cortex additions.
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.

