Back to Skills

dotnet-10-csharp-14

Use when building .NET 10 or C# 14 applications; when using minimal APIs, modular monolith patterns, or feature folders; when implementing HTTP resilience, Options pattern, Channels, or validation; when seeing outdated patterns like old extension method syntax

2starsUpdated 6/23/2026

Security Assessment

Safe(100/100)
Security Score100/100

About dotnet-10-csharp-14

The dotnet-10-csharp-14 skill is a best-practices guide for building applications with .NET 10 (LTS) and C# 14, focused on minimal APIs rather than MVC. It is used when building such apps, applying modular monolith or feature-folder patterns, implementing HTTP resilience, the Options pattern, Channels, or validation, or when modernizing outdated patterns.

It provides a quick-start project and program setup (validation, problem details, OpenAPI, JWT auth, rate limiting, health checks, output cache, and modules with the correct middleware order) and decision flowcharts for choosing between Result and exceptions, the right IOptions variant, and channel types. It summarizes key C# 14 patterns (extension blocks, the field keyword, and null-conditional assignment) and .NET 10 features (built-in validation, TypedResults, standard HTTP resilience, and RFC 9457 error handling), and gives mandatory-pattern and anti-pattern reference tables, backed by detail files on C# 14, minimal APIs, security, infrastructure, testing, anti-patterns, and libraries.

It is most useful for .NET developers who want current, opinionated guidance and copy-ready patterns for .NET 10 and C# 14 minimal-API applications.

FAQ

When should I use this skill?

When building .NET 10 or C# 14 applications, using minimal APIs, modular monolith or feature folders, HTTP resilience, the Options pattern, Channels, or validation, or modernizing outdated patterns.

What does it focus on?

Minimal APIs (not MVC) on .NET 10 LTS with C# 14, including program setup, middleware order, and modern framework features.

Which C# 14 and .NET 10 features does it highlight?

C# 14 extension blocks, the field keyword, and null-conditional assignment, plus .NET 10 built-in validation, TypedResults, standard HTTP resilience, and RFC 9457 problem details.

Does it give opinionated rules?

Yes. It includes mandatory-pattern and anti-pattern tables, for example always using TypedResults and the standard resilience handler, and never using new HttpClient() or blocking on async.

How is the detail organized?

Into reference files covering C# 14, minimal APIs, security, infrastructure, testing, anti-patterns, and libraries.

All Files

8 files
anti-patterns.md6.9 KB
View
csharp-14.md4.9 KB
View
infrastructure.md19.3 KB
View
SKILL.md8.5 KB
View
libraries.md8.6 KB
View
testing.md8.5 KB
View
minimal-apis.md6.3 KB
View
security.md6.3 KB
View

Install dotnet-10-csharp-14

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill