What problem does it solve? Inconsistent C# codebases accumulate technical debt through mutable DTOs, deep inheritance hierarchies, blocking async calls, and reflection-based mapping that fails at runtime. This Skill provides a complete, opinionated coding standard for C# 12+ so teams write uniform, performant, type-safe code from the start. ## Core Features & Use Cases - Modern Language Patterns: Enforces records for immutable data, readonly record structs for value objects, switch expressions, nullable reference types, and file-scoped namespaces. - Performance Guidance: Covers async/await best practices, CancellationToken conventions, Span<T>/Memory<T> zero-allocation patterns, and ArrayPool usage for high-throughput code. - API Design & Error Handling: Defines accept-abstractions/return-specific signatures, Result<T, TError> railway-oriented error handling, and explicit mapping methods instead of AutoMapper. - Use Case: When refactoring a legacy service, apply this Skill to convert mutable DTO classes into records, replace .Result blocking calls with async all the way, and swap AutoMapper profiles for compile-time-checked extension methods. ## Quick Start Ask the AI to write or refactor a C# class following the modern C# coding standards skill, for example to convert an order service to use records, pattern matching, and proper CancellationToken support.