/software-design:j5ik2o-ddd-domain-building-blocksfrom software-design
Guides selection and application of DDD building blocks (value objects, entities, aggregates, domain services, repositories, factories, domain events) for domain modeling from requirements.
Ships in software-design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Choose the smallest DDD building block that expresses the domain rule without leaking infrastructure concerns.
Value object: identity-free, immutable, validated by construction, compared by value.
Entity: stable identity plus lifecycle, behavior, and invariants.
Aggregate: consistency boundary with one root.
Domain service: stateless domain operation that does not naturally belong to one entity or value object.
Repository: collection-like access to aggregate roots.
Factory: creation logic that protects invariants or hides construction complexity.
Domain event: something meaningful that happened in the domain.
Extract ubiquitous language from the requirement.
Classify each concept by identity, lifecycle, invariants, and behavior.
Put validation into construction where possible.
Keep application orchestration out of domain objects.
Check that persistence details do not shape the model.
For non-trivial implementation, review, or refactoring work, read references/details.md before giving final guidance. It contains the detailed rules, examples, smells, and migration notes that do not belong in the short invocation body.
Return a concept table, chosen building blocks, aggregate boundaries, and example APIs.
What SKILL.md sets; muted values are Claude Code's defaults
29 skills in this plugin
/j5ik2o-breach-encapsulation-namingUse when designing or reviewing domain-model accessors that expose internal state for persistence, serialization, tests, or framework integration. Applies the breachEncapsulationOf naming pattern so unavoidable getters are visibly treated as encapsulation breaches, not casual domain APIs. Trigger for getter naming conventions, persistence-only getters, serialization accessors, Tell Don't Ask pressure, or requests to prevent getter misuse./j5ik2o-clean-architectureUse only when the user explicitly asks for Clean Architecture design, implementation, or review. Applies a domain, use case, interface adapter, and infrastructure layer model, with persistence and RPC adapters outside the domain and use-case rules. Do not trigger for generic architecture advice, hexagonal architecture, onion architecture, or ordinary design review unless Clean Architecture is named./j5ik2o-cqrs-aggregate-modelingUse when CQRS changes aggregate boundaries or state shape. Helps reduce oversized command aggregates by moving read concerns to read models, keeping only command-decision state in aggregates, and using events for state transitions. Trigger for large aggregates, heavy command updates, aggregates containing query-only data, or boundary redesign during CQRS adoption.npx claudepluginhub j5ik2o/ai-tools --plugin software-designOther plugins' skills for the same job