aaronontheweb avatar

Modern Csharp Coding Standards

Modern C# coding standards for records, pattern matching, value objects, async, and Span<T>/Memory<T> with a functional style.

skills.sh installs
2.3K
GitHub stars
1.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers immutability, value objects, pattern matching, nullable reference types, async/await, and zero-allocation buffer handling
  • Includes readonly record struct value object rules, Result type guidance, and reference files for performance and API design
  • Enforces no implicit conversion operators, no inheritance-heavy abstract base classes, and no reflection-based mappers such as AutoMapper
  • Designed for developers writing new C# code, refactoring existing code, or optimizing performance-critical paths on .NET 8 and later

Install

$ npx -y skills add aaronontheweb/dotnet-skills --skill modern-csharp-coding-standards -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

Core Principles

Details

Repository
github.com/aaronontheweb/dotnet-skills
Category
.NET & C#

More from aaronontheweb/dotnet-skills

All 34

Similar to Modern Csharp Coding Standards

More .NET & C#