What problem does it solve?
Ensures .NET and C# code across a solution adheres to consistent, project-specific best practices to improve maintainability, testability, localization, security, and AI integration readiness.
Core Features & Use Cases
- Enforce comprehensive XML documentation on public types and members, including parameter and return descriptions.
- Standardize dependency injection via constructor-based patterns and register services with appropriate lifetimes.
- Apply architecture and design patterns such as command handlers, factory usage, and interface segregation for testability.
- Validate async/await usage and performance practices, structured logging, resource localization, and strong configuration binding.
- Support testing conventions using MSTest and FluentAssertions, mocking with Moq, and include null parameter validation tests.
- Integrate Semantic Kernel and AI-related configuration patterns for reliable model usage and structured outputs.
Quick Start
Analyze the selected project or file and produce a prioritized checklist of changes and refactor suggestions to bring the code into compliance with the solution's .NET/C# best practices.