domain-add-aggregate - Scaffold a Domain Aggregate with Full CRUD
Creates a complete Domain-Driven Design aggregate with CRUD scaffolding across Domain, Infrastructure, Application, Mapping, and Presentation layers.
Tags
Updated: 2026-11-26Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Plan aggregate requirements
- Create aggregate roots
- Create value objects
- Create enumerations
- Register domain events
- Configure EF Core persistence
- Generate CQRS commands
- Generate CQRS queries
- Configure Mapster mappings
- Create API endpoints
- Generate database migrations
- Compile and validate layers
Inputs
- Aggregate requirements
- Entity properties
- Value object definitions
- Enumeration definitions
- Business rules
- Lifecycle operations
- Module project structure
Outputs
- Domain aggregate files
- Value object files
- Enumeration files
- Domain event files
- EF Core configuration
- Database migration
- CQRS command files
- CQRS query files
- DTO mapping configuration
- Minimal API endpoints
- Build validation results
Requirements
- .NET 10 SDK or .NET 8+
- bITdevKit framework
- EF Core
- Mapster
- Layered module structure
- DDD knowledge
- Clean Architecture knowledge
- CQRS knowledge
- Result pattern knowledge
