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.
76 GitHub stars (76)
+3 in 20 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 |
- 29 skills (29 skills found in its SKILL.md files)
- 17 forks (17 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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab) -
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/SKILL.md on GitHub (opens in a new tab)
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.