Implements robust software architecture using DDD tactical patterns like aggregates, value objects, and domain events to enforce business logic.
This skill empowers Claude to architect high-quality backend systems by applying Domain-Driven Design (DDD) tactical patterns. It focuses on translating complex business requirements into clean, maintainable code structures by defining clear aggregate boundaries, enforcing domain invariants, and utilizing immutable value objects. It is particularly effective for refactoring legacy 'anemic' models into rich, behavior-driven domain logic, ensuring that repositories and domain events are handled at the appropriate architectural layers to maintain system integrity.
主要功能
01Immutable value object modeling with validation
02Aggregate boundary and invariant design
03Refactoring anemic models to behavior-rich domain objects
04Repository pattern implementation at aggregate roots
052 GitHub stars
06Domain event emission for state transitions
使用场景
01Designing complex business logic with strict validation and consistency rules.
02Refactoring procedural code into structured domain entities and value objects.
03Establishing clear repository interfaces for decoupled and testable data access.