csharp-code-review

Audit C# code for OOP, SOLID, GoF patterns, and modern features.

5|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/JeongHeonK/c-sharp-custom-marketplace --skill csharp-code-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: csharp-code-review
Source: https://github.com/JeongHeonK/c-sharp-custom-marketplace/tree/main/skills/csharp-code-review
Command: npx skills add https://github.com/JeongHeonK/c-sharp-custom-marketplace --skill csharp-code-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Efficiently identifies opportunities to improve C# code quality by auditing OOP, SOLID, GoF design patterns, modern C# features, and performance considerations.

Core Features & Use Cases

  • Code quality assessment: detects violations of SRP, DIP, and naming conventions; highlights potential refactor paths.
  • Design pattern opportunities: identifies where Factory, Adapter, Strategy, or other patterns could improve maintainability.
  • Performance & security hints: surfaces inefficiencies and insecure patterns for remediation.
  • Use Case: before merging a PR, run the review to produce a prioritized remediation list for a legacy C# codebase.

Quick Start

Provide the target C# file path to begin the code review.

Frequently Asked Questions about csharp-code-review

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

FAQPage Schema
How do I review C# code for SOLID principle violations?

To review C# code for SOLID violations, evaluate the target file against SRP, OCP, LSP, ISP, and DIP rules. This process detects structural weaknesses and highlights potential refactor paths to improve overall maintainability before merging.

When do I need to apply GoF design patterns in a C# project?

You need to apply GoF design patterns in a C# project when auditing legacy code or refactoring to improve maintainability. Identifying opportunities for Factory, Adapter, or Strategy patterns helps resolve structural inefficiencies and tightly coupled dependencies.

Can I use this C# code review on legacy .NET 8 codebases?

Yes, you can use this C# code review on legacy .NET 8 codebases. It is designed to evaluate small to large codebases during pull request reviews, refactoring, and legacy code audits by auditing modern C# features and design principles.

What's the best way to check C# code for performance and security issues?

The best way to check C# code for performance and security issues is to evaluate it against a comprehensive checklist during a code audit. This surfaces inefficiencies and insecure patterns, producing an actionable prioritized remediation list.

How do I generate a remediation list for a C# pull request?

To generate a remediation list for a C# pull request, provide the target C# file path for review. The audit evaluates OOP, SOLID, GoF patterns, and performance considerations, outputting actionable notes for prioritized fixes.

Does this C# code review require any specific dependencies to run?

No, this C# code review does not require any specific dependencies to run. You simply provide the target C# file path to begin the evaluation, making it straightforward to integrate into existing .NET 8 or 9 workflows.