Skip to content
cccskills
FreePublished on GitHub

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.

The English summary is being prepared. Showing the original description.

rsmdt/the-startup575 stars(GitHub 575 + cccskills 0)

Run score Not tested

See how to install

Files included (4)

  • SKILL.md2.2 KB
  • reference/consistency-strategies.md1.8 KB
  • reference/strategic-patterns.md2.2 KB
  • reference/tactical-patterns.md4.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Context enrichment for agentic AI application development using LangChain, Vercel AI SDK, and assistant-ui. Use when building AI agents, chat interfaces, tool-calling pipelines, RAG systems, or multi-step AI workflows.

The English summary is being prepared. Showing the original description.

rsmdt/the-startup575Updated Oct 25, 2026

Deep-research analysis of a codebase, a topic, or both. Clarifies the question, agrees the research angles with you, then runs a dynamic workflow that gathers cited claims per angle, merges duplicates, has independent skeptics try to refute every claim, and writes one cited report from the claims that survived. Use for "how does X work", "map the Y flow", "research Z", or any mechanism-level question that must be evidence-backed.

The English summary is being prepared. Showing the original description.

rsmdt/the-startup575Updated Oct 25, 2026

REST and GraphQL API design patterns, OpenAPI/Swagger specifications, versioning strategies, and authentication patterns. Use when designing APIs, reviewing API contracts, evaluating API technologies, or implementing API endpoints.

The English summary is being prepared. Showing the original description.

rsmdt/the-startup575Updated Oct 25, 2026

System architecture patterns including monolith, microservices, event-driven, and serverless, with C4 modeling, scalability strategies, and technology selection criteria. Use when designing system architectures, evaluating patterns, or planning scalability.

The English summary is being prepared. Showing the original description.

rsmdt/the-startup575Updated Oct 25, 2026

Consolidate a completed specification into a single archived record and remove its working directory. Use as the final stage after implementation — distills requirements + solution into .start/archive/[NNN]-[name].md and deletes the .start/specs/[NNN]-[name]/ directory.

The English summary is being prepared. Showing the original description.

rsmdt/the-startup575Updated Oct 25, 2026

Required first step before any creative work — creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements, and design before implementation.

The English summary is being prepared. Showing the original description.

rsmdt/the-startup575Updated Oct 25, 2026

See all skills by rsmdt

Report a problem with this skill