dotnet-core-expert

Build .NET 8 minimal APIs with clean architecture, CQRS/MediatR, and EF Core.

Updated Dec 20, 2023
One-click install
npx skills add https://github.com/Thiago-Cruz-eng/Hibrygame --skill dotnet-core-expert-thiago-cruz-eng
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: dotnet-core-expert
Source: https://github.com/Thiago-Cruz-eng/Hibrygame/tree/main/.claude/skills/dotnet-core-expert
Command: npx skills add https://github.com/Thiago-Cruz-eng/Hibrygame --skill dotnet-core-expert-thiago-cruz-eng

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps you design and implement production-ready .NET 8 backend services by providing a clear workflow and guardrails for architecture, performance, security, and testing.

Core Features & Use Cases

  • Minimal API development on .NET 8: Create clean endpoint routing, request/response DTOs, OpenAPI/Swagger documentation, and middleware-compatible structure.
  • Clean architecture with CQRS and MediatR: Organize commands and queries into a maintainable layered design with dependency injection and pipeline behaviors.
  • Enterprise-grade data and security: Use Entity Framework Core with async patterns and JWT authentication/authorization with robust validation and policies.
  • Performance and cloud-native readiness: Optimize for high throughput with best practices like AOT compilation, and support containerized deployment scenarios.

Quick Start

Use this skill to generate a .NET 8 clean-architecture minimal API with CQRS/MediatR, EF Core async data access, JWT auth (register/login + /me endpoint), OpenAPI/Swagger, and xUnit integration tests for a microservice.

Frequently Asked Questions about dotnet-core-expert

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

FAQPage Schema
How do I build a .NET 8 minimal API using clean architecture and CQRS?▼

Build .NET 8 minimal APIs with clean architecture by organizing endpoints into layered designs, separating commands and queries via MediatR, and utilizing dependency injection and pipeline behaviors for maintainable, high-performance backend services.

What's the best way to set up JWT authentication in a .NET 8 minimal API?▼

Set up JWT authentication in .NET 8 minimal APIs by configuring robust validation and authorization policies within your dependency injection container, ensuring secure register/login endpoints and protected routes using modern clean architecture guardrails.

How does Entity Framework Core async data access work with MediatR in .NET 8?▼

Entity Framework Core integrates with MediatR in .NET 8 by handling async I/O operations within query and command handlers, ensuring non-blocking database requests while maintaining strict clean architecture layering and dependency injection correctness.

Do I need WebApplicationFactory for integration testing .NET 8 minimal APIs?▼

WebApplicationFactory is required for proper integration testing of .NET 8 minimal APIs, allowing you to execute end-to-end tests against your in-memory test server to verify clean architecture boundaries, MediatR pipelines, and EF Core async database operations.

Can I use .NET 8 minimal APIs for cloud-native microservices with Docker and AOT compilation?▼

.NET 8 minimal APIs support cloud-native microservice scaffolding by providing Docker-ready deployment configurations and considering Ahead-of-Time (AOT) compilation constraints to optimize for high throughput and containerized execution scenarios.

Why should I use record-based DTOs and nullable reference types in .NET 8 minimal APIs?▼

Record-based DTOs and nullable reference types are required in .NET 8 minimal APIs to enforce immutable data transfer and compile-time null safety, ensuring robust endpoint routing, clean architecture compliance, and pipeline behavior correctness.