Skip to content
Skills Library
Programming · Writing

domain-modeling

/domain-modeling

Build and sharpen a project's domain model. Use when discussing project terminology, writing or editing GLOSSARY.md, or recording or editing an ADR.

Repository
GilzaBots ↗
Licence
MIT
Last repository change
10.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
4
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 10.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Build and sharpen a project's domain model. Use when discussing project terminology, writing or editing GLOSSARY.md, or recording or editing an ADR.

Original author description

Build and sharpen a project's domain model. Use when discussing project terminology, writing or editing GLOSSARY.md, or recording or editing an ADR.

How it works

  1. File structure
  2. During the session
Original SKILL.md headings · 71 lines, 452 words
SKILL.md preview
---
name: domain-modeling
description: Build and sharpen a project's domain model. Use when discussing project terminology, writing or editing GLOSSARY.md, or recording or editing an ADR.
---

# Domain Modeling

Actively build and sharpen the project's domain model while you design. This is the _active_ discipline: challenging terms, inventing edge-case scenarios, and writing the glossary and the decisions down the moment they crystallise. (Merely _reading_ `GLOSSARY.md` for vocabulary is not this skill: any skill does that in one line. This skill is for changing the model, not consuming it.)

## File structure

Most projects have a single context:

```
/
├── GLOSSARY.md
├── docs/
│   └── adr/
│       ├── 0001-event-sourced-orders.md
│       └── 0002-postgres-for-write-model.md
└── src/
```

If a `GLOSSARY-MAP.md` exists at the root, the project has several contexts, and the map points to where each one lives:

```
/
├── GLOSSARY-MAP.md
├── docs/
│   └── adr/                          ← system-wide decisions
├── src/
│   ├── ordering/
│   │   ├── GLOSSARY.md
│   │   └── docs/adr/                 ← context-specific decisions
│   └── billing/
│       ├── GLOSSARY.md
│       └── docs/adr/
```

Create files lazily, only when you have something to write: a `GLOSSARY.md` when the first term is resolved, `docs/adr/` when the first ADR is needed.

## During the session

### Challenge against the glossary

When the user uses a term that conflicts with the existing language in `GLOSSARY.md`, call it out immediately: "Your glossary defines 'cancellation' as X, but you seem to mean Y. Which is it?"

### Sharpen fuzzy language

When the user uses a vague or overloaded term, propose a precise canonical one: "You're saying 'account': do you mean the Customer or the User? Those are different things."

### Discuss concrete scenarios

When domain relationships are being discussed, stress-test them with specific scenarios. Invent scenarios that probe edge cases and force precision about the boundaries between concepts.

### Cross-reference with code

When the user states how something works, check whether the code agrees (`search_code`, `find_symbol`). Surface a contradiction: "Your code cancels entire Orders, but you just said partial cancellation is possible. Which is right?"

### Update GLOSSARY.md inline

When a term is resolved, update `GLOSSARY.md` right there with `edit_file` (or `write_file` for the first term). Capture terms as they happen; don't batch them. Use the format in [GLOSSARY-FORMAT.md](GLOSSARY-FORMAT.md) (in this skill's directory).

`GLOSSARY.md` holds no implementation details. It is not a spec, a scratch pad or a store of implementation decisions: it is a glossary and nothing else.

### Offer ADRs sparingly

Offer an ADR only when all three are true:

1. **Hard to reverse**: changing your mind later has a meaningful cost.
2. **Surprising without context**: a future reader will wonder "why did they do it this way?"
3. **The result of a real trade-off**: there were genuine alternatives and one was picked for specific reasons.

If any of the three is missing, skip the ADR. Use the format in [ADR-FORMAT.md](ADR-FORMAT.md).
Files in this package (4)
  • ADR-FORMAT.md 3 KB
  • ATTRIBUTION.md 1 KB
  • GLOSSARY-FORMAT.md 2 KB
  • SKILL.md 3 KB

Versions

RepositoryScoreLicence
This page · gilzamir18/GilzaBots100MIT
matteocodogno/wellforge100MIT
hootener/brain100MIT
zenobi-us/dotfiles100MIT
JamalLyons/Agent-Skills100MIT
FrancoStino/opencode-skills-collection100MIT
yuan88964/RelayStudio100MIT
Aysnc-Labs/skills100MIT
askgina/plugins100Apache-2.0

Database snapshot: 13.11.2026 · package version 819c2ca69f61 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95workflow-domain-modeling
    Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.
  • 100s-domain-modeling
    Build and sharpen a project's domain model. Use when domain terminology, relationships or rules change, when writing or editing a GLOSSARY.md, or when recording or editing an ADR.
  • 100matt-domain-modeling
    Build and sharpen a project's glossary and domain model, kept in the Language section of the nearest CLAUDE.md, with decisions recorded in docs/patterns/. Use when a term is fuzzy or contested, when adding to or editing the glossary, or when recording a design decision (an ADR).
  • 100ra-domain-modeling
    Actively build and sharpen a project's domain model, shared vocabulary (GLOSSARY.md), locked architectural invariants (research/INVARIANTS.md), and ADRs. Use when discussing codebase terminology, resolving overloaded words, or locking project rules.
  • 100domain-model
    Build and sharpen the project's domain model – the ubiquitous language in CONTEXT.md, bounded contexts, context map, aggregates/invariants and the logical, stack-neutral data model based on docs/domain/events.yaml. Use when discussing domain terminology, writing or editing…
  • 100docs-domain-modeling
    Build a project's domain model: a CONTEXT.md glossary and ubiquitous language. Use when pinning down terminology, or the agent "uses the wrong words". Decision records (INDEX.md, rejected alternatives) → docs-adr.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.