dotnet-csharp

Guide C# 8 to 15 development with .NET runtime patterns and coding standards.

1|1|Updated Mar 7, 2026
One-click install
npx skills add https://github.com/itsmichaelwest/agent-kit --skill dotnet-csharp-itsmichaelwest
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: dotnet-csharp
Source: https://github.com/itsmichaelwest/agent-kit/tree/main/skills/dotnet-csharp
Command: npx skills add https://github.com/itsmichaelwest/agent-kit --skill dotnet-csharp-itsmichaelwest

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

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.

Frequently Asked Questions about dotnet-csharp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the best practices for async/await in .NET to avoid performance issues?▼

To ensure performant .NET development, follow async/await best practices by preventing deadlocks, applying ConfigureAwait appropriately, and utilizing concurrency primitives effectively for maintainable code.

How do I use C# pattern matching and records for idiomatic API design?▼

Using modern C# language features like records and pattern matching enables idiomatic API design by enforcing immutability and simplifying complex conditional logic for cleaner, more readable code.

How do I optimize LINQ queries for better .NET runtime performance?▼

Optimizing LINQ queries in .NET requires understanding runtime execution patterns, minimizing unnecessary iterations, and applying coding standards to avoid common anti-patterns for performant development.

Does this guidance cover dependency injection and configuration management for .NET APIs?▼

Yes, it provides comprehensive guidance on .NET runtime patterns including dependency injection and configuration management to ensure robust API design and high-quality, maintainable service implementation.

What C# version features are included for modern .NET development?▼

Modern C# development features covered span from C# 8 to 15, including primary constructors, extension methods, and advanced language patterns to enforce idiomatic coding standards.