What problem does it solve? Domain logic scattered across controllers and services leads to anemic models, broken invariants, and corrupted state under concurrent writes. This Skill structures business rules into proper Domain-Driven Design tactical patterns so invariants are enforced inside the domain model itself. ## Core Features & Use Cases - Tactical Pattern Guidance: Provides rules and TypeScript examples for Entity, Value Object, Aggregate, Repository, Domain Service, and Domain Event patterns. - Invariant-First Aggregate Design: Enforces consistency boundaries, ID-based references between aggregates, and one-transaction-per-aggregate rules. - Anti-Pattern Detection: Lists red flags such as public setters on aggregate roots, present-tense event names, and repositories returning child entities directly. - Use Case: When refactoring an order management module, use this Skill to convert an anemic Order class into a rich aggregate that validates submission rules, emits an OrderSubmitted domain event, and is persisted only through an OrderRepository interface. ## Quick Start Ask the AI to design the domain model for your order workflow using DDD tactical patterns with aggregates, value objects, and domain events.