api-versioning
API versioning strategies for ASP.NET Core. Covers Asp.Versioning library, URL segment,…
Architecture-aware feature scaffolding for .NET 10 projects. Detects the project's architecture (VSA, Clean Architecture, DDD, Modular Monolith) and generates complete feature slices with all required layers: endpoint, handler, validator, DTOs, EF configuration, and integration
$ npx -y skills add codewithmukesh/dotnet-claude-kit --skill scaffold --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/scaffoldContext preview
The summary Claude sees to decide when to auto-load this skill.
Architecture-aware feature scaffolding for .NET 10 projects. Detects the project's architecture (VSA, Clean Architecture, DDD, Modular Monolith) and generates complete feature slices with all required layers: endpoint, handler, validator, DTOs, EF configuration, and integration
name: scaffold description: > Architecture-aware feature scaffolding for .NET 10 projects. Detects the project's architecture (VSA, Clean Architecture, DDD, Modular Monolith) and generates complete feature slices with all required layers: endpoint, handler, validator, DTOs, EF configuration, and integration tests — with the completeness checklist and per-architecture code templates every generated feature must satisfy. Use when: "scaffold", "create feature", "add feature", "new endpoint", "generate", "add entity", "scaffold a module", "add module", or when customizing generation templates or defining what a complete feature slice includes.
Generates a complete feature with all required files based on the project's architecture. Never generates half a feature — every scaffold includes the endpoint, handler, validation, DTOs, EF configuration, and at least one integration test as a single unit, written in modern C# 14 (primary constructors, collection expressions, records, sealed handlers, TypedResults).
Supported architectures (file placement maps and code shape templates live in `references/architecture-patterns.md`):
Use the `architecture-advisor` skill to determine the project's architecture:
Confirm with the user before generating (skip anything the plan already answers): 1. Feature/entity name and operations needed — full CRUD or a subset? 2. Key fields and invariants for any new entity 3. Module placement (Modular Monolith only) — existing module or new one?
Use the `convention-learner` skill and MCP tools to check:
Match what exists. Do not impose new conventions on an established codebase.
Generate every file the architecture requires, following the templates in `references/architecture-patterns.md`:
The reference also covers the shared shapes every architecture reuses (endpoint group, validator, entity + `IEntityTypeConfiguration<T>` pair, test fixture) and the anti-patterns to avoid.
Every scaffolded feature MUST include ALL nine items. Do not skip any:
Also verify supporting infrastructure — scaffold it if missing: list endpoints get bounded pagination (`page`/`pageSize`, max 50), Program.cs has `app.UseExceptionHandler()`, and appsettings.json has a connection string.
Prove the scaffold works before reporting done:
dotnet build --no-restore
dotnet test --no-build --filter "FullyQualifiedName~{FeatureName}"If the build or tests fail, fix and re-run before presenting results.
User: /scaffold a Product Catalog feature with CRUD operations Claude: Detected architecture: Vertical Slice Architecture Created files: src/Features/Products/CreateProduct.cs -- Command + handler + validator src/Features/Products/GetProduct.cs -- Query by ID + handler src/Features/Products/ListProducts.cs -- Paginated list + handler src/Features/Products/UpdateProduct.cs -- Command + handler + validator src/Features/Products/DeleteProduct.cs -- Command + handler src/Features/Products/ProductEndpoints.cs -- IEndpointGroup, OpenAPI metadata src/Features/Products/ProductConfig
API versioning strategies for ASP.NET Core. Covers Asp.Versioning library, URL segment,…
Architecture conformance check: verifies an existing codebase against its declared…
Architecture selection advisor for .NET applications. Asks structured questions about domain…
.NET Aspire for cloud-native orchestration. Covers AppHost configuration, service defaults,…
Authentication and authorization for ASP.NET Core. Covers JWT bearer tokens, OpenID Connect,…
Autonomous iteration loops for .NET: drive a broken build or failing test suite to green with…