Skip to content
Skills Library
Programming · Analysis

domain-modeling

/domain-modeling

Resolve ambiguous domain terms, states, events, and invariants before code or interface design depends on them. Use when language or lifecycle rules are inconsistent, not for routine implementation or unresolved product choices.

Licence
MIT
Last repository change
12.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
3
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 12.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

Resolve ambiguous domain terms, states, events, and invariants before code or interface design depends on them. Use when language or lifecycle rules are inconsistent, not for routine implementation or unresolved product choices.

Original author description

Resolve ambiguous domain terms, states, events, and invariants before code or interface design depends on them. Use when language or lifecycle rules are inconsistent, not for routine implementation or unresolved product choices.

How it works

  1. Establish the domain boundary
  2. Build the model
  3. Handoff and review
Original SKILL.md headings · 40 lines, 251 words
SKILL.md preview
---
name: domain-modeling
description: "Resolve ambiguous domain terms, states, events, and invariants before code or interface design depends on them. Use when language or lifecycle rules are inconsistent, not for routine implementation or unresolved product choices."
---

# Domain Modeling

Build a small, explicit model of the business domain so implementation and review use
the same words. This skill clarifies language and invariants; it does not decide product
scope or authorize a schema migration by itself.

## Establish the domain boundary

Identify the bounded context, the people or systems that own it, and the decisions that
depend on the model. Collect the terms actually used in source, tests, tickets, UI copy,
and operator runbooks. Treat disagreement as evidence to resolve, not as noise.

Route unresolved product choices to `feature-discovery`. Route a failure with an unknown
cause to `systematic-debugging`. This skill owns the model that those workflows consume.

## Build the model

Produce only the artifacts that answer the request:

- a glossary with one preferred term, aliases, and a concrete definition;
- the lifecycle states and allowed transitions;
- events that cause transitions, including rejection and compensation paths;
- invariants that must hold across every state;
- identifiers, units, currency, timezone, and ownership where relevant;
- open questions that materially change the model.

Use examples from real records. Distinguish an event that happened from a command that
requests it. Make invalid transitions explicit. Do not invent a universal model for
unrelated contexts; split them instead.

Read [modeling-worksheet.md](references/modeling-worksheet.md) for a compact template.

## Handoff and review

Store the model beside the code or documentation that owns it. Link terms to their
source evidence. Propose validation for machine-checkable invariants. Hand implementation
to `ui-implementation` or `lean-senior-engineering`; hand requirement-to-evidence checks
to `spec-to-code-verification`.
Files in this package (3)
  • SKILL.md 2 KB
  • agents/openai.yaml 1 KB
  • references/modeling-worksheet.md 1 KB

Versions

RepositoryScoreLicence
This page · RaditteAnggoro/skill-for-lazy-developer100MIT
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 95cef8d72550 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

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

Similar skills

  • 100state-machine-modeling
    Use when modeling lifecycle states, transitions, guards, events, side effects, invalid states, retries, statecharts, and state invariants for workflows or domain objects. Do NOT use for broad event discovery (use `event-storming`), database schema design (use…
  • 100rust-contract-domain-modeling
    Domain-driven modeling patterns for Axone contracts. Use when introducing domain concepts, encoding invariants, or deciding boundaries between domain, handlers, services, gateways, queries, and state.
  • 95domain-driven-design
    Domain-Driven Design patterns for TypeScript. Use when implementing ubiquitous language, value objects, entities, aggregates, domain events, domain services, or bounded contexts. Only applies to projects that explicitly use DDD. Do NOT use for simple CRUD or projects without domain modeling.
  • 100domain-modeling-design
    Use when modeling a new domain or aggregate before writing code, deciding where a piece of business logic belongs, defining invariants or bounded contexts, or asking "where does this logic go" / "how to design this domain" / "où mettre cette logique" / "comment concevoir ce…
  • 100domain-driven-design
    Use when evolving aggregate invariants, value objects or domain events in an existing DDD-style Spring Boot 4 application, or when DDD is explicitly requested. Preserve existing API identifiers and architecture when changing domain behavior.
  • 100domain-driven-design
    Use when evolving aggregate invariants, value objects or domain events in an existing DDD-style Spring Boot 3 application, or when DDD is explicitly requested. Preserve existing API identifiers and architecture when changing domain behavior.

Feedback and reports

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