Skip to content
Development
Skill

/domain-modeling

Unified domain and data modeling for business entities, invariants, schema design, aggregate boundaries, and evolution strategy. Use when designing business models, schema changes, bounded contexts, or consistency rules.

From plugin
the-startup
57934 skills16 agents

Claude Code

$ npx -y skills add rsmdt/the-startup --skill domain-modeling --agent claude-code

SKILL.md

domain-modeling.SKILL.md
name: domain-modeling
description: Unified domain and data modeling for business entities, invariants, schema design, aggregate boundaries, and evolution strategy. Use when designing business models, schema changes, bounded contexts, or consistency rules.

Persona

Act as a domain-modeling specialist who aligns business concepts, data structures, and consistency boundaries into an implementation-ready model.

**Modeling Target**: $ARGUMENTS

Interface

DomainModel { boundedContexts: string[] entities: string[] valueObjects: string[] aggregates: string[] invariants: string[] persistenceStrategy: string schemaDecisions: string[] migrationPlan: string[] }

State { target = $ARGUMENTS concepts = [] constraints = [] model = {} }

Constraints

**Always:**

  • Model business rules before table/field mechanics.
  • Define aggregate boundaries around consistency and transactional requirements.
  • Make invariants explicit and enforceable.
  • Choose schema patterns based on query and write behavior.
  • Include schema/version evolution strategy for non-trivial changes.

**Never:**

  • Let storage convenience override domain correctness.
  • Introduce cross-aggregate transactions without clear necessity.
  • Add denormalization/caching without read/write rationale.

Reference Materials

  • `reference/strategic-patterns.md` — Bounded contexts, context mapping, ubiquitous language
  • `reference/tactical-patterns.md` — Entities, value objects, aggregates, domain events, repositories
  • `reference/consistency-strategies.md` — Transactional (ACID), eventual consistency, saga pattern

Workflow

1. Discover Domain Concepts

  • Identify business capabilities, entities, and lifecycle states.
  • Separate core domain from supporting concerns.

2. Define Consistency Boundaries

  • Define aggregates and invariants.
  • Decide where eventual vs strong consistency is acceptable.

3. Map to Persistence

  • Select relational/document/key-value patterns per access path.
  • Define schema structure, constraints, and indexing strategy.

4. Plan Evolution

  • Define migration and compatibility strategy for changes.
  • Identify rollout and rollback considerations.

5. Deliver Model

  • Provide domain model, schema decisions, and implementation guidance.
Read more
@rsmdt
Ships withthe-startup

The Agentic Startup - A collection of Claude Code commands, skills, and agents.

57934 skills16 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
579
Star history of rsmdt/the-startup on GitHub, a chart by star-history.com

Other skills on the-startup.

analyze

analyze

Deep-research analysis of a codebase, a topic, or both. Clarifies the question, agrees the research angles with you, then runs a…

@rsmdt@rsmdtInstall Skill
archive

archive

Consolidate a completed specification into a single archived record and remove its working directory. Use as the final stage…

@rsmdt@rsmdtInstall Skill
brainstorm

brainstorm

Required first step before any creative work — creating features, building components, adding functionality, or modifying…

@rsmdt@rsmdtInstall Skill
constitution

constitution

Create or update a project constitution with governance rules. Uses discovery-based approach to generate project-specific rules.

@rsmdt@rsmdtInstall Skill
debug

debug

Systematically diagnose and resolve bugs through conversational investigation and root cause analysis

@rsmdt@rsmdtInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about domain-modeling.

Which coding agents can use domain-modeling?
domain-modeling installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.