dotnet-idioms
CommunityWrite clean, idiomatic .NET 8+ apps.
Software Engineering#csharp#unit testing#middleware#dependency injection#dotnet 8#minimal apis#entity framework core
Authorirahardianto
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you avoid non-idiomatic .NET code patterns by standardizing how you structure endpoints, data access, configuration, middleware, and testing for .NET 8+.
Core Features & Use Cases
- Minimal APIs vs. Controllers: Choose the right endpoint style for simple routes or complex behaviors, keeping request/response logic clear and maintainable.
- Entity Framework Core best practices: Apply scoped DbContext usage, migrations via CLI, efficient read-only querying, and performance-aware patterns like compiled queries.
- Strongly-typed configuration and middleware: Use IOptions<T> for configuration clarity and implement cross-cutting concerns through consistent middleware design.
- Testing that scales: Prefer xUnit + FluentAssertions, use WebApplicationFactory for integration tests, and keep test databases clean with Respawn.
Quick Start
Use the dotnet-idioms skill to propose an idiomatic .NET 8 design for the service by aligning endpoints, EF Core usage, configuration, middleware, and testing conventions with the skill’s patterns.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: dotnet-idioms Download link: https://github.com/irahardianto/awesome-agv/archive/main.zip#dotnet-idioms Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.