
Domain modeling
Guides an agent to build and sharpen a project's domain model and glossary
Domain modeling is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 18
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Domain modeling
This skill has the agent actively work on a project's domain model while designing software. It pushes on fuzzy or overloaded terminology, proposes precise canonical names, and invents edge-case scenarios to pin down the boundaries between concepts. When a term is settled, the agent writes it into a glossary right away rather than batching notes for later.
The model is stored as an Open Knowledge Format bundle in a knowledge/ folder at the repository root, with glossary entries, architectural decision records and a change log. The skill points to companion format files for the glossary and ADR layouts, and it also covers multi-context repositories. It asks for user approval before adding a new concept category and keeps the bundle index updated.
The skill expects a repository where the agent can read and write files, and it cross-checks statements about behaviour against the code. It is written for working on the model itself, not just reading an existing glossary.
When your agent uses it
Build and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision, or when another skill needs to maintain the domain model.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 3 files (13 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/domain-modeling to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/evist0/okf-matt-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/domain-modeling &&
cp -R "$tmp/domain-modeling" ~/.claude/skills/domain-modeling &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/domain-modeling inside it instead.
Copy the skill folder to ~/.agents/skills/domain-modeling to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/evist0/okf-matt-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/domain-modeling &&
cp -R "$tmp/domain-modeling" ~/.agents/skills/domain-modeling &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/domain-modeling inside it instead.
Copy the skill folder to ~/.cursor/skills/domain-modeling to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/evist0/okf-matt-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/domain-modeling &&
cp -R "$tmp/domain-modeling" ~/.cursor/skills/domain-modeling &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/domain-modeling inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/evist0/okf-matt-skills.git --path domain-modelingOr copy the folder to ~/.gemini/skills/domain-modeling yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/domain-modeling:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/evist0/okf-matt-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/domain-modeling &&
cp -R "$tmp/domain-modeling" ~/.copilot/skills/domain-modeling &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/domain-modeling inside it instead.
Get the folder:
git clone --depth 1 https://github.com/evist0/okf-matt-skills.gitThen copy okf-matt-skills/domain-modeling into your agent's skills folder as domain-modeling. Agents that support SKILL.md read one folder per skill.
What it does
- Terminology sharpening
- Challenges vague or overloaded terms and proposes precise canonical names for domain concepts.
- Scenario stress-testing
- Invents edge-case scenarios to expose unclear boundaries between domain concepts.
- Inline glossary updates
- Writes resolved terms into the knowledge bundle's glossary as soon as they are settled.
- Architectural decision records
- Offers to record decisions only when they are hard to reverse, surprising and the result of a real trade-off.
- Code consistency checks
- Compares stated domain behaviour with the existing code and flags contradictions.
- Open Knowledge Format bundle
- Keeps the model in a structured knowledge folder with index files and a change log.
Good for
- Pin down the ubiquitous language for an order management system
- Record an architectural decision about the write model database
- Check whether the code matches how the team describes cancellations
- Split a project into bounded contexts with a context map
- Add a new glossary entry for a recurring domain concept
Domain modeling FAQ
Where does the skill store the domain model?
In an Open Knowledge Format bundle at knowledge/ in the repo root, with glossary and adr folders, plus a log.md change history.
When should the agent create an ADR?
Only when the decision is hard to reverse, would surprise a future reader without context, and resulted from a real trade-off between alternatives.
Does the skill need any scripts or tools?
It includes no scripts and does not set allowed tools. It works through reading and writing files in the repository.
Can the skill add new folders beyond glossary and adr?
Yes, but only after proposing a new category and getting the user's approval, then registering it in the bundle index.
How do I install Domain modeling in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/domain-modeling to use it in all your projects, or to .claude/skills/domain-modeling in one project.
Does Domain modeling run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Domain modeling?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Domain modeling?
The closest alternatives to Domain modeling are Oracle domain modelling, Domain modeling, Context and decisions, Domain modeling and Principle model the domain.
Where this comes from
- Description: from the skill's own SKILL.md.
More from evist0/okf-matt-skills

Gives the agent a shared vocabulary and principles for designing deep, testable modules
- Open source
- 18 GitHub stars
- Developer tools

Guides an agent through a disciplined loop for diagnosing hard bugs and slow regressions
- Open source
- 18 GitHub stars
- Developer tools

Interviews you relentlessly to sharpen a plan or design while recording ADRs
- Open source
- 18 GitHub stars
- Developer tools

Makes the agent interview you one question at a time to stress-test a plan
- Open source
- 18 GitHub stars
- Developer tools

Condenses a conversation into a handoff document for another agent to resume
- Open source
- 18 GitHub stars
- Developer tools

Guides an agent to implement a spec or ticket set with TDD, review and commit
- Open source
- 18 GitHub stars
- Developer tools





