coding-conventions

Community

Standardize C#/.NET code, leverage modern features for quality.

AuthorRevTechStudio
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill ensures all .NET/C# code adheres to consistent, modern coding standards, improving readability, maintainability, and performance. It actively promotes the use of the latest C# features (12/13/14) while enforcing strict formatting and naming rules.

Core Features & Use Cases

  • Modern C# Feature Adoption: Guides the use of C# 12+ features like Primary Constructors, Collection Expressions, and field keyword, ensuring code is up-to-date and concise.
  • Strict Naming & Layout: Enforces PascalCase for types/members, CamelCase for local variables/parameters, and Allman style for braces, with no brace omission.
  • Code Quality Principles: Prohibits practices like underscore prefixes for private fields and inline comments, promoting cleaner, more consistent code.
  • Use Case: When writing new C# code, use this skill to automatically check if your class definitions use Primary Constructors, if collection initializations use Collection Expressions, and if all formatting (indentation, brace style) and naming conventions are correctly applied, ensuring high code quality.

Quick Start

Explain the coding conventions for C#/.NET, focusing on naming rules, code layout, and the use of C# 12+ features.

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: coding-conventions
Download link: https://github.com/RevTechStudio/rts-plugins/archive/main.zip#coding-conventions

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