J5ik2o Ddd When To Wrap Primitives

Use when deciding whether a primitive value should become a domain-specific type or value object. Balances primitive obsession against value-object obsession using risk, invariants, behavior, and cost. Trigger for wrapping strings/ints/UUIDs, value object decisions, too many tiny types, or whether a primitive is good enough.

j5ik2o Updated

File contents

j5ik2o/ai-tools/tree/main/plugins/software-design/skills/j5ik2o-ddd-when-to-wrap-primitives commit 71826a0256

Frequently asked questions

npx skillmds@latest add j5ik2o/j5ik2o-ddd-when-to-wrap-primitives