What problem does it solve?
This Skill addresses the challenge of starting new .NET projects by providing a ready-to-use Clean Architecture scaffolder that creates a properly layered solution (API, Application, Domain, Infrastructure) with consistent structure and wiring.
Core Features & Use Cases
- Automatically scaffolds a multi-project solution with Domain, Application, Infrastructure, and API layers following the Dependency Rule.
- Provides a ready-made structure for DI, project references, and baseline templates to jump-start development.
- Use Case: When starting a new .NET initiative, run this skill to generate a complete skeleton that you can immediately customize for business domains.
Quick Start
dotnet new sln -n {SolutionName}
dotnet new classlib -n {name}.domain -o src/{name}.domain
dotnet new classlib -n {name}.application -o src/{name}.application
dotnet new classlib -n {name}.infrastructure -o src/{name}.infrastructure
dotnet new webapi -n {name}.api -o src/{name}.api
dotnet sln add src/{name}.domain/{name}.domain.csproj
dotnet sln add src/{name}.application/{name}.application.csproj
dotnet sln add src/{name}.infrastructure/{name}.infrastructure.csproj
dotnet sln add src/{name}.api/{name}.api.csproj
dotnet add src/{name}.application/{name}.application.csproj reference ../{name}.domain/{name}.domain.csproj
dotnet add src/{name}.infrastructure/{name}.infrastructure.csproj reference ../{name}.domain/{name}.domain.csproj
dotnet add src/{name}.infrastructure/{name}.infrastructure.csproj reference ../{name}.application/{name}.application.csproj
dotnet add src/{name}.api/{name}.api.csproj reference ../{name}.application/{name}.application.csproj
dotnet add src/{name}.api/{name}.api.csproj reference ../{name}.infrastructure/{name}.infrastructure.csproj