What problem does it solve?
It helps you write .NET/C# code that consistently follows best practices for maintainability, correctness, security, and long-term scalability.
Core Features & Use Cases
- Documentation & structure: Enforces XML documentation and a consistent namespace structure for public APIs.
- Architecture & patterns: Guides dependency injection patterns, command handler architecture, and common design patterns like factories and interface segregation.
- Reliability, performance & security: Covers async/await usage, error handling with structured logging, secure input handling, and performance-minded modern C#/.NET guidance.
- Testing & configuration: Recommends MSTest with FluentAssertions, AAA test structure, Moq mocking, and strongly-typed configuration with validation attributes.
- Semantic Kernel integration: Ensures proper Microsoft.SemanticKernel setup and structured output patterns for dependable AI responses.
Quick Start
Review the C# code in your selection and rewrite it to follow the specified .NET best practices, including XML docs, DI patterns, async conventions, structured logging, and secure coding recommendations.