dotnet-backend-clean-architecture
Installation
SKILL.md
Backend .NET – Clean Architecture + CQRS
Guide for creating and maintaining .NET 10 backends with Clean Architecture, CQRS (MediatR), and Features organization (vertical slice).
When to use
- Add a new feature (new entity + CRUD or operations).
- Add a Command or Query to an existing feature.
- Create Controller, Handler, Validator, Repository, or UnitOfWork.
- Configure HTTP integration (Refit + Http.Resilience).
- Review or refactor code to follow this skill's pattern.
When not to use
- Projects that do not use CQRS or MediatR.
- Simple minimal APIs without layered architecture.
- Codebases that use EF Migrations instead of FluentMigrator.
- Projects that already follow a different, established backend pattern.