ddd-tactical-patterns
CommunityImplement robust DDD tactical patterns.
Software Engineering#ddd#repository#domain-driven-design#aggregate#value object#domain event#domain service
Authordandudzi
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a comprehensive guide and implementation patterns for Domain-Driven Design's tactical design elements, enabling developers to build more robust, maintainable, and domain-aligned software.
Core Features & Use Cases
- Aggregate Design: Learn to design aggregates with invariants first, ensuring business rules are strictly enforced.
- Value Objects: Implement immutable value objects for better type safety and data integrity.
- Domain Events: Understand how to model and emit domain events for asynchronous communication and auditing.
- Repository Pattern: Apply the repository pattern for clean data access abstraction.
- Domain Services: Structure complex domain logic that spans multiple aggregates.
- Use Case: When building an e-commerce platform, use these patterns to model the
Orderaggregate, ensuring that an order cannot be confirmed if it has no items or if its status is alreadyCONFIRMED.
Quick Start
Implement an aggregate root for an order, ensuring it enforces invariants like 'Order must have at least one item' and 'Cannot add items to a confirmed order'.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: ddd-tactical-patterns Download link: https://github.com/dandudzi/dotfiles/archive/main.zip#ddd-tactical-patterns 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 223,000+ vetted skills library on demand.