What problem does it solve? Inconsistent C# codebases suffer from mutable DTOs, deep inheritance hierarchies, reflection-based mapping bugs, and allocation-heavy code that hurts performance. This Skill provides concrete coding standards and patterns for writing modern, type-safe, high-performance C# 12+ code. ## Core Features & Use Cases - Immutable Data Modeling: Use record types for DTOs and readonly record struct value objects with validation, factory methods, and no implicit conversions. - Performance Patterns: Apply Span<T>, Memory<T>, ArrayPool<T>, and async/await with CancellationToken for zero-allocation, high-throughput code paths. - Error Handling & API Design: Implement the Result<T, TError> pattern for expected errors, composition over inheritance, and explicit mapping methods instead of AutoMapper. - Use Case: When refactoring a legacy order-processing service, apply these standards to replace mutable classes with records, eliminate AutoMapper runtime failures with explicit mapping extensions, and convert byte[] buffer code to Span-based zero-allocation parsing. ## Quick Start Use the modern-csharp-coding-standards skill to review my OrderService class and refactor it to use records, value objects, and proper async patterns.