Dotnet best practices

From VixenLights/Vixen · View interactive version

Dotnet best practices is an AI agent skill from the GitHub repository VixenLights/Vixen. Ensure .NET/C# code meets best practices for the solution/project.

How to use this skill

Skill file

.NET/C# Best Practices

C# coding guidelines and best practices. MUST follow these rules. Use when reviewing/writing C# code or dotnet tasks.

Documentation & Structures

Design Patterns & Architecture

Syntax & Language Features

Dependency Injection & Services

Resource Management & Localization

Async/Await Patterns

Testing Standards

Configuration & Settings

Semantic Kernel & AI Integration

Error Handling & Logging

Performance & Security

Code Quality

WPF

All UI interactions must go through interfaces or services (e.g., IDialogService).

Code-behind must be strictly reserved for View-specific visual setups.

rather than accessing UI elements by their x:Name

Winforms

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.