# Domain modeling

> Domain modeling is an open-source agent skill for developer tools. Guides an agent to build and sharpen a project's domain model and glossary. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/evist0/okf-matt-skills/tree/main/domain-modeling
- **Repository:** https://github.com/evist0/okf-matt-skills
- **GitHub stars:** 18
- **License:** MIT
- **Skill name:** domain-modeling
- **Collection:** https://github.com/evist0/okf-matt-skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/evist0/okf-matt-skills/tree/HEAD/domain-modeling)
- [License: MIT](https://github.com/evist0/okf-matt-skills/tree/HEAD/domain-modeling)

## Features

- **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

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/domain-modeling` to use it in all your projects:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/domain-modeling` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/domain-modeling` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/evist0/okf-matt-skills.git --path domain-modeling
```

Or copy the folder to `~/.gemini/skills/domain-modeling` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/domain-modeling`:

```sh
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.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/evist0/okf-matt-skills.git
```

Then 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.

## 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.

## Alternatives

- [Oracle domain modelling](https://ai-powered.com/skills/oracle-domain-modelling): Oracle domain modelling is an open-source agent skill for developer tools.
- [Domain modeling](https://ai-powered.com/skills/domain-modeling): Domain modeling is an open-source agent skill for developer tools.
- [Context and decisions](https://ai-powered.com/skills/context-and-decisions): Context and decisions is an open-source agent skill for knowledge and memory.
- [Domain modeling](https://ai-powered.com/skills/domain-modeling-xd4o): Domain modeling is an open-source agent skill for developer tools.
- [Principle model the domain](https://ai-powered.com/skills/principle-model-the-domain): Principle model the domain is an open-source agent skill for developer tools.
- [Architecture foundation](https://ai-powered.com/skills/architecture-foundation): Architecture foundation is an open-source agent skill for developer tools.
- [Documentation and adrs](https://ai-powered.com/skills/documentation-and-adrs): Documentation and adrs is an open-source agent skill for developer tools.
- [TDD](https://ai-powered.com/skills/tdd): TDD is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/domain-modeling-evist0
