design-value-objects
Replace primitive obsession with focused value objects that make domain invariants explicit and difficult to bypass. Use when a primitive carries domain meaning, when validation is repeated, or when designing construction, equality, mutation, serialization, and boundary APIs for domain values. Pair with parse-dont-validate when the value is created from untrusted input. Do not use for ordinary data containers, external facts that change over time, or framework-specific schema configuration.
Pinned to revision df54c16f19de, so it is the text this page describes rather than whatever the author pushed since.
Pre-approved tools experimental
Experimental field. Support varies between clients, so this list is what the author declared, not what your client will enforce.
- AskUserQuestion
- Read
- Write
- Bash
Files
Every link opens the file at its source, pinned to the revision this page describes.