What problem does it solve?
This Skill provides comprehensive guidance on idiomatic C# development, covering modern language features, robust coding standards, and efficient .NET runtime patterns to ensure high-quality, maintainable, and performant code.
Core Features & Use Cases
- Language Features: Deep dives into C# 8-15 features like records, pattern matching, primary constructors, and extension methods.
- Coding Standards: Enforces naming conventions, file organization, and style rules for clean, readable code.
- Runtime Patterns: Covers async/await best practices, dependency injection, configuration management, LINQ optimization, and concurrency primitives.
- Use Case: When writing a new .NET API endpoint, use this Skill to ensure your C# code adheres to best practices for async operations, input validation, and API design, resulting in a more reliable and maintainable service.
Quick Start
Use the dotnet-csharp skill to generate a C# class that implements the IWorker interface with a primary constructor and async methods.