dotnet-code-quality

Enforce C# quality rules and checklists in .NET projects.

Updated Apr 16, 2026
One-click install
npx skills add https://github.com/tassosgomes/poc-iam-service --skill dotnet-code-quality
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-code-quality
Source: https://github.com/tassosgomes/poc-iam-service/tree/main/.github/skills/csharp/dotnet-code-quality
Command: npx skills add https://github.com/tassosgomes/poc-iam-service --skill dotnet-code-quality

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill codifies mandatory quality rules and best practices for generated C# code in .NET projects, ensuring consistent naming, structure, and reliance on proper design patterns.

Core Features & Use Cases

  • Naming conventions: CamelCase for variables, PascalCase for types, and kebab-case for directories to ensure readability and consistency.
  • Structure and style guidelines: Async/await usage, Dependency Injection, exception handling, and Clean Code practices to improve maintainability.
  • Post-generation review: Applicable in code-generation workflows and CI pipelines to enforce standards and reduce rework.

Quick Start

Use these rules to audit and refine generated C# code in your .NET project immediately.

Frequently Asked Questions about dotnet-code-quality

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

FAQPage Schema
How do I enforce C# code quality standards after generating .NET code?

Enforce C# code quality after generation by applying structured rule sets and checklists covering naming conventions, method design, and dependency injection to audit and refine your .NET project.

What naming conventions should I use for a clean .NET project structure?

Clean .NET project naming conventions require CamelCase for variables, PascalCase for types, and kebab-case for directories to ensure readability and structural consistency across the codebase.

How do I integrate clean code and dependency injection reviews into a CI pipeline?

Integrate clean code and dependency injection reviews into CI pipelines by applying the structured rule set to validate generated C# code automatically, enforcing standards and reducing rework.

Does this code quality approach support async/await and exception handling guidelines?

Yes, this code quality approach supports async/await usage and exception handling guidelines as part of its structure and style rules to improve .NET project maintainability.

Can I use these rules to audit existing C# code rather than just generated code?

Yes, you can use these structured rules to audit existing C# code, although they are specifically designed for post-code-generation reviews to ensure consistent design patterns and quality.

What is the best way to standardize design principles in a .NET codebase?

Standardize design principles in a .NET codebase by codifying mandatory quality rules for class design, dependency injection, and clean code practices to ensure consistent structure and reliance on proper patterns.