review

Review C# code with Roslyn semantic analysis for diagnostics and code-fix opportunities.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/darylmcd/Roslyn-Backed-MCP --skill review-darylmcd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review
Source: https://github.com/darylmcd/Roslyn-Backed-MCP/tree/main/skills/review
Command: npx skills add https://github.com/darylmcd/Roslyn-Backed-MCP --skill review-darylmcd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Semantic code review to surface deep quality and correctness issues in C# code using Roslyn, going beyond pattern-matching to meaningful diagnostics.

Core Features & Use Cases

  • Comprehensive semantic analysis of C# code with Roslyn to identify correctness, performance, and maintainability issues.
  • Flexible scoping: optionally restrict the review to a specific file path or project within the loaded workspace, with persona-driven framing (engineer, security, performance, beginner-mentor).
  • End-to-end workflow including scope, compilation diagnostics, dead code detection, complexity analysis, cohesion/SRP checks, security review, and code-fix opportunities.

Quick Start

Request a full semantic code review for a specified C# file or project using Roslyn analysis.

Frequently Asked Questions about review

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

FAQPage Schema
How do I perform a semantic C# code review using Roslyn?

Perform a semantic C# code review using Roslyn by loading a workspace and coordinating Roslyn analysis tools to evaluate compilation diagnostics, dead code, complexity, cohesion, and security. This workflow surfaces deep correctness and maintainability issues beyond surface-level pattern matching.

Can I scope a Roslyn code analysis to a specific C# file or project?

Yes, you can scope Roslyn code analysis to a specific C# file path or project within a loaded workspace. This flexible scoping targets the semantic review precisely, supporting persona-driven framing like engineer, security, performance, or beginner-mentor for contextual results.

What metrics does a semantic code review evaluate for C# projects?

A semantic code review evaluates C# projects using metrics including compilation diagnostics, unused symbols for dead code detection, complexity metrics, cohesion metrics for SRP checks, security diagnostics, and code-fix previews. This comprehensive workflow identifies deep quality and maintainability issues.

Does Roslyn static analysis detect security vulnerabilities in C# code?

Yes, Roslyn static analysis detects security vulnerabilities in C# code through dedicated security diagnostics. By applying a security-focused persona framing, the review workflow identifies potential security issues alongside correctness, complexity, and cohesion problems during the semantic analysis.

What is the difference between semantic review and pattern-matching for C# code?

Semantic review uses Roslyn to understand code meaning and identify deep correctness issues, whereas pattern-matching only catches surface-level syntax. Semantic review coordinates workspace diagnostics, dead code detection, complexity, cohesion, and security analysis for comprehensive quality insights.

Can I preview code fixes when running a Roslyn diagnostics analysis?

Yes, you can preview code fixes when running a Roslyn diagnostics analysis. The semantic review workflow includes a code-fix preview step that generates actionable opportunities to resolve identified compilation, security, and maintainability diagnostics within your C# workspace.