architecture-paradigm-domain-driven

Featured

Models a business in its own language. Use when the domain has real business rules to capture.

AI & Automation 337 stars 34 forks Updated today MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
84
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# The Domain-Driven Design Paradigm Design for the future, build for now. DDD is modeling a business in the business's own language. The goal is not to avoid structure. It is to avoid structure you cannot back out of, and to defer structure you do not yet need. ## What DDD Is Ubiquitous language, bounded contexts, and a model built by talking to the people who do the work. The measure of a domain model is whether a person in the business would recognize their own job in it. ## What DDD Is Not Clean Architecture. Mandatory layering. A mapper between every tier. A count of design patterns applied before the first line of business logic is written. These are DDD-adjacent choices. Each has its own justification, and none of them is entailed by DDD. Wanting to decouple an API from the domain is a good reason to add a DTO. "This is what DDD requires" is not, because it does not. ## Strategic Design Is The Core The building blocks are not the point, and this is not the repo's opinion. Evans said so himself, ten years after the book, about the book: > "things like the entities and value objects [..] [People] come away > thinking that that's really the core of DDD, whereas, in fact, it's > really not." > "I really think that the way I arranged the book gives people the wrong > emphasis, so that's the biggest part of what I do is rearrange those > things." Source: SE-Radio Episode 226, "Eric Evans on Domain-Driven Design at 10 Years" ([video](https://www.youtube.com/watch?v...

Details

Author
athola
Repository
athola/claude-night-market
Created
9 months ago
Last Updated
today
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

Web & Frontend Listed

ddd-playbook

Model a business domain with Domain-Driven Design — bounded contexts, ubiquitous language, aggregates and their invariants, value objects, domain events, and context mapping. Use when designing or refactoring a domain model, deciding aggregate boundaries, splitting a system into bounded contexts, running or interpreting an EventStorming session, or when business rules are leaking into controllers, services, or UI components — even if the user never says "DDD". It covers the modeling and the design rules, not framework idioms; for writing the code, use the companion ddd-spring-boot or ddd-angular skills. Not for plain CRUD with no business rules, database tuning, or framework how-to questions.

4 Updated 1 weeks ago
salimramirez
AI & Automation Listed

principle-ddd

Domain-Driven Design (DDD) — bounded contexts, entities, domain events, and repository pattern. Auto-load when modeling a complex domain, microservice splits, designing aggregates, or aligning code with business language.

2 Updated today
lugassawan
Web & Frontend Listed

ddd-guide

Use when finding and naming domain boundaries and modelling inside them: establishing a ubiquitous language, drawing bounded contexts and a context map, protecting a model with an anti-corruption layer, and applying the tactical building blocks (entity, value object, aggregate + root, domain event, repository, domain/application service). Triggers on ubiquitous language, bounded context, context map, anti-corruption layer, aggregate / aggregate root, entity vs value object, domain event, repository, strategic vs tactical design, anemic domain model, even when the user doesn't say 'DDD'.

5 Updated 4 days ago
xonovex