dotnet-core-expert

Build .NET 8 APIs and microservices with clean architecture and EF Core.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/kamelmh/opencode-config --skill dotnet-core-expert-kamelmh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-core-expert
Source: https://github.com/kamelmh/opencode-config/tree/main/skills/dotnet-core-expert
Command: npx skills add https://github.com/kamelmh/opencode-config --skill dotnet-core-expert-kamelmh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill removes the friction of designing and implementing modern .NET backend systems by guiding architecture, API design, persistence, security, and testing in one place.

Core Features & Use Cases

  • Minimal APIs and Clean Architecture: Build maintainable service boundaries with clear separation between web, application, domain, and infrastructure layers.
  • Data Access and CQRS: Implement Entity Framework Core, MediatR handlers, projections, migrations, and async queries for reliable business workflows.
  • Security and Cloud Readiness: Add JWT authentication, authorization policies, OpenAPI docs, health checks, Docker support, and production-grade deployment patterns.
  • Use Case: A team can use this Skill to scaffold a new cloud-native .NET 8 microservice, implement secure endpoints, persist data correctly, and validate everything with integration tests.

Quick Start

Ask for a .NET 8 solution with minimal APIs, clean architecture, EF Core persistence, JWT authentication, Swagger, and integration tests for your feature.

Frequently Asked Questions about dotnet-core-expert

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

FAQPage Schema
How do I structure a .NET 8 minimal API with clean architecture and CQRS?

Build a .NET 8 minimal API by separating web, application, domain, and infrastructure layers, using MediatR handlers to implement CQRS patterns for reliable business workflows. This ensures clear service boundaries and maintainability.

What is the best way to implement JWT authentication in a .NET 8 microservice?

Implement JWT authentication in a .NET 8 microservice by configuring authorization policies and security middleware. This provides production-grade access control alongside OpenAPI docs, health checks, and cloud-native deployment patterns.

How do I configure Entity Framework Core with async queries and migrations in .NET 8?

Configure Entity Framework Core by implementing async queries, projections, and migrations within your .NET 8 infrastructure layer. This ensures reliable data persistence and efficient business workflow execution.

Do I need integration tests for a .NET 8 minimal API with EF Core?

Yes, integration tests are required for .NET 8 minimal APIs using EF Core. Validate secure endpoints, persistence, and MediatR handlers to ensure cloud-native microservices function correctly before production deployment.

Can I use record DTOs and nullable reference types with C# 12 conventions?

Yes, .NET 8 services built with this approach require record DTOs, nullable reference types, and async I/O using C# 12 conventions. These features ensure robust data transfer and null-safe API endpoints.

When should I not use minimal APIs for a .NET 8 backend service?

Avoid minimal APIs if your .NET 8 backend does not require strict separation between web, application, domain, and infrastructure layers. Complex domains needing heavy controller structures may outweigh lightweight endpoint definitions.