Rule Architecture

Domain Modeling

Model the domain with explicit types rather than primitive values

typesdomaindesign
CLAUDE.md

Model the domain with explicit types rather than primitive values. Use UserId instead of string, Money instead of number. This prevents accidental misuse and makes the code self-documenting.

Copy this block into your CLAUDE.md or agent config file to enforce it in your workflow.

get crystl