Designs and reviews software domain models using Domain-Driven Design, including subdomains, bounded contexts, context maps, ubiquitous language, aggregates, value objects, domain events, repositories, and anti-corruption layers. Use when business rules are complex, service or module boundaries are unclear, teams disagree on terminology, or the user mentions DDD, bounded contexts, aggregates, or domain modeling.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Domain-Driven Design
Use Domain-Driven Design (DDD) to make complex business rules and ownership boundaries explicit. Do not use DDD vocabulary to disguise ordinary CRUD or technology-driven service decomposition.
## DDD Contract
- Start from business capabilities, policies, language, and change patterns, not tables, endpoints, or deployment units.
- Treat one model as valid only inside its bounded context. The same term may intentionally mean different things elsewhere.
- Use a ubiquitous language shared by domain experts and engineers in conversations, code, tests, APIs, and events.
- Align boundaries with cohesive invariants and ownership. A bounded context is a semantic and organizational boundary, not automatically a microservice.
- Keep aggregate boundaries small. One aggregate is one transactional consistency boundary.
- Reference other aggregates by stable identity rather than loading or mutating a large object graph.
- Make cross-context contracts explicit and versioned. Use an anti-corruption layer when an upstream model must not leak inward.
…
The line at the top of this page pins the label git:20260819.d23bb73, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_k2xkqrvb44ixle3c
GET https://markdownregistry.com/api/v1/resolve?ref=d-padmanabhan/agent-engineering-handbook/domain-driven-design
GET https://markdownregistry.com/api/v1/blob/b4fe2449768c201c2bf832b9dd05921a98c87c59647f188905e549754e7846de
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
d-padmanabhan/agent-engineering-handbook · skills/agents-sdk/SKILL.md · Build AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows…
d-padmanabhan/agent-engineering-handbook · skills/cloud-platforms/SKILL.md · Cloud platform best practices for AWS, Azure, GCP, and Cloudflare. Covers Zero Trust architecture, IAM patterns…
d-padmanabhan/agent-engineering-handbook · skills/cloudflare-email-service/SKILL.md · Send and receive transactional emails with Cloudflare Email Service (Email Sending + Email Routing). Use when building…
d-padmanabhan/agent-engineering-handbook · skills/cloudflare-waf-author/SKILL.md · Workflow for crafting Cloudflare WAF rules across all three authoring interfaces - Terraform (cloudflare_ruleset), the…
d-padmanabhan/agent-engineering-handbook · skills/cloudflare-workers-author/SKILL.md · Workflow for building production-grade Cloudflare Workers in TypeScript - bootstrap, bindings and storage choice…
wondelai/skills · plugins/wondelai-skills/skills/domain-driven-design/SKILL.md · Model software around the business domain using bounded contexts, aggregates, and ubiquitous language. Use when the…
wondelai/skills · plugins/code-craftsmanship/skills/domain-driven-design/SKILL.md · Model software around the business domain using bounded contexts, aggregates, and ubiquitous language. Use when the…
wondelai/skills · domain-driven-design/SKILL.md · Model software around the business domain using bounded contexts, aggregates, and ubiquitous language. Use when the…
rrezartprebreza/spring-boot-skills · skills/spring-boot-3/domain-driven-design/SKILL.md · Use when evolving aggregate invariants, value objects or domain events in an existing DDD-style Spring Boot 3…
rrezartprebreza/spring-boot-skills · skills/spring-boot-4/domain-driven-design/SKILL.md · Use when evolving aggregate invariants, value objects or domain events in an existing DDD-style Spring Boot 4…
yonatangross/orchestkit · src/skills/domain-driven-design/SKILL.md · DDD tactical patterns for complex business modeling including entities, value objects, aggregates, domain services…
yonatangross/orchestkit · plugins/ork/skills/domain-driven-design/SKILL.md · DDD tactical patterns for complex business modeling including entities, value objects, aggregates, domain services…