dotnet-clean-architecture

Automates . .NET clean-architecture solution with layered Domain, Application, Infrastructure, and API projects.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/gerardogarnica/aurora-flowboard-api --skill dotnet-clean-architecture-gerardogarnica
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-clean-architecture
Source: https://github.com/gerardogarnica/aurora-flowboard-api/tree/main/.claude/skills/dotnet-clean-architecture
Command: npx skills add https://github.com/gerardogarnica/aurora-flowboard-api --skill dotnet-clean-architecture-gerardogarnica

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the setup of a complete .NET clean architecture project, removing the manual boilerplate work required to create Domain, Application, Infrastructure, and API layers.

Core Features & Use Cases

  • Generates a full multi-project .NET solution (Domain, Application, Infrastructure, API) with proper layer isolation and naming conventions.
  • Sets up dependency injection, configuration patterns (IOptions), and cross-cutting concerns scaffolding for rapid bootstrap.
  • Provides templates and folder structures for CQRS-style commands, queries, validators, and basic hosting/API scaffolding to accelerate API development.
  • Suitable for starting new APIs, microservices, or enterprise apps that demand clear separation between Domain, Application, Infrastructure, and API layers.

Quick Start

Create the solution and the four projects using the dotnet commands shown in the skill, then wire up project references to complete the scaffold.

Frequently Asked Questions about dotnet-clean-architecture

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a .NET clean architecture solution automatically?

To scaffold a .NET clean architecture solution, this skill automates creating Domain, Application, Infrastructure, and API layers with proper isolation. It generates the full multi-project structure, dependency injection wiring, and standard templates using dotnet commands to eliminate manual boilerplate setup.

What is clean architecture in C# and when do I need it for a new API?

Clean architecture in C# separates Domain, Application, Infrastructure, and API layers to enforce dependency rules and clear boundaries. You need it for new APIs, microservices, or enterprise applications that demand domain-driven design with structured project templates and cross-cutting concern scaffolding.

Can I use this scaffolding tool for CQRS-style commands and queries in .NET?

Yes, this .NET scaffolding tool provides templates and folder structures specifically designed for CQRS-style commands, queries, and validators. It accelerates API development by generating the standard structural templates needed for domain-driven design alongside the initial project layers.

Does the generated .NET clean architecture solution include dependency injection setup?

Yes, the generated .NET clean architecture solution includes complete dependency injection wiring. It sets up configuration patterns using IOptions and scaffolds cross-cutting concerns to ensure the newly created Domain, Application, Infrastructure, and API projects are properly wired up for rapid bootstrap.

What's the best way to start a multi-project .NET solution with proper layer isolation?

The best way to start a multi-project .NET solution is to use this scaffolding skill to generate Domain, Application, Infrastructure, and API projects automatically. It applies proper naming conventions, dependency rules, and layer isolation to ensure standard structural templates for enterprise applications.