value-object-pattern-applied
CommunityImplement Value Objects for robust domain modeling.
Software Engineering#refactoring#domain modeling#ddd#domain-driven design#java#value object#immutability
Authorpwyczes
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you identify and implement Value Objects, a core Domain-Driven Design pattern, to encapsulate domain concepts, reduce primitive obsession, and improve code clarity and robustness.
Core Features & Use Cases
- Identify Opportunities: Detects situations ripe for Value Object implementation, such as primitive clusters, scattered validation, or hidden domain concepts.
- Guided Implementation: Provides a structured workflow for designing and implementing Value Objects, emphasizing intention-revealing interfaces and side-effect-free behavior.
- Use Case: Refactor a Java codebase where
String isbnandString editionare used inconsistently, into aBookIdentifierValue Object with built-in validation and clear domain meaning.
Quick Start
Apply the value-object-pattern-applied skill to refactor primitive parameters in the estimateShippingCost method into an Address Value Object.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: value-object-pattern-applied Download link: https://github.com/pwyczes/ddd-ai-skills-applied/archive/main.zip#value-object-pattern-applied Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.