csharp-coding-standards
CommunityDefine modern C# coding standards.
Authorakoken
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a cohesive, opinionated set of guidelines for writing modern, high-performance C# code to ensure consistency across teams.
Core Features & Use Cases
- Immutability by default using record types and init-only properties to model data safely.
- Value objects as readonly record structs with explicit conversions to preserve value semantics and performance.
- Modern pattern matching and API-design practices that emphasize composition over inheritance and clear boundaries.
- Async-first design with CancellationToken awareness, ValueTask usage where appropriate, and zero-allocation patterns via Span<T> and Memory<T>.
Quick Start
- Start by enabling nullable reference types and adopting records for DTOs and messages.
- Introduce readonly record structs for value objects, and replace mutable types with immutable equivalents.
- Apply composition-based designs (interfaces + small, focused components) over inheritance to build robust APIs.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: csharp-coding-standards Download link: https://github.com/akoken/dotfiles/archive/main.zip#csharp-coding-standards Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.