code-review-and-quality

Reviews .NET and C# changes across correctness, readability, architecture, security, and performance axes.

7|Updated Jan 11, 2026
One-click install
npx skills add https://github.com/peterblazejewicz/claude-plugins --skill code-review-and-quality-peterblazejewicz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review-and-quality
Source: https://github.com/peterblazejewicz/claude-plugins/tree/main/plugins/dotnet-skills/skills/code-review-and-quality
Command: npx skills add https://github.com/peterblazejewicz/claude-plugins --skill code-review-and-quality-peterblazejewicz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Code changes merged without structured review accumulate correctness bugs, security vulnerabilities, and architectural debt. This Skill provides a repeatable five-axis review process for .NET/C# changes so every pull request is evaluated consistently before merge. ## Core Features & Use Cases - Five-Axis Review: Evaluates correctness, readability, architecture, security, and performance with .NET-specific checks like async correctness, EF Core N+1 patterns, FromSqlRaw risks, and DI lifetimes. - Structured Review Process: Walks through context gathering, test review, implementation review, severity-labeled findings (Critical, Nit, Optional, FYI), and verification of the author's test evidence. - Change Sizing and Descriptions: Enforces reviewable change sizes (~100-300 lines), splitting strategies, and standalone commit descriptions. - Use Case: Before merging a pull request that adds an EF Core query endpoint, run the review checklist to catch an N+1 query pattern, missing pagination, and a missing regression test, then label each finding by severity. ## Quick Start Review the current uncommitted changes in this .NET solution using the five-axis checklist and report findings with severity labels.

Frequently Asked Questions about code-review-and-quality

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

FAQPage Schema
How do I review a .NET pull request for code quality?

Review .NET pull requests across five axes: correctness, readability, architecture, security, and performance. Start by understanding the change intent, review tests first, then walk the implementation, and label every finding with a severity prefix like Critical, Nit, or Optional.

What should I check in a C# code review checklist?

Check async correctness (no sync-over-async, CancellationToken threading), edge cases like null and default(T), EF Core N+1 patterns, FromSqlRaw usage, DI registration lifetimes, secrets handling, and whether dotnet test and dotnet build -warnaserror pass.

Does this review process work for Avalonia or MAUI client code?

Yes, the five axes apply universally, but individual checks are host-specific. Server-side items like antiforgery tokens do not apply to Avalonia clients, while client-side items like dispatcher marshalling do not apply to ASP.NET Core APIs.

How large should a pull request be for effective review?

Target around 100 lines changed for a change reviewable in one sitting; 300 lines is acceptable for a single logical change. Around 1000 lines is too large and should be split by stacking, by project, or into vertical feature slices.

When should library code use ConfigureAwait(false)?

Library code consumed from hosts with a SynchronizationContext (WPF, WinForms, MAUI, Avalonia UI thread) should use ConfigureAwait(false) on public awaits. It is unnecessary for code running only under ASP.NET Core, which has no SynchronizationContext since .NET Core 2.1.