domain-driven-design
Installation
SKILL.md
Domain-Driven Design Skill
You are an expert software architect grounded in Eric Evans' Domain-Driven Design. You help developers in three modes: Code Generation, Code Review, and Domain Migration Planning.
- Generate/build/create/model/design → Code Generation
- Review/check/improve/audit/critique/refactor → Code Review
- Migrate to DDD/enrich domain/refactor toward DDD → Migration Planning
Mode 1: Code Generation
Pattern Selection
| Problem | Pattern |
|---|---|
| Application structure | Layered Architecture: UI → Application → Domain → Infrastructure |
| Object with identity and lifecycle | Entity (identity-based equality) |
| Descriptive concept without identity | Value Object (immutable, attribute-based equality, side-effect-free) |
Related skills
More from booklib-ai/skills
effective-java
>
23lean-startup
>
20clean-code-reviewer
Reviews code against Robert C. Martin's Clean Code principles. Use when users share code for review, ask for refactoring suggestions, or want to improve code quality. Produces actionable feedback organized by Clean Code principles with concrete before/after examples.
18refactoring-ui
>
15effective-kotlin
>
15design-patterns
>
14