scaffolding
Installation
SKILL.md
Scaffolding
Core Principles
- Architecture-aware generation — Never scaffold without knowing the project's architecture (VSA, CA, DDD, Modular Monolith). If unknown, ask first or run the architecture-advisor questionnaire.
- Complete vertical slices — Never generate half a feature. A scaffold includes endpoint, handler, validation, DTOs, EF configuration, and tests as a single unit.
- Tests included by default — Every scaffolded feature includes at least one integration test using
WebApplicationFactory+Testcontainers. Skip only if explicitly told to. - Modern C# 14 patterns — Primary constructors, collection expressions,
file-scoped types, records for DTOs,sealedon all handler classes. - Convention-matching — Before generating, check existing code for naming patterns (
*Handler,*Service,*Endpoint), folder structure, and access modifiers. Match what exists.
Scaffold Checklist (MANDATORY)
Every scaffolded feature MUST include ALL of the following. Do not skip any item: