Updated 3mo ago
by ronnythedev
dotnet-clean-architecture-skills
27 AI-ready skills for generating production-grade .NET code — Clean Architecture, CQRS, DDD. Works with Claude Code, GitHub Copilot, and Cursor.
77 GitHub stars (77)
+3 in 30 days
| Period | New stars |
|---|---|
| Sep 27 | 0 |
| Sep 28 | +1 |
| Sep 29 | 0 |
| Sep 30 | 0 |
| Oct 1 | 0 |
| Oct 2 | 0 |
| Oct 3 | 0 |
| Oct 4 | 0 |
| Oct 5 | 0 |
| Oct 6 | 0 |
| Oct 7 | 0 |
| Oct 8 | 0 |
| Oct 9 | 0 |
| Oct 10 | +1 |
| Oct 11 | 0 |
| Oct 12 | 0 |
| Oct 13 | 0 |
| Oct 14 | 0 |
| Oct 15 | +1 |
| Oct 16 | 0 |
| Oct 17 | 0 |
| Oct 18 | 0 |
| Oct 19 | 0 |
| Oct 20 | 0 |
| Oct 21 | 0 |
| Oct 22 | 0 |
| Oct 23 | 0 |
| Oct 24 | 0 |
| Oct 25 | 0 |
| Oct 26 | 0 |
| Oct 27 | +1 |
| Oct 28 | 0 |
| Oct 29 | 0 |
| Oct 30 | 0 |
| Oct 31 | 0 |
| Nov 1 | 0 |
| Nov 2 | 0 |
| Nov 3 | 0 |
| Nov 4 | 0 |
| Nov 5 | 0 |
- 29 skills (29 skills found in its SKILL.md files)
- 16 forks (16 forks)
- 3mo ago last update (Last updated 3mo ago)
Install
Skills CLI
npx skills add ronnythedev/dotnet-clean-architecture-skills
Asks which skills and agents to install. Just one: npx skills add ronnythedev/dotnet-clean-architecture-skills --skill dotnet-clean-architecture — add -g for every project.
Claude Code
git clone https://github.com/ronnythedev/dotnet-clean-architecture-skillscp -r "dotnet-clean-architecture-skills/skills/01-dotnet-clean-architecture" ~/.claude/skills/
Copies the dotnet-clean-architecture skill into ~/.claude/skills/ for every project (use .claude/skills/ for one project). Repeat for the other skills listed below.
Plugin
/plugin marketplace add ronnythedev/dotnet-clean-architecture-skills
Run inside Claude Code if the repository ships a plugin marketplace, then pick plugins from /plugin.
Skills can run code on your machine — read the SKILL.md first.
What it does
In the author's own words, from each skill's SKILL.md — showing the first 29 of 58 files.
-
dotnet-clean-architecture
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.
skills/01-dotnet-clean-architecture/ on GitHub (opens in a new tab)SKILL.md -
dotnet-cqrs-command-generator
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.
skills/02-dotnet-cqrs-command-generator/ on GitHub (opens in a new tab)SKILL.md -
dotnet-cqrs-query-generator
Generates CQRS Queries with Handlers and Response DTOs for read operations. Uses Dapper for optimized read queries, bypassing the domain model for better performance.
skills/03-dotnet-cqrs-query-generator/ on GitHub (opens in a new tab)SKILL.md -
dotnet-domain-entity-generator
Generates Domain Entities following DDD principles with factory methods, private setters, domain events, and proper encapsulation. Supports aggregate roots, child entities, and value objects.
skills/04-dotnet-domain-entity-generator/ on GitHub (opens in a new tab)SKILL.md -
dotnet-repository-pattern
Generates Repository interfaces and implementations following the Repository pattern. Provides data access abstraction for aggregate roots with EF Core implementations.
skills/05-dotnet-repository-pattern/ on GitHub (opens in a new tab)SKILL.md -
dotnet-ef-core-configuration
Generates Entity Framework Core configurations using Fluent API. Maps domain entities to database tables with proper relationships, constraints, and conventions.
skills/06-dotnet-ef-core-configuration/ on GitHub (opens in a new tab)SKILL.md -
dotnet-legacy-api-controllers
Generates RESTful API Controllers with proper routing, versioning, authorization, and MediatR integration. Follows REST conventions and Clean Architecture patterns.
skills/07.1-dotnet-legacy-api-controllers/ on GitHub (opens in a new tab)SKILL.md -
dotnet-minimal-api-endpoints
Generates Minimal API endpoints following Microsoft's recommended approach. Creates fast, testable HTTP APIs with minimal code using MapGet/MapPost/MapPut/MapDelete. Preferred over controller-based APIs for new projects.
skills/07.2-dotnet-minimal-api-endpoints/ on GitHub (opens in a new tab)SKILL.md -
dotnet-result-pattern
Implements the Result pattern for explicit error handling without exceptions. Provides Result, Result<T>, and Error types for clean, predictable control flow in domain-driven applications.
skills/08-dotnet-result-pattern/ on GitHub (opens in a new tab)SKILL.md -
dotnet-domain-events-generator
Generates Domain Events and their handlers following DDD patterns. Implements event raising in entities, MediatR notification handlers, and the Outbox pattern for reliable event processing.
skills/09-dotnet-domain-events-generator/ on GitHub (opens in a new tab)SKILL.md -
dotnet-pipeline-behaviors
Generates MediatR Pipeline Behaviors for cross-cutting concerns like logging, validation, exception handling, caching, and performance monitoring. Implements the decorator pattern around handlers.
skills/10-dotnet-pipeline-behaviors/ on GitHub (opens in a new tab)SKILL.md -
dotnet-fluent-validation
Generates FluentValidation validators for commands and queries. Includes common validation rules, custom validators, async validation, and integration with MediatR pipeline behaviors.
skills/11-dotnet-fluent-validation/ on GitHub (opens in a new tab)SKILL.md -
dotnet-jwt-authentication
Configures JWT Bearer authentication for .NET APIs. Includes token generation, validation, refresh tokens, and user context extraction from claims.
skills/12-dotnet-jwt-authentication/ on GitHub (opens in a new tab)SKILL.md -
dotnet-permission-authorization
Implements permission-based authorization with custom attributes, policy providers, and authorization handlers. Provides granular access control beyond simple role-based authorization.
skills/13-dotnet-permission-authorization/ on GitHub (opens in a new tab)SKILL.md -
dotnet-outbox-pattern
Implements the Outbox pattern for reliable domain event processing. Ensures events are persisted in the same transaction as the aggregate changes and processed asynchronously with guaranteed delivery.
skills/14-dotnet-outbox-pattern/ on GitHub (opens in a new tab)SKILL.md -
dotnet-quartz-background-jobs
Generates scheduled background jobs using Quartz.NET. Includes job definitions, triggers, cron scheduling, dependency injection, and persistent job store configuration.
skills/15-dotnet-quartz-background-jobs/ on GitHub (opens in a new tab)SKILL.md -
dotnet-email-service-sendgrid
Implements email service abstraction with SendGrid provider. Includes template support, localization, async sending, and domain event integration for transactional emails.
skills/16.1-dotnet-email-service-sendgrid/ on GitHub (opens in a new tab)SKILL.md -
dotnet-email-service-aws-ses
Implements email service using AWS SES for .NET APIs. Designed for applications with HTML template support, placeholder replacement, and Result pattern error handling.
skills/16.2-dotnet-email-service-aws-ses/ on GitHub (opens in a new tab)SKILL.md -
dotnet-health-checks
Configures health checks for database, external services, and custom application checks. Provides liveness and readiness endpoints for container orchestration.
skills/17-dotnet-health-checks/ on GitHub (opens in a new tab)SKILL.md -
dotnet-audit-trail
Generates audit trail infrastructure for entities. Implements IAuditable interface, EF Core SaveChanges interceptor, and automatic population of CreatedAt, UpdatedAt, CreatedBy, and UpdatedBy fields.
skills/18-dotnet-audit-trail/ on GitHub (opens in a new tab)SKILL.md -
dotnet-dapper-query-builder
Generates optimized read queries using Dapper. Includes multi-mapping for joins, pagination, dynamic filtering, CTEs, and best practices for high-performance data access.
skills/19-dotnet-dapper-query-builder/ on GitHub (opens in a new tab)SKILL.md -
dotnet-specification-pattern
Implements the Specification pattern for encapsulating query logic. Enables composable, reusable, and testable query criteria with support for includes, ordering, and pagination.
skills/20-dotnet-specification-pattern/ on GitHub (opens in a new tab)SKILL.md -
dotnet-unit-testing
Generates unit tests for command and query handlers using xUnit and NSubstitute. Implements Arrange-Act-Assert pattern with comprehensive test coverage for success and failure scenarios.
skills/21-dotnet-unit-testing/ on GitHub (opens in a new tab)SKILL.md -
dotnet-integration-testing
Configures integration tests with WebApplicationFactory and Testcontainers. Provides test database setup, authentication helpers, and utilities for testing API endpoints with real dependencies.
skills/22-dotnet-integration-testing/ on GitHub (opens in a new tab)SKILL.md -
dotnet-logging-configuration
Configures structured logging with ILogger<T> and ILoggerFactory following Microsoft best practices. Includes Serilog setup, log enrichment, and logging source generators for high-performance logging.
skills/23-dotnet-logging-configuration/ on GitHub (opens in a new tab)SKILL.md -
dotnet-rate-limiting
Implements ASP.NET Core rate limiting middleware for API protection. Covers fixed window, sliding window, token bucket, and concurrency limiters with custom policies.
skills/24-dotnet-rate-limiting/ on GitHub (opens in a new tab)SKILL.md -
dotnet-postgresql-best-practices
PostgreSQL database design best practices, naming conventions, indexing strategies, and performance optimization for .NET applications using Npgsql and EF Core.
skills/25.1-dotnet-postgresql-best-practices/ on GitHub (opens in a new tab)SKILL.md -
dotnet-sqlserver-best-practices
SQL Server database design best practices, naming conventions, indexing strategies, and performance optimization for .NET applications using Microsoft.Data.SqlClient and EF Core.
skills/25.2-dotnet-sqlserver-best-practices/ on GitHub (opens in a new tab)SKILL.md -
dotnet-options-pattern
Implements the Options pattern for strongly-typed configuration in .NET. Covers IOptions<T>, IOptionsSnapshot<T>, and IOptionsMonitor<T> with validation and reload support.
skills/26-dotnet-options-pattern/ on GitHub (opens in a new tab)SKILL.md
No skill matches that filter.
Review before you install
A skill is a set of instructions and scripts your agent will follow, and it can run code on your machine. Read the SKILL.md and any scripts first — this listing is not a security review.