csharp-rules

Installation
SKILL.md

C#/.NET Rules

These rules come from app/rules/csharp/ in ai-toolkit. They cover the project's standards for coding style, frameworks, patterns, security, and testing in C#/.NET. Apply them when writing or reviewing C#/.NET code.

C# Coding Style

Naming

  • PascalCase: classes, structs, enums, interfaces, methods, properties, events.
  • camelCase: local variables, parameters, private fields.
  • Prefix interfaces with I: IUserRepository, IDisposable.
  • Prefix private fields with _: private readonly ILogger _logger;.
  • UPPER_SNAKE: not conventional in C#. Use PascalCase for constants.
Installs
6
GitHub Stars
175
First Seen
May 16, 2026
csharp-rules — softspark/ai-toolkit