Dotnet best practices

From mouadja02/skills · View interactive version

Dotnet best practices is an AI agent skill from the GitHub repository mouadja02/skills. Checks .NET/C# code against the solution's own conventions and general best practices: naming, async, dependency injection, error handling, and tests. Use when reviewing or tidying C# code in an existing .NET solution.

How to use this skill

Skill file

Attribution: Sourced from github/awesome-copilot by GitHub Community, licensed MIT. Modified for this collection.

.NET/C# Best Practices

Your task is to ensure .NET/C# code in ${selection} meets the best practices specific to this solution/project. This includes:

Documentation & Structure

Design Patterns & Architecture

Dependency Injection & Services

Resource Management & Localization

Async/Await Patterns

Testing Standards

Configuration & Settings

Semantic Kernel & AI Integration

Error Handling & Logging

Performance & Security

Code Quality

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.