dotnet-design-pattern-review

Reviews C#/.NET code for design pattern implementation and suggests improvements.

1|1|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/ultraviollettnympho/transit-ticket --skill dotnet-design-pattern-review-ultraviollettnympho
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-design-pattern-review
Source: https://github.com/ultraviollettnympho/transit-ticket/tree/main/.github/skills/dotnet-design-pattern-review
Command: npx skills add https://github.com/ultraviollettnympho/transit-ticket --skill dotnet-design-pattern-review-ultraviollettnympho

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Ensuring consistent, correct use of design patterns across a C#/.NET codebase is difficult to enforce manually, and code reviews often miss architectural issues like SOLID violations, improper dependency injection, or missing async best practices. ## Core Features & Use Cases - Design Pattern Audit: Checks implementation of Command, Factory, Repository, Provider, and Resource patterns against project conventions. - Architecture & Best Practices Review: Evaluates namespace conventions, primary constructors, async/await usage, ResourceManager localization, and structured logging. - Quality Checklist Coverage: Assesses SOLID principles, performance, testability, security, documentation, and clean code criteria. - Use Case: A developer finishes a new feature in a .NET console application and wants a structured review of whether the Command Handler, DI setup, and provider abstractions follow the project's established patterns before merging. ## Quick Start Ask the AI to review the selected C# code for design pattern implementation and suggest improvements without changing the code.

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 compliance?

Select the C# code you want reviewed and invoke this Skill. It checks Command, Factory, Repository, Provider, and Dependency Injection patterns against a defined checklist and returns specific improvement recommendations without modifying your code.

What design patterns does this .NET review cover?

It covers Command Handler with generic base classes, Factory, Repository, Provider, and Resource patterns, plus GoF patterns like Template Method and Strategy. It also evaluates SOLID principle adherence and dependency injection practices.

Does the review modify my C# code automatically?

No, the Skill explicitly performs a read-only review. It analyzes the selected code and provides actionable recommendations aligned with .NET best practices, leaving all changes to the developer.

Can this review check async and performance issues in .NET code?

Yes, the checklist includes proper async/await usage with Task returns, ConfigureAwait(false), resource disposal, and parallel processing opportunities. It also flags performance concerns alongside maintainability and testability issues.

What are the limitations of an automated design pattern review?

The review is advisory and based on the selected code scope, so it may miss cross-project architectural context not included in the selection. Recommendations should be validated by a developer familiar with the full solution structure.