LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

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-26

Capabilities

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

Source

  • Spec: SKILL.md
domain-driven design
clean architecture
aggregate
CRUD
CQRS
EF Core
Mapster
.NET
Plan aggregate requirements
Create aggregate roots
Create value objects
Create enumerations
Aggregate requirements
Entity properties
Value object definitions
Domain aggregate files
Value object files
Enumeration files