Skip to content
Back to skills

Domain Modeling

ASecurity

Build or sharpen a project's domain language and durable decisions. Use when terminology is fuzzy or contradictory, relationships need scenario testing, the code disagrees with the stated model, or a glossary or ADR-class decision must be updated; do not trigger merely to read existing context.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 5, 2026
ai-agentstesting

Security analysis

A100/100

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

Scanned September 5, 2026

npx -y skills add HECer/yoke --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/hecer-domain-modeling/badge)](https://www.skillsdirectory.com/skills/hecer-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: Build or sharpen a project's domain language and durable decisions. Use when terminology is fuzzy or contradictory, relationships need scenario testing, the code disagrees with the stated model, or a glossary or ADR-class decision must be updated; do not trigger merely to read existing context.
---

# Domain modeling

Build the model actively: challenge terms, test relationships with concrete scenarios, compare the
stated behavior with code, and record a term when it becomes settled.

Yoke stores durable context under `.yoke/context/`:

- `GLOSSARY.md` is the canonical language for a single domain context.
- `CONTEXT-MAP.md` is optional and maps multiple domain contexts plus their relationships.
- `DECISIONS.md` records durable outcomes and ADR-class trade-offs.

Read the existing files before proposing vocabulary. Merely consuming their terms is a normal
context habit, not a reason to run this skill.

## Workflow

1. Identify overloaded, vague, conflicting, or missing terms in the request and current glossary.
2. Propose one canonical term and name avoidable aliases. Ask when the distinction changes behavior.
3. Stress-test relationships with specific scenarios, especially partial, repeated, failed, and
   cross-context cases.
4. Compare the model with public interfaces, persistence shapes, and relevant tests. Surface a
   contradiction instead of silently choosing one side.
5. When a term is settled, update `GLOSSARY.md` immediately using
   [CONTEXT-FORMAT.md](CONTEXT-FORMAT.md). Preserve unrelated entries.
6. Update `CONTEXT-MAP.md` only when the repository contains more than one genuine domain context.
7. Record an ADR-class decision only when all three thresholds in
   [ADR-FORMAT.md](ADR-FORMAT.md) pass.

Glossary definitions describe the domain, not its implementation. General programming concepts do
not belong there.

Files in this skill

  • ADR-FORMAT.md584 B
  • CONTEXT-FORMAT.md924 B
  • SKILL.md1.9 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.

Comments

Loading comments…