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.
- Author
- RaditteAnggoro ↗
- Repository
- skill-for-lazy-developer ↗
- Licence
- MIT
- Last repository change
- 12.11.2026
Assessment and security
- Files in this package
- 3
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.
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
- Establish the domain boundary
- Build the model
- Handoff and review
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
| Repository | Score | Licence |
|---|---|---|
| This page · RaditteAnggoro/skill-for-lazy-developer | 100 | MIT |
| matteocodogno/wellforge | 100 | MIT |
| hootener/brain | 100 | MIT |
| zenobi-us/dotfiles | 100 | MIT |
| JamalLyons/Agent-Skills | 100 | MIT |
| FrancoStino/opencode-skills-collection | 100 | MIT |
| yuan88964/RelayStudio | 100 | MIT |
| Aysnc-Labs/skills | 100 | MIT |
| askgina/plugins | 100 | Apache-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.