Skills Coding

Domain Modeling

Capture terms, invariants, and decisions before the code hardens the wrong nouns.

Claude Cursor Grok domainlanguageinvariants

What it is

Domain Modeling writes down the language of the product: what an Order is, what it is not, and which states are illegal. That glossary then drives types, APIs, and tests.

When to use

Use at the start of a feature that introduces new nouns, statuses, or money rules.

How to install

Place domain-modeling/SKILL.md in the project that owns the domain language.

# Claude Code
.claude/skills/domain-modeling/SKILL.md

# Grok Build
.grok/skills/domain-modeling/SKILL.md

# Codex
.agents/skills/domain-modeling/SKILL.md

Example prompt

Model refunds for this shop. List illegal state pairs before you write a function.

Source: Open Agent Skills ecosystem

Read the full install guide →

Related skills