dotnet-clean-architecture
Installation
SKILL.md
.NET Clean Architecture
Overview
Clean Architecture organizes code into concentric layers with strict dependency rules, ensuring testability and maintainability. This skill should be invoked when building enterprise applications that require long-term maintainability, testability, and separation of concerns.
Core Principles
- Dependency Inversion: Dependencies point inward - domain has no dependencies
- Layered Structure: Domain, Application, Infrastructure, Presentation
- Business Logic in Domain: Core business rules live in the domain layer
- Abstractions: Use interfaces to define boundaries
Preparation Checklist
- Plan layer structure (Domain, Application, Infrastructure, Presentation)
- Define project structure
- Set up solution with multiple projects
- Configure dependency injection