From dotnet-ddd
Scaffold a new aggregate/feature end-to-end across all DDD layers (Domain, Application, Infrastructure, Transversal, API) plus xUnit tests, mirroring the Product reference. Use when the user wants to add a new entity/use-case to a .NET DDD Web API.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dotnet-ddd:new-featureThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Scaffold the aggregate named in `$ARGUMENTS` (e.g. `Order`) across every layer, following
Scaffold the aggregate named in $ARGUMENTS (e.g. Order) across every layer, following
the conventions in the repo's AGENTS.md. Use the existing Product aggregate as the
exact template — match namespaces, folder names, and code style.
*.slnx/*.sln and the *.Domain.Entities project to learn the real Organization.ProjectName prefix. Find the Product files to copy the pattern.ddd-architect agent (or inline): produce the ordered touch-list from AGENTS.md → "Adding a feature".: BaseEntity), I<Name>DomainService + <Name>DomainService (invariants), register in AddDomainServices.<Name>Dto/Create<Name>Dto/Update<Name>Dto, I<Name>ApplicationService + impl (returns Result/Result<T>, uses IUnitOfWork, IMapper), register in AddApplicationServices.I<Name>Repository + <Name>Repository (: Repository<T>), <Name>Configuration, DbSet<> in ApplicationDbContext, register in AddInfrastructure.<Name>Mapping (Mapster).<Name>sController (thin, Result → IActionResult).tests/unit-tests/*.Tests/<Name>/ mirroring Product*Tests.dotnet ef migrations add Add_<Name> -p <Infrastructure> -s <API>.dotnet build then dotnet test. Fix failures.Ask which fields the entity has if $ARGUMENTS doesn't say. Keep each layer minimal — skip a
domain service only if the aggregate genuinely has no invariants.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub jino-labs/ai-agent-framework --plugin dotnet-ddd