ddd-context-generator
Installation
SKILL.md
DDD Context Generator
Generate complete Domain-Driven Design bounded contexts with all 4 architectural layers (Domain, Application, Infrastructure, Presentation) for Bun.js + Express + routing-controllers backend applications.
What This Skill Does
This skill generates production-ready code for a complete bounded context following DDD and Clean Architecture principles. It creates:
- Domain Layer: Entities, value objects, repository interfaces, domain events, and errors
- Application Layer: Use cases with dependency injection and event listeners
- Infrastructure Layer: Mongoose models, repository implementations, and mappers
- Presentation Layer: Request DTOs, response serializers, controllers with decorator-based routing and Swagger documentation