Claude Code skill for interactive Domain-Driven Design modeling in Go projects.
The ddd-model skill guides you through a complete DDD modeling workflow:
- Domain discovery and subdomain classification
- Bounded context definition with context maps
- Tactical modeling (Aggregates, Entities, Value Objects)
- Invariant definition and documentation
- Go code generation following Clean Architecture
- DDD rules validation
Copy the skills/ folder to your Claude Code settings directory:
cp -r skills/ ~/.claude/skills/Or symlink for development:
ln -s $(pwd)/skills/ddd-model ~/.claude/skills/ddd-modelIn Claude Code, invoke the skill:
/ddd-model banking
Follow the interactive prompts to model your domain. The skill will:
- Ask questions about your domain and business processes
- Help identify bounded contexts and their relationships
- Guide tactical modeling decisions
- Generate Go code with proper DDD patterns
- Validate the model against DDD rules