
Modern Csharp Coding Standards
Aaron Namba's skill pushes you toward modern C# idioms that actually matter: records for immutable types, pattern matching over verbose conditionals, and CancellationToken parameters everywhere async happens. The performance guidance is practical, not theoretical. Use Span<T> and ArrayPool<T> where allocations hurt, skip AutoMapper for explicit mapping, and handle business errors with Result types instead of exceptions. It includes four reference files covering value objects, API design, composition patterns, and reflection anti-patterns. If you're still writing C# like it's 2015 or cargo-culting patterns from Stack Overflow, this will modernize your instincts without the usual enterprise architecture bloat.
- skills.sh installs
- 2.3K
- GitHub stars
- 1.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add aaronontheweb/dotnet-skills --skill modern-csharp-coding-standards --agent claude-codeInstalls into .claude/skills of the current project.
Files
Modern C# Coding Standards
When to Use This Skill
Use this skill when:
- Writing new C# code or refactoring existing code
- Designing public APIs for libraries or services
- Optimizing performance-critical code paths
- Implementing domain models with strong typing
- Building async/await-heavy applications
- Working with binary data, buffers, or high-throughput scenarios
Reference Files
- value-objects-and-patterns.md: Full value object examples and pattern matching code
- performance-and-api-design.md: Span/Memory examples and API design principles
- composition-and-error-handling.md: Composition over inheritance, Result type, testing patterns
- anti-patterns-and-reflection.md: Reflection avoidance and common anti-patterns
Core Principles
Sponsors
Details
- Repository
- github.com/aaronontheweb/dotnet-skills
- Categories
- Backend & APIs, Code Review & Quality, Debugging, Design & UI/UX, .NET & C#
More from aaronontheweb/dotnet-skills
All 34- Csharp Concurrency Patterns1.6K
- Efcore Patterns1.6K
- Dependency Injection Patterns703
- Database Performance700
- Dotnet Project Structure692
- Api Design690
- Type Design Performance684
- Ilspy Decompile640
- Package Management613
- Microsoft Extensions Configuration609
- Serialization596
- Crap Analysis581
- Dotnet Slopwatch580
- Testcontainers Integration Tests579
- Playwright Blazor Testing560
- Dotnet Local Tools550
- Aspire Integration Testing522
- Mjml Email Templates513
- Aspire Service Defaults497
- Aspire Configuration487
- Snapshot Testing484
- Dotnet Devcert Trust457
- Skills Index Snippets456
- Playwright Ci Caching455