Value: Communication -- domain types make code speak the language of the business. They turn implicit knowledge into explicit, compiler-verified contracts that humans and AI can reason about.
Teaches how to build rich domain models that prevent bugs at compile time rather than catching them at runtime. Covers primitive obsession detection, parse-don't-validate, making invalid states unrepresentable, and semantic type design. Independently useful for any code review or design task, and
provides the principles that domain review checks for in the TDD cycle.
Prinzipien der Domänenmodellierung: Analysieren, nicht validieren, ungültige Zustände nicht darstellbar machen, Erkennung primitiver Obsessionen, semantische Typen und Domänenvetorecht. Aktivieren Sie diese Option, wenn Sie Typen entwerfen, Code auf Domänenintegrität überprüfen oder wenn in einem TDD-Zyklus eine Domänenüberprüfung erforderlich ist. Quelle: jwilger/agent-skills.