Domain-Driven Design (DDD) Patterns

•
69
•

Implements Domain-Driven Design tactical patterns to model complex business logic using entities, value objects, and bounded contexts.

The Domain-Driven Design (DDD) skill provides a comprehensive framework for architecting complex software systems by focusing on the core business domain. It enables Claude to implement sophisticated patterns such as entities with unique identities, immutable value objects, and repository protocols that decouple business logic from infrastructure. By enforcing ubiquitous language and clear bounded contexts, this skill helps developers avoid anemic domain models and build maintainable, behavior-rich applications suitable for production environments.

Key Features

01Immutable state management for domain attributes
02Domain service coordination for cross-aggregate business logic
0369 GitHub stars
04Entity and Value Object modeling with Python dataclasses
05Repository pattern implementation for clean persistence abstraction
06Automated detection of DDD anti-patterns like leaked infrastructure logic

Use Cases

01Designing production-grade FastAPI backends following Clean Architecture principles
02Modeling complex financial systems requiring precise Money value objects and Order entities
03Refactoring monolithic applications into modular subdomains and bounded contexts