The Standard Code CSharp

Enforce canonical C# naming, organization, and documentation rules on codebases.

18|6|Updated Mar 25, 2026
One-click install
npx skills add https://github.com/hassanhabib/the-standard-skills --skill the-standard-code-csharp-hassanhabib
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: The Standard Code CSharp
Source: https://github.com/hassanhabib/the-standard-skills/tree/main/.skills/coding/csharp
Command: npx skills add https://github.com/hassanhabib/the-standard-skills --skill the-standard-code-csharp-hassanhabib

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires the-standard-core.

What problem does it solve?

The Standard Code CSharp provides a canonical set of C# naming, organization, and documentation rules to enforce consistency across codebases, reducing cognitive load and onboarding time.

Core Features & Use Cases

  • Enforces file naming, variable naming, method naming, class naming, field conventions, instantiation rules, and comment formatting.
  • Applies to models, brokers, services, controllers, and tests to maintain a uniform codebase.
  • Use it when generating, reviewing, or refactoring C#/.NET code to ensure compliance with The Standard's guidelines.

Quick Start

Run the Standard Code CSharp rules against your C# project to normalize names and structure according to The Standard.

Frequently Asked Questions about The Standard Code CSharp

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

FAQPage Schema
How do I enforce C# naming conventions and coding standards across a .NET codebase?

Enforce C# naming conventions by applying canonical rules to file, variable, method, class, and field names across your .NET codebase to maintain consistency and reduce onboarding time.

What are the canonical C# coding rules for organizing models, brokers, and services?

Canonical C# coding rules for models, brokers, services, and controllers enforce specific naming, instantiation, and comment formatting guidelines to maintain a uniform and consistent codebase structure.

Can I use these coding standards to refactor existing C# and .NET projects?

Yes, you can use these coding standards to refactor existing C# and .NET projects. The rules apply to code generation, review, and refactoring tasks to ensure full compliance across models, brokers, services, controllers, and tests.

Do I need the standard-core to validate C# code quality and documentation rules?

Yes, you need the standard-core to validate C# code quality and documentation rules. The C# coding standards integrate with the standard-core dependency to provide validation and guidance for your .NET projects.

What is the best way to normalize C# field conventions and comment formatting in a .NET project?

The best way to normalize C# field conventions and comment formatting is to apply a canonical rule set covering names, organization, instantiation, and comments to maintain uniform code quality across all .NET components and tests.