csharp-standards

Community

Enforce C# coding best practices.

Authoralex5141
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill ensures C# code adheres to established naming conventions, formatting rules, and modern language features, leading to more readable, maintainable, and consistent codebases.

Core Features & Use Cases

  • Naming Conventions: Enforces PascalCase for public members and camelCase for private members.
  • Code Formatting: Ensures consistent use of braces, spacing, and avoids magic numbers.
  • Modern C# Features: Promotes the use of expression-bodied members, var, pattern matching, and null-conditional operators.
  • Documentation: Guides on using XML documentation comments for public APIs.
  • Async/Await: Provides best practices for asynchronous programming, including naming and ConfigureAwait.
  • Use Case: When writing or reviewing C# code for a .NET project, this skill will provide guidance on how to structure classes, name methods and variables, and utilize modern C# syntax for better code quality.

Quick Start

Apply the csharp-standards skill to ensure the provided C# code follows best practices for naming and formatting.

Dependency Matrix

Required Modules

None required

Components

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-standards
Download link: https://github.com/alex5141/github-copilot-starter/archive/main.zip#csharp-standards

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.