rules-csharp

Community

C# coding rules for precise development

AuthorNSObjects
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Ensures C# development follows Microsoft naming, formatting, error handling, and async conventions rather than general guidelines, so agents produce idiomatic, maintainable C# code.

Core Features & Use Cases

  • C# overrides for naming, file layout, and formatting that inherit from rules-common but reflect Microsoft conventions.
  • Type safety, async, and resource management guidance that enforces nullable reference types, async/await best practices, IDisposable patterns, and dependency injection usage.
  • Testing and data protection advice for xUnit/NUnit styles, SQL parameter safety, and dependency injection so reviewers can catch issues before code merges.

Quick Start

Ask the assistant to apply the C# coding rules from this skill when writing or reviewing code.

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: rules-csharp
Download link: https://github.com/NSObjects/specpowers/archive/main.zip#rules-csharp

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 471,000+ vetted skills library on demand.