By ronnythedev
Scaffolds production-grade .NET Clean Architecture solutions with CQRS, DDD entities, EF Core mappings, authentication, authorization, pipeline behaviors, background jobs, email sending, health checks, structured logging, rate limiting, and comprehensive testing (xUnit, integration with Testcontainers).
Scaffolds a complete .NET solution following Clean Architecture principles with proper layer separation (API, Application, Domain, Infrastructure). Creates project structure, dependency injection setup, and cross-cutting concerns configuration.
Generates CQRS Commands with Handlers, Validators, and Request DTOs following Clean Architecture patterns. Commands represent actions that modify state and return Result types for proper error handling.
Generates CQRS Queries with Handlers and Response DTOs for read operations. Uses Dapper for optimized read queries, bypassing the domain model for better performance.
Generates Domain Entities following DDD principles with factory methods, private setters, domain events, and proper encapsulation. Supports aggregate roots, child entities, and value objects.
Generates Repository interfaces and implementations following the Repository pattern. Provides data access abstraction for aggregate roots with EF Core implementations.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
27 AI-ready skills that teach your coding assistant how to generate production-grade .NET code — Clean Architecture, CQRS, DDD — without explaining the patterns every time.
Works with: Claude Code | GitHub Copilot | Cursor
"Create a Product entity with name, price, and category"
Your assistant generates a basic class with public setters, no validation, no events, inconsistent patterns.
"Using skill
04-dotnet-domain-entity-generator, create a Product aggregate root with Name (required, max 200), Price (positive decimal), and a CategoryId foreign key"
Your assistant generates a proper DDD entity with private setters, a Create() factory method, domain events, typed errors, and a repository interface — matching the patterns already in your codebase.

npx dotnet-clean-arch
Interactive installer: pick your agent (Claude Code, Cursor, GitHub Copilot), cherry-pick the skills you want, done. No clone required. See dotnet-clean-arch on npm for full CLI docs.
Prefer to clone or symlink directly? See Installation below for alternatives.
Then follow Recipe 0: Scaffold a New Project or jump to Recipe 1: Add a CRUD Feature if you already have a solution.
Why the
dotnet-prefix? Every skill in this collection is namespaced withdotnet-so the pack is identifiable in mixed-pack environments and addressable in conversation. Instead of remembering an exact skill name, you can say "use thedotnet-skill for CQRS commands" and the agent will narrow down the candidates. The prefix also prevents collisions with other skill packs that might use generic names likerepository-patternorunit-testing. Skill folders follow the pattern<NN>-dotnet-<topic>/, where the numeric prefix establishes a stable learning order and thedotnet-<topic>portion matches thenamefield in each skill's frontmatter.
| # | Skill | Description | Key Templates |
|---|---|---|---|
| 1 | dotnet-clean-architecture | Project scaffolding | Solution structure, layer setup, DI configuration |
| 2 | dotnet-cqrs-command-generator | Write operations | Commands, Handlers, Validators |
| 3 | dotnet-cqrs-query-generator | Read operations | Queries, Dapper SQL, Response DTOs |
| 4 | dotnet-domain-entity-generator | Domain modeling | Entities, Value Objects, Factory methods |
| 5 | dotnet-repository-pattern | Data access abstraction | Repository interfaces, EF Core implementations |
| 6 | dotnet-ef-core-configuration | Database mapping | Fluent API, Relationships, Indexes |
| 7.1 | dotnet-legacy-api-controllers | REST API controllers | Controllers, Authorization, Versioning |
| 7.2 | dotnet-minimal-api-endpoints | Minimal API endpoints | MapGet/MapPost, Filters, Versioning |
| 8 | dotnet-result-pattern | Error handling | Result, Result, Error types |
| 9 | dotnet-domain-events-generator | Event-driven design | Domain Events, Handlers, Outbox pattern |
| 10 | dotnet-pipeline-behaviors | Cross-cutting concerns | Logging, Validation, Transaction behaviors |
| # | Skill | Description | Key Templates |
|---|---|---|---|
| 11 | dotnet-fluent-validation | Input validation | AbstractValidator, Custom validators, Async validation |
| # | Skill | Description | Key Templates |
|---|---|---|---|
| 12 | dotnet-jwt-authentication | JWT Bearer auth | JwtService, Token validation, Refresh tokens |
| 13 | dotnet-permission-authorization | Permission-based access | HasPermission attribute, Policy provider |
| # | Skill | Description | Key Templates |
|---|---|---|---|
| 14 | dotnet-outbox-pattern | Reliable messaging | OutboxMessage, Processor job, Idempotency |
| 15 | dotnet-quartz-background-jobs | Scheduled jobs | IJob, Cron scheduling, Job configuration |
| 16.1 | dotnet-email-service-sendgrid | Email integration | IEmailService, SendGrid, Templates |
| 16.2 | dotnet-email-service-aws-ses | Email integration | IEmailService, AWS SES, Local Templates |
| 17 | dotnet-health-checks | Dependency monitoring | PostgreSQL, HTTP, Custom checks |
| 18 | dotnet-audit-trail | Change tracking | IAuditable, EF interceptor, Soft delete |
npx claudepluginhub ronnythedev/dotnet-clean-architecture-skillsComprehensive .NET backend development with C#, ASP.NET Core, Entity Framework Core, and Dapper for production-grade applications
The definitive Claude Code companion for .NET developers. 45 skills (including 14 slash-command workflows), 10 agents, 10 rules, 5 templates, 15 MCP tools, and automation hooks for modern .NET 10 / C# 14.
Comprehensive .NET development skills for modern C#, ASP.NET, MAUI, Blazor, Aspire, EF Core, Native AOT, testing, security, performance optimization, CI/CD, and cloud-native applications
Milan Jovanovic .NET patterns plugin: blog content management, article discovery, and proactive project analysis for Clean Architecture, DDD, CQRS, EF Core, and ASP.NET Core patterns
Claude Code plugin for Shiny Mediator - a mediator pattern implementation for .NET applications with AOT/trimming support, source generators, and rich middleware pipeline
Blazor framework skills for .NET applications