dotnet-clean-architecture
CommunityScaffold a complete .NET Clean Architecture.
System Documentation
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
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: dotnet-clean-architecture Download link: https://github.com/ronnythedev/dotnet-clean-architecture-skills/archive/main.zip#dotnet-clean-architecture Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.