What problem does it solve?
Many contributions to the Minecraft Console Client can diverge in style, misuse modern C# features, or introduce avoidable performance and nullability issues; this guide consolidates C# 14 / .NET 10 conventions, idioms, and performance patterns to make code more consistent, safe, and efficient.
Core Features & Use Cases
- Naming & Style: Clear rules for types, members, fields, parameters, interfaces, and async naming to standardize repository-wide code style.
- Language Features: Recommendations for C# 14/C# 13/C# 12 features (extension blocks, field keyword, primary constructors, collection expressions) and when to prefer them.
- Performance & Safety: Guidance on span-based parsing, ArrayPool/stackalloc, FrozenDictionary/FrozenSet, async/cancellation propagation, proper nullable handling, and exception/resource patterns; ideal for writing new modules, reviewing PRs, or refactoring hot paths.
Quick Start
Ask the skill to review a C# file or PR and list specific edits to align it with the project's .NET 10/C# 14 conventions, nullability rules, and performance recommendations.