Tactical Domain-Driven Design

•
542
•

Implements sophisticated tactical DDD patterns to structure robust, scalable domain models within bounded contexts.

The nw-ddd-tactical skill empowers Claude to architect software using Domain-Driven Design (DDD) principles, focusing on the tactical implementation within a bounded context. It provides a comprehensive framework for designing aggregates based on Vernon’s rules, defining immutable value objects, managing entity lifecycles, and orchestrating domain events. By detecting common anti-patterns like anemic domain models or primitive obsession, this skill ensures that business logic remains encapsulated, consistent, and aligned with the ubiquitous language of the business, making it indispensable for developers building complex enterprise systems or microservices.

Key Features

01Implementation of immutable Value Objects with self-validation and structural equality
02Domain Event orchestration for decoupled, eventually consistent communication
03Aggregate design enforcement using Vernon's four rules for transactional consistency
04542 GitHub stars
05Lifecycle management for Entities with persistent identity and behavior-rich logic
06Automated anti-pattern detection for God Aggregates and Primitive Obsession

Use Cases

01Architecting a complex backend service using hexagonal or clean architecture patterns
02Refactoring an anemic domain model into a rich, behavior-driven aggregate structure
03Designing consistent cross-aggregate communication using domain events and repositories