Agent skill

Domain Modeling

by rsmdt in rsmdt/the-startup

Unified domain and data modeling for business entities, invariants, schema design, aggregate boundaries, and evolution strategy.

MITAuto-check passedDatabases

Install Domain Modeling

skills CLI
$ npx skills add rsmdt/the-startup --skill domain-modeling -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install rsmdt/the-startup domain-modeling --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/rsmdt/the-startup.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/team/skills/development/domain-modeling .claude/skills/domain-modeling && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
domain-modeling
GitHub stars
557
Token cost
~574 tokens
SKILL.md length
202 words
Files
4
Skills in repo
27
Repo updated
First seen
Licence
MIT

At a glance

Unified domain and data modeling for business entities, invariants, schema design, aggregate boundaries, and evolution strategy.

  • Works in 5 steps: Discover Domain Concepts → Define Consistency Boundaries → Map to Persistence → …
  • Designing business models
  • SKILL.md covers Persona, Interface, Constraints and Reference Materials, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Domain Modeling is an agent skill from rsmdt/the-startup. 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.

Its SKILL.md is about 570 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files (for example `reference/consistency-strategies.md`, `reference/strategic-patterns.md` and `reference/tactical-patterns.md`).

It sits in Databases, covering Domain-driven design, Database schema design and Product strategy. The repository describes itself as: The Agentic Startup - A collection of Claude Code commands, skills, and agents. The licence is MIT.

When your agent uses it

  • Designing business models
  • Bounded contexts
  • Consistency rules

Example prompts

  • “/domain-modeling”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Discover Domain Concepts
  2. Define Consistency Boundaries
  3. Map to Persistence
  4. Plan Evolution
  5. Deliver Model

What it can do on your machine

Read from SKILL.md and the folder at commit 88d447c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Domain Modeling loads about 574 tokens when it runs. Until then it costs about 59 tokens; SKILL.md has 202 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~574

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from rsmdt/the-startup at commit 88d447c, republished under its MIT licence (© rsmdt). 202 words, ~574 tokens.

Download SKILL.mdSave it as .claude/skills/domain-modeling/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
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.

© rsmdt, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files in plugins/team/skills/development/domain-modeling of rsmdt/the-startup.

  • SKILL.md
  • reference/consistency-strategies.md
  • reference/strategic-patterns.md
  • reference/tactical-patterns.md

Open the folder on GitHubat commit 88d447c

Compare with similar skills

Domain Modeling next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Domain Modeling compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Domain Modeling this skillrsmdt/the-startup557—~574Automated safety check: PassMIT
Commonmark Conformancejolars/panache236—~1.1kAutomated safety check: PassMIT
Content Modeling Best Practicessanity-io/agent-toolkit1881 repos~463Automated safety check: PassMIT
SQL Optimization Patternsynulihao/AgentSkillOS61711 repos~3.3kAutomated safety check: PassNone
Datamodellmnimbalyst/nimbalyst1.9k—~713Automated safety check: PassMIT
Add Mpk Taskmirage-project/mirage2.5k—~4.5kAutomated safety check: PassApache-2.0

Similar skills

  • Grow Panache's CommonMark spec conformance under Flavor::CommonMark by running every spec.txt example through the shared parser, comparing rendered HTML against the spec's expected HTML…

    236 GitHub stars~1.1k tokensUpdated today
    DatabasesAuto-check passed
  • Content Modeling Best Practices

    sanity-io/agent-toolkit

    Official

    Structured content modeling guidance for schema design, content architecture, content reuse, references versus embedded objects, separation of concerns, and taxonomies across Sanity and other…

    188 GitHub starsUsed in 1 repo~463 tokens
    DatabasesAuto-check passed
  • SQL Optimization Patterns

    ynulihao/AgentSkillOS

    Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries.

    617 GitHub starsUsed in 11 repos~3.3k tokens
    DatabasesAuto-check passed
  • Datamodellm

    nimbalyst/nimbalyst

    Create visual data models for database schemas using Nimbalyst's DataModelLM editor.

    1.9k GitHub stars~713 tokensUpdated today
    DatabasesAuto-check passed
  • Add Mpk Task

    mirage-project/mirage

    Step-by-step guide for adding a new task implementation to Mirage Persistent Kernel (MPK).

    2.5k GitHub stars~4.5k tokensUpdated yesterday
    DatabasesAuto-check passed
  • Sqlite Schema Design

    fastrepl/anarlog

    Design or review schemas for crates/cloudsync using SQLite Sync constraints, not generic SQLite advice.

    9.5k GitHub stars~1.9k tokensUpdated today
    DatabasesAuto-check passed

More from rsmdt/the-startup

All 27 skills in this repo
  • Analyze

    rsmdt/the-startup

    Deep-dive codebase analysis that explains how things actually work — business rules, architecture patterns, auth flows, data models, integrations, and performance hotspots.

    557 GitHub stars~1.9k tokensUpdated 2 mo ago
    Auto-check passed
  • Implement

    rsmdt/the-startup

    Implementation entry point. An agent skill from rsmdt/the-startup.

    557 GitHub stars~1.3k tokensUpdated 2 mo ago
    Auto-check passed
  • Implement Factory

    rsmdt/the-startup

    Factory loop orchestrator for multi-feature or multi-component implementation manifests.

    557 GitHub stars~3.2k tokensUpdated 2 mo ago
    Auto-check passed
  • Agentic Patterns

    rsmdt/the-startup

    Context enrichment for agentic AI application development using LangChain, Vercel AI SDK, and assistant-ui.

    557 GitHub stars~501 tokensUpdated 2 mo ago
    Auto-check passed
  • API Contract Design

    rsmdt/the-startup

    REST and GraphQL API design patterns, OpenAPI/Swagger specifications, versioning strategies, and authentication patterns.

    557 GitHub stars~1.1k tokensUpdated 2 mo ago
    Auto-check passed
  • Architecture Selection

    rsmdt/the-startup

    System architecture patterns including monolith, microservices, event-driven, and serverless, with C4 modeling, scalability strategies, and technology selection criteria.

    557 GitHub stars~1.2k tokensUpdated 2 mo ago
    Auto-check passed

Questions about Domain Modeling

What does Domain Modeling do?

Unified domain and data modeling for business entities, invariants, schema design, aggregate boundaries, and evolution strategy. Domain Modeling is an agent skill from rsmdt/the-startup. Unified domain and data modeling for business entities, invariants, schema design, aggregate boundaries, and evolution strategy.

When should I use Domain Modeling?

Domain Modeling fits situations like: designing business models; bounded contexts; consistency rules.

How do I install Domain Modeling in Claude Code?

Run `npx skills add rsmdt/the-startup --skill domain-modeling -a claude-code`. Or copy the skill folder (plugins/team/skills/development/domain-modeling in rsmdt/the-startup) into .claude/skills/domain-modeling in your project. Claude Code loads it when a task matches its description.

How do I install Domain Modeling in Codex?

Run `npx skills add rsmdt/the-startup --skill domain-modeling -a codex`. Or copy the skill folder (plugins/team/skills/development/domain-modeling in rsmdt/the-startup) into .agents/skills/domain-modeling in your project. Codex loads it when a task matches its description.

Can I use Domain Modeling in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rsmdt/the-startup --skill domain-modeling -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/domain-modeling, .gemini/skills/domain-modeling, .github/skills/domain-modeling and .opencode/skills/domain-modeling in your project.

What does Domain Modeling need to run?

SKILL.md names no scripts, command-line tools or credentials: Domain Modeling is instructions for the agent only.

Does Domain Modeling access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Domain Modeling safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Domain Modeling use?

Domain Modeling is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Domain Modeling use?

About 574 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Domain Modeling?

Skills that share tags, products or a category with Domain Modeling: Commonmark Conformance (jolars/panache, 236 stars), Content Modeling Best Practices (sanity-io/agent-toolkit, 188 stars), SQL Optimization Patterns (ynulihao/AgentSkillOS, 617 stars) and Datamodellm (nimbalyst/nimbalyst, 1.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Domain Modeling?

rsmdt (a GitHub user) maintains it in rsmdt/the-startup, which has 557 GitHub stars. The repository holds 27 skills in this directory. The repository was last updated on August 3, 2026.

Source: rsmdt/the-startup on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.