
The dotnet-design-pattern-review skill analyzes C#/.NET code to evaluate whether it correctly implements six key design patterns (Command, Factory, Dependency Injection, Repository, Provider, and Resource patterns) and provides improvement recommendations across architecture, SOLID principles, performance, security, and code quality. It is designed for .NET developers and architects who want to ensure their codebase follows established design patterns and best practices without making any actual code modifications. The skill addresses the problem of inconsistent pattern implementation and architectural drift by providing structured reviews against a comprehensive checklist covering design patterns, .NET conventions, GoF patterns, SOLID principles, and clean code standards.
$ npx -y skills add github/awesome-copilot --skill dotnet-design-pattern-review --agent claude-codeInstalls into .claude/skills of the current project.
Review the C#/.NET code in ${selection} for design pattern implementation and suggest improvements for the solution/project. Do not make any changes to the code, just provide a review.
CommandHandler<TOptions>), ICommandHandler<TOptions> interface, CommandHandlerOptions inheritance, static SetupCommand(IHost host) methodsArgumentNullException null checks, interface abstractions, proper service lifetimes{Core|Console|App|Service}.{Feature})? Proper separation between Core/Console projects? Modular and readable?Provide specific, actionable recommendations for improvements aligned with the project's architecture and .NET best practices.
Sponsors