Skip to content
Back to skills

Domain Modeling

ASecurity

Keeps a project's vocabulary and decision records honest by challenging overloaded terms against the code and recording canonical terms and hard-to-reverse decisions where the repo already keeps them. Use when a term, status, or field means two things, when naming a new concept or state, or when editing a glossary, GLOSSARY.md, or ADR. Do NOT use to interview the user about a plan (use grill-me) or to write a design doc, or for systems-design trigger checks (use design-principles).

  • 4 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 9, 2026
ai-agentsgobashgit

Works with

  • terminal

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 25, 2026

npx -y skills add wilbeibi/wilbeibi-skills --skill domain-modeling --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Domain Modeling?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Domain Modeling
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wilbeibi-domain-modeling/badge)](https://www.skillsdirectory.com/skills/wilbeibi-domain-modeling)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: domain-modeling
description: Keeps a project's vocabulary and decision records honest by challenging overloaded terms against the code and recording canonical terms and hard-to-reverse decisions where the repo already keeps them. Use when a term, status, or field means two things, when naming a new concept or state, or when editing a glossary, GLOSSARY.md, or ADR. Do NOT use to interview the user about a plan (use grill-me) or to write a design doc, or for systems-design trigger checks (use design-principles).
---

# domain-modeling

Give each term one meaning, check that meaning against the code, and record it in the repo's existing home.

## 1. Find the home (REQUIRED)

1. Read the repo's agent guide (`AGENTS.md`, `CLAUDE.md`) for where docs live.
2. Search for an existing glossary and decision record:
   ```bash
   rg -n -i '^#+ .*(glossary|vocabulary|terminology)' -g '*.md'
   fd -H 'GLOSSARY(-MAP)?\.md|^adr$'
   ```
   Numbered decisions in design docs (`D1.`, `**D3.**`) are a decision record too.
3. Use the home you found, in its format. Create `GLOSSARY.md` or `docs/adr/` only when none exists: lazily, in the docs location the guide names.

Done when you can name the one place each new term and decision goes.

## 2. Sharpen the language

- **Probe each suspect term:** ask what it means to each reader (the code that writes it, each code path that reads it, the user). Two answers mean two concepts: propose a name for each.
- **Check the code:** when someone states how a term behaves, find the `path:line` that agrees or contradicts, and surface a contradiction at once.
- **Test the boundary** with one concrete scenario: "a `failed` row that later becomes `deleted`: is `failed` terminal?"
- **Ask naming choices as decisions.** When the canonical name is the user's call, ask it in a grill-me round.
- **Record each term when it resolves.** Do not batch them.

Done when every term the current decision uses has one recorded meaning, with its aliases under `_Avoid_`.

## 3. Record

- **Terms:** [GLOSSARY-FORMAT.md](GLOSSARY-FORMAT.md) for a new glossary. An existing glossary keeps its format.
- **Decisions:** only when hard to reverse, surprising without context, and a real tradeoff. Use [ADR-FORMAT.md](ADR-FORMAT.md), or the repo's own decision format.
- A status value is a term: define the one fact it records. If two writers set it for different reasons, it names two concepts.

## Notes

- A glossary holds terms, not specs, status, or plans.
- Ported from [mattpocock/skills](https://github.com/mattpocock/skills) (MIT), adapted to this repo's conventions and voice.

Files in this skill

  • ADR-FORMAT.md1.4 KB
  • GLOSSARY-FORMAT.md2.1 KB
  • SKILL.md2.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.