github avatar

Dotnet Design Pattern Review

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.

install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
8
skills.sh installs
11.7K
GitHub stars
41K
last updated
Aug 21, 2026

Install

$ npx -y skills add github/awesome-copilot --skill dotnet-design-pattern-review --agent claude-code

Installs into .claude/skills of the current project.

Files

.NET/C# Design Pattern Review

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.

Required Design Patterns

  • Command Pattern: Generic base classes (CommandHandler<TOptions>), ICommandHandler<TOptions> interface, CommandHandlerOptions inheritance, static SetupCommand(IHost host) methods
  • Factory Pattern: Complex object creation service provider integration
  • Dependency Injection: Primary constructor syntax, ArgumentNullException null checks, interface abstractions, proper service lifetimes
  • Repository Pattern: Async data access interfaces provider abstractions for connections
  • Provider Pattern: External service abstractions (database, AI), clear contracts, configuration handling
  • Resource Pattern: ResourceManager for localized messages, separate .resx files (LogMessages, ErrorMessages)

Review Checklist

Sponsors

Details

Repository
github.com/github/awesome-copilot
Categories
Git & Pull Requests, Code Review & Quality, AI & Agent Building, Design & UI/UX, .NET & C#

More from github/awesome-copilot

All 318
1github avatarreview-and-refactorgithub/awesome-copilotReview and refactor code in your project according to defined instructions11.1Kskills.sh installs
2github avatarai-prompt-engineering-safety-reviewgithub/awesome-copilotComprehensive AI prompt engineering safety review and improvement prompt. Analyzes prompts for safety, bias, security vulnerabilities, and effectiveness while p10.4Kskills.sh installs
3github avatarpower-bi-model-design-reviewgithub/awesome-copilotComprehensive Power BI data model design review prompt for evaluating model architecture, relationships, and optimization opportunities.9Kskills.sh installs
4github avatarterraform-azurerm-set-diff-analyzergithub/awesome-copilotAnalyze Terraform plan JSON output for AzureRM Provider to distinguish between false-positive diffs (order-only changes in Set-type attributes) and actual resou8.9Kskills.sh installs
5github avatarsecurity-reviewgithub/awesome-copilotAI-powered codebase security scanner that reasons about code like a security researcher — tracing data flows, understanding component interactions, and catching5.8Kskills.sh installs
6github avatarissue-fields-migrationgithub/awesome-copilotBulk-migrate metadata to GitHub issue fields from two sources: repo labels (e.g. priority labels to a Priority field) and Project V2 fields. Use when users say 1.9Kskills.sh installs