dotnet-design-pattern-review

Review C#/.NET code for design pattern implementation and best practices.

Updated Nov 21, 2025
One-click install
npx skills add https://github.com/lluppesms/dadabase.demo --skill dotnet-design-pattern-review-lluppesms
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-design-pattern-review
Source: https://github.com/lluppesms/dadabase.demo/tree/main/.github/skills/dotnet-design-pattern-review
Command: npx skills add https://github.com/lluppesms/dadabase.demo --skill dotnet-design-pattern-review-lluppesms

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the challenge of ensuring C#/.NET code adheres to established design patterns and best practices, leading to more maintainable, scalable, and robust software.

Core Features & Use Cases

  • Design Pattern Analysis: Reviews code for correct implementation of Command, Factory, Dependency Injection, Repository, Provider, and Resource patterns.
  • Best Practice Adherence: Checks for adherence to .NET conventions, SOLID principles, and clean code standards.
  • Improvement Suggestions: Provides actionable recommendations for enhancing architecture, performance, security, and testability.
  • Use Case: A development team can use this Skill to audit a new module's code before merging, ensuring it aligns with project standards and identifies potential areas for refactoring.

Quick Start

Use the dotnet-design-pattern-review skill to review the code in the selected file.

Frequently Asked Questions about dotnet-design-pattern-review

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

FAQPage Schema
How do I review C# code for design pattern implementation and best practices?

Review C# code for design pattern implementation by analyzing adherence to Command, Factory, Dependency Injection, Repository, Provider, and Resource patterns. The process evaluates SOLID principles, clean code, performance, security, and testability to provide actionable improvement suggestions without modifying the code.

What design patterns are checked during a .NET code architecture review?

A .NET code architecture review checks for correct implementation of Command, Factory, Dependency Injection, Repository, Provider, and Resource patterns. It also analyzes code against SOLID principles and .NET conventions to ensure maintainable, scalable, and robust software architecture.

Does the code review tool automatically refactor C# files or just provide suggestions?

The code review tool provides actionable improvement suggestions but does not modify the code. It analyzes the selected C# file for design pattern implementation, architecture, performance, security, and testability, leaving the actual refactoring to the development team.

How do I check if my .NET code adheres to SOLID principles before merging?

Check .NET code adherence to SOLID principles before merging by auditing the module against established design patterns and best practices. This review identifies potential areas for refactoring and ensures the codebase aligns with project standards for performance and testability.

What's the best way to audit a new .NET module for clean code standards?

The best way to audit a new .NET module for clean code standards is to review the codebase for adherence to .NET conventions, SOLID principles, and established design patterns. This identifies potential refactoring areas to enhance architecture, performance, and security.

Can I use this design pattern review for both performance and security analysis in C#?

Yes, you can use this design pattern review for both performance and security analysis in C#. Alongside checking architectural patterns like Factory and Repository, it analyzes the code to provide actionable recommendations enhancing overall performance, security, and testability.