implement-value-object
Installation
SKILL.md
Works with Python dataclasses in domain/value_objects/ and domain/values/ directories.
implement-value-object
Purpose
Create immutable domain value objects using the frozen dataclass pattern with proper validation, factory methods, and immutability guarantees enforced at the type system level.
When to Use
Use this skill when:
- Implementing domain value objects - Creating validated, immutable domain concepts
- Creating immutable data structures - Building type-safe value containers
- Adding validation to values - Ensuring domain constraints are enforced
Trigger phrases:
- "Create a value object for X"
- "Implement immutable Y value"
- "Add validation to Z value"
- "Build value object with validation"
Related skills