csharp-coding-standards

Provide C# coding standards for modern language features and refactoring.

Updated Feb 10, 2026
One-click install
npx skills add https://github.com/tientt010/Dotnet-DotJira-Microservices --skill csharp-coding-standards-tientt010
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: csharp-coding-standards
Source: https://github.com/tientt010/Dotnet-DotJira-Microservices/tree/main/.github/skills/csharp-coding-standards
Command: npx skills add https://github.com/tientt010/Dotnet-DotJira-Microservices --skill csharp-coding-standards-tientt010

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Developers often struggle to write clean, efficient, and maintainable C# code amidst evolving language features and best practices.

Core Features & Use Cases

  • Best Practice Guidelines: Provides comprehensive standards for code structure, immutability, pattern matching, and async programming.
  • Real-World Application: Helps teams implement robust coding conventions in large projects to improve code quality and consistency.
  • Use Case: A software engineer adopts these standards to refactor legacy code into modern C# 12+ idioms, enhancing performance and readability.

Quick Start

Ask the AI to review your C# code with these guidelines for immediate improvement.

Frequently Asked Questions about csharp-coding-standards

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

FAQPage Schema
How do I refactor legacy C# code to use modern language features?

Applying modern C# coding standards helps refactor legacy code by utilizing records, pattern matching, and async/await. This transition improves code clarity, performance, and safety using modern C# 12+ idioms.

What are the best practices for async programming in C# to ensure high performance?

Best practices for async programming in C# emphasize proper use of async/await patterns to prevent bottlenecks. Following these guidelines ensures high-performance, robust code execution in professional engineering environments.

When should I use records and pattern matching in C#?

Records and pattern matching in C# should be used to enforce value semantics and immutability. Implementing these modern language features improves code structure, clarity, and safety in large software engineering projects.

Does this C# coding standards guidance apply to large team projects?

Yes, these C# coding standards are designed for real-world application in large projects. They provide comprehensive conventions for code structure and immutability to improve code quality and consistency across development teams.

What is the best way to implement immutability and value semantics in C#?

The best way to implement immutability and value semantics in C# is by using records and modern language features. Adopting these coding standards enhances code safety and efficiency while maintaining robust structural conventions.