.NET/C# Best Practices skill: what it does and how to install it
Checks .NET/C# code against solution conventions for documentation, dependency injection, async work, testing, configuration, logging and security.
Summary generated from the skill's documentation.
Install
$ npx skills add github/awesome-copilot --skill dotnet-best-practicesRun it in a terminal. If your agent is already running, start a new session so it picks the skill up.
About this skill
What it does. Reviews selected .NET/C# code against project conventions, covering XML documentation, namespaces, primary-constructor dependency injection, command handlers, resource-based localisation, async I/O, configuration and structured logging. It also checks MSTest and Moq coverage, Semantic Kernel integration, validation, disposal, performance and secure coding.
When to use it. Use it when bringing a .NET solution or project into line with its established architecture and coding practices, including tests and service registration.
History
Repo stars
40k+229 since 5 Oct 2026
Stars are counted for the whole repository, which holds 30 skills.
Show as a table
| Date | Repo stars |
|---|---|
| 12 Oct 2026 | 39,948 |
| 11 Oct 2026 | 39,904 |
| 10 Oct 2026 | 39,881 |
| 9 Oct 2026 | 39,845 |
| 8 Oct 2026 | 39,804 |
| 7 Oct 2026 | 39,761 |
| 6 Oct 2026 | 39,731 |
| 5 Oct 2026 | 39,719 |
Installs
15.5k
Tracking since . A chart appears once there are 7 days of data.
Installs via skills.sh
Similar skills
- Security Best PracticesReviews code against security best practices for its language and framework, and suggests improvements.
- Source-Driven DevelopmentChecks every implementation decision against official documentation, so the code cites its sources and avoids outdated patterns.
- Security and HardeningAudits and hardens code that handles user input, authentication, data storage or external integrations against common vulnerabilities.