dotnet-hexagonal-architecture

Generate a .NET 10 hexagonal architecture project skeleton with CQRS layers.

21|4|Updated Jan 8, 2026
One-click install
npx skills add https://github.com/JotJunior/claude-ai-tips --skill dotnet-hexagonal-architecture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-hexagonal-architecture
Source: https://github.com/JotJunior/claude-ai-tips/tree/main/language-related/dotnet/skills/dotnet-hexagonal-architecture
Command: npx skills add https://github.com/JotJunior/claude-ai-tips --skill dotnet-hexagonal-architecture

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill generates a .NET 10 project structure following Hexagonal Architecture, CQRS, Clean Code, and SOLID principles to help you start new projects with a solid foundation.

Core Features & Use Cases

  • Generate a multi-layer project skeleton with Domain, Application, Infrastructure, and API layers, following CQRS and Clean Architecture.
  • Provide ready-to-extend templates and conventions for SOLID, mapping, validation, and messaging integrations (EF Core / Dapper, PostgreSQL, RabbitMQ, gRPC, Mapster, FluentValidation, etc.).
  • Use case: start a new feature/module with consistent architecture, ensuring testability and maintainability from day one.

Quick Start

Create a new .NET 10 project scaffold with hexagonal architecture.

Frequently Asked Questions about dotnet-hexagonal-architecture

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

FAQPage Schema
How do I generate a .NET project with hexagonal architecture and CQRS?

Generating a .NET hexagonal architecture project skeleton involves structuring code into Domain, Application, Infrastructure, and API layers with CQRS and SOLID patterns. This skill automatically creates that multi-layer project skeleton for .NET 10 applications to ensure testability and maintainability from day one.

What is the best way to structure a new .NET 10 application using Clean Architecture?

The best way to structure a new .NET 10 application using Clean Architecture is dividing it into Domain, Application, Infrastructure, and API layers. This approach enforces SOLID principles, CQRS patterns, and clear separation of concerns to maintain a solid project foundation.

Can I use PostgreSQL and RabbitMQ with a .NET hexagonal architecture template?

Yes, you can use PostgreSQL and RabbitMQ with a .NET hexagonal architecture template. The generated project skeleton integrates EF Core or Dapper for PostgreSQL data access, RabbitMQ for messaging, gRPC, and ETCD configuration to provide ready-to-extend infrastructure templates.

Does the .NET hexagonal architecture generator include validation and testing setup?

Yes, the .NET hexagonal architecture generator includes validation and testing setup. It implements FluentValidation for data validation, Mapster for object mapping, and provides xUnit-based test templates to ensure consistent architecture and testability across new features.

When do I need to scaffold a hexagonal architecture .NET project?

You need to scaffold a hexagonal architecture .NET project when starting new projects or features. It provides a multi-layer structure with Domain, Application, Infrastructure, and API layers, enforcing Clean Code, CQRS, and SOLID principles to guarantee maintainability from the start.

What are the limitations of auto-generating a .NET hexagonal project skeleton?

The limitation of auto-generating a .NET hexagonal project skeleton is that it provides a fixed structure with specific technologies like EF Core, PostgreSQL, and RabbitMQ. It serves as a starting template requiring manual extension to implement actual business logic within the generated layers.