domain-modeling
Skill1 starsChanged 8 days agoMITView on GitHub
Resolve domain terms, scenarios, ownership, boundaries, context maps, and ADRs; routine vocabulary lookup stays in project docs.
195 other projects use a version of this.
Adopted by
Most recently taken up by
- anorth/agent-skillstheir own version, first seen Nov 8, 2026
- chrysogonus/power-agentstheir own version, first seen Nov 8, 2026
- The-Vibe-Company/quivrtheir own version, first seen Nov 8, 2026
- AJschoons/robowrighttheir own version, first seen Nov 8, 2026
- tornikegomareli/Skillstheir own version, first seen Nov 8, 2026
- miklschmidt/archboardtheir own version, first seen Nov 8, 2026
Used with
Projects with it also use setup-ts-deep-modules, decision-mapping and 9 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.
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 43 projects that use this
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
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 62 projects that use this
RoentekSkillloop-me
Grill me about specs for the workflows I want to build, within this workspace.
Also in 56 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 60 projects that use this
AWSSkillto-questionnaire
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
Also in 89 projects that use this
- +1 more from Lesani
Other versions195 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 195
- mattpocock/skills★ 309ksame name
- QuivrHQ/quivr★ 40ksame name
- The-Vibe-Company/quivr★ 40ksame name
- windmill-labs/windmill★ 18ksame name
- GreyDGL/PentestGPT★ 16ksame name
- formbricks/formbricks★ 13ksame name
- ArcReel/ArcReel★ 6.3ksame name
- vinvcn/mattpocock-skills-zh-CN★ 5.5ksame name
- withcoral/coral★ 4.9ksame name
- bestofjs/bestofjs★ 3.1ksame name
185 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 repository26 other files it gives its agents.
- codebase-designSkill
- code-reviewSkill
- deep-researchSkill
- diagnosing-bugsSkill
- grillingSkill
- grill-with-docsSkill
- handoffSkill
- herdrSkill
- implementSkill
- orchestratorSkill
- prototypeSkill
- prSkill
- researchSkill
- retroSkill
- setup-matt-pocock-skillsSkill
- shoppingSkill
- tddSkill
- teachSkill
- ticket-readinessSkill
- to-specSkill
- to-ticketsSkill
- tutorSkill
- wayfinderSkill
- wizardSkill
- writing-for-agentsSkill
- writing-for-humansSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 183 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
Locate: Read root CONTEXT-MAP.md when present, then the relevant CONTEXT.md, ADRs, requirements, and code/tests.
- Very specific: line 20
Validate: Search symbols, tests, examples, and docs.
- Distinctive: line 21
Record: Update the glossary immediately when a term resolves.
- Distinctive: line 22
Check: Run terminology, link, build, or test checks available in the repository.
- Very specific: line 28
Keep CONTEXT.md implementation-free: define what a concept is, its _Avoid_ aliases, and its context.
- Distinctive: line 30
Treat past domain events as immutable observations.
- Distinctive: line 44
Create only the file and directory needed by the first resolved term or qualifying decision.
“Common” is measured: kept by at least 6 in 10 of the 183 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
Contract
Job: turn ambiguous domain language into a shared, context-scoped model aligned with behavior and code.
Evidence order: domain-expert or maintainer decisions, requirements and scenarios, code and tests, then inference. Preserve uncertainty when evidence is missing.
Success: the context and owner are identified (or ambiguity is recorded and asked); changed terms/events have definitions, scope, useful confidence/lifecycle, a normal scenario, and an edge case; invariants and lifecycle rules have verifiable records; relevant glossary/map/ADR files are updated as decisions crystallise; code, tests, scenarios, and docs were searched and every mismatch has a disposition; proposed aggregates, invariants, ownership, and architectural mappings have human confirmation before acceptance.
Loop
- Locate. Read root
CONTEXT-MAP.mdwhen present, then the relevantCONTEXT.md, ADRs, requirements, and code/tests. Close with the relevant context and owner identified, or a recorded ambiguity to resolve before assigning ownership. Create files lazily. - Discover. Extract terms, past events, commands, policies, and hypotheses. Close with normal and edge scenarios for changed terms/events and their relationships, plus relevant invariants, lifecycle rules, or consistency reasons. Use EventStorming or another collaborative workshop for complex cross-team flows only when its cost is justified.
- Validate. Search symbols, tests, examples, and docs. Check behavior rather than shared fields. Mark items
proposedoraccepted, with confidence when useful. On disagreement, stop acceptance, record the contradiction and resolution (or ask), and preserve alternatives that explain it. - Record. Update the glossary immediately when a term resolves; read CONTEXT-FORMAT.md when creating or editing a glossary/map. For multiple contexts, update the map with source, target, purpose, translation owner, and
synchronousoreventualconsistency. Apply ADR eligibility; when a decision qualifies, use ADR-FORMAT.md. - Check. Run terminology, link, build, or test checks available in the repository. Otherwise leave a dated manual check naming searched paths and evidence. Confirm affected code can discover its glossary or ADR.
A step closes only with evidence or an explicit blocker/ask. If expert confirmation is unavailable, leave the artifact proposed and name the reviewer.
Rules
- Keep
CONTEXT.mdimplementation-free: define what a concept is, its_Avoid_aliases, and its context. Classes, columns, topics, protocols, behavior, invariants, scenarios, and integration contracts belong in dedicated records or ADRs linked from the glossary. - Be opinionated and concise. Add
_Context_,_Owner_,_Confidence_, and_Lifecycle_/_Replaced by_metadata when multiple contexts or a rename make them useful; omit empty ceremony. Shared fields do not establish shared meaning. - Treat past domain events as immutable observations. Label commands, policies, and hypotheses so discovery is not mistaken for an implementation contract.
CONTEXT-MAP.mdis required for multi-context relationships and must be revisited when language, invariants, ownership, or non-functional needs change. Keep technology choices in ADRs.- AI may propose terms, events, and boundaries. Humans confirm accepted aggregates, invariants, ownership, and architectural mappings; never invent confidence.
ADR eligibility
Offer an ADR only when all three apply: changing the choice has meaningful cost, its rationale would surprise a future reader, and real alternatives were weighed. Boundary ownership/integration, aggregate consistency boundaries, durable technology, deliberate deviations, and invisible constraints can qualify. Routine naming and obvious choices remain ordinary documentation. Accepted ADRs are immutable; supersede them with a linked record. This section owns the gate for other skills and the format companion.
Create only the file and directory needed by the first resolved term or qualifying decision.
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.

