A collection of skills for AI coding agents working with C# / .NET / Blazor projects. Skills are packaged instructions and best practices that extend agent capabilities.
Skills follow the Agent Skills format.
See this documentation for more details.
C# and .NET naming conventions and best practices containing 22+ rules across 6 categories, prioritized by impact.
Use when:
- Writing new C# / .NET / Blazor code
- Reviewing or refactoring existing C# code
- Naming classes, methods, variables, properties, or parameters
- Formatting and laying out source files
- Writing or reviewing unit tests (xUnit, bUnit)
- Building Blazor components and pages
Categories covered:
- Naming & Casing (Critical)
- Code Layout & Formatting (High)
- Code Patterns (High)
- Unit Testing (High)
- Blazor Conventions (Medium-High)
-
Install the WinGet Package Manage if you haven't already.
-
Install or update the GitHub CLI to version 2.90 or more:
winget install --id GitHub.cliwinget upgrade --id GitHub.cli
-
In your repo folder, run this command:
gh skill install dvoituron/dotnet-agent-kit
You can then run the
gh skill updatecommand to get the latest version.
Copy the skills/csharp-naming-conventions folder into your agent's skill directory.
Refer to your agent's documentation for the exact location.
Skills are automatically available once installed. The agent will use them when relevant tasks are detected.
Examples:
Review my C# code for naming convention issues
Create a new Blazor component following best practices
Write unit tests for my service class
Each skill contains:
SKILL.md- Instructions for the agent (triggers activation)rules/- Individual rule files organized by categorymetadata.json- Version and metadataREADME.md- Human-readable documentation
skills/csharp-naming-conventions/
├── SKILL.md
├── metadata.json
├── README.md
└── rules/
├── _sections.md
├── naming-*.md # Naming and casing rules
├── layout-*.md # Code layout rules
├── code-*.md # Code pattern rules
├── testing-*.md # Unit testing rules
└── blazor-*.md # Blazor convention rules
Works with Claude Code, GitHub Copilot, Gemini CLI, and other Agent Skills-compatible tools.
Contributions are welcome. To add or update a rule:
- Create or edit a rule file in
skills/csharp-naming-conventions/rules/ - Follow the existing frontmatter format (
title,impact,tags) - Include correct and incorrect code examples
- Update
SKILL.mdquick reference if adding a new rule - Submit a pull request
MIT