.NET Domain-Driven Design (DDD)

•
189
•

Implements tactical DDD patterns in .NET applications to manage complex business logic and maintain strict data consistency.

The .NET Domain-Driven Design (DDD) skill empowers Claude to act as a specialized architectural advisor for building complex, behavior-rich C# applications. By providing patterns for Aggregate Roots, Value Objects, and Domain Events, this skill helps developers move beyond simple CRUD operations to create maintainable systems that accurately reflect business requirements. It automates the implementation of tactical DDD elements—such as strongly-typed IDs with EF Core converters and decoupled side effects—ensuring that consistency boundaries are strictly enforced and the domain logic remains pure and decoupled from infrastructure concerns.

Key Features

01Repository implementations specialized for aggregate persistence boundaries
02Domain event raising and dispatching patterns for decoupled side effects
03Immutable Value Object implementation using C# records and structural equality
04Strongly-typed ID generation with automated EF Core value converters
05Aggregate Root generation with encapsulated business logic and invariant enforcement
06189 GitHub stars

Use Cases

01Refactoring anemic domain models into rich, behavior-oriented aggregates
02Decoupling side effects like notifications or audit logs from core business logic
03Implementing complex business rules that require strict transactional consistency