ddd-tactical

Installation
SKILL.md

Domain-Driven Design (DDD): Tactical Building Blocks & Review

Tactical DDD focuses on the technical implementation of rich domain models within a single Bounded Context.

"The heart of DDD is the Domain Model itself." — Martin Fowler.

🧱 Key Building Blocks (Mandatory Review)

  • Aggregate Root (AR): The cluster entry point. Only the AR should be referenced from outside.
  • Value Object (VO): Immutable, identity-less objects defined by state (e.g., Money, Email). Always prefer VOs over primitives.
  • Domain Event: A record of something significant that happened in the domain (e.g., OrderPaid).

⭐ Domain Model Scoring Rubric (0-10)

Rate your domain design based on these criteria:

  1. Immutability (2 pts): Are Value Objects used correctly instead of primitives?
  2. Invariants (2 pts): Does the Aggregate Root enforce business rules before any state change?
  3. Encapsulation (2 pts): Are internal aggregate parts hidden from the outside?
Related skills
Installs
7
Repository
kinhluan/skills
GitHub Stars
1
First Seen
Mar 15, 2026