dotnet-best-practices

Enforce .NET/C# coding standards across software engineering projects.

Updated Dec 28, 2025
One-click install
npx skills add https://github.com/74nu5/Narratum --skill dotnet-best-practices
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-best-practices
Source: https://github.com/74nu5/Narratum/tree/main/.github/skills/dotnet-best-practices
Command: npx skills add https://github.com/74nu5/Narratum --skill dotnet-best-practices

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill ensures that .NET/C# code adheres to established best practices, improving maintainability, readability, and robustness.

Core Features & Use Cases

  • Code Quality Enforcement: Validates code against project-specific standards for documentation, design patterns, dependency injection, and more.
  • Developer Guidance: Provides clear guidelines for writing clean, efficient, and secure .NET code.
  • Use Case: A developer can use this Skill to review a new module before merging, ensuring it aligns with the team's coding standards and architectural principles.

Quick Start

Ensure the C# code in the selected file adheres to the project's best practices.

Frequently Asked Questions about dotnet-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the best practices for C# async/await and dependency injection?

Code review in .NET validates modules against project-specific standards for documentation, resource management, error handling, logging, and security. It ensures new code aligns with team architectural principles before merging.

How do I enforce SOLID principles and coding standards in .NET?

Enforce SOLID principles and .NET coding standards by validating code against project-specific rules for design patterns, dependency injection, and configuration. This guarantees your software engineering projects maintain high code quality and robustness.

Does this .NET code quality guidance cover security and performance?

Yes, .NET code quality guidance covers security and performance alongside error handling, logging, and AI integration. It enforces specific standards to improve the overall robustness and efficiency of your C# ecosystem.

Can I use these development standards for refactoring existing C# code?

Yes, you can apply these development standards to refactoring existing C# code by validating against best practices for documentation, resource management, and async usage. This ensures the refactored code adheres to established .NET coding standards.

What is the best way to ensure .NET code quality before merging a new module?

The best way to ensure .NET code quality before merging is to review the new module against established coding standards for testing, configuration, and design patterns. This validates alignment with team architectural principles and SOLID guidelines.