← Back to list

csharp-review
by zadazorg
⭐ 0🍴 0📅 Jan 26, 2026
SKILL.md
name: csharp-review description: > Code review against C# 14 standards. Four modes: standards, performance, architecture, full. Use for "/review", "check code", "performance review". user-invocable: true allowed-tools:
- Read
- Grep
- Glob metadata: author: csharp-standards version: "4.0.0"
Code Review
Review C# code against modern standards with four specialized modes.
Review Modes
| User Says | Mode | Focus |
|---|---|---|
| "review", "check code" | standards | Constitution compliance |
| "performance review" | performance | Hot paths, memory, allocations |
| "architecture review" | architecture | DDD, layers, abstractions |
| "full review" | full | All modes combined |
Quick Start
- Determine mode from user request
- Scan with grep for obvious violations
- Read files for deep analysis
- Generate report with findings
Grep Patterns (Quick Scan)
# Public classes (should be internal)
grep -rn "public class\|public sealed class" --include="*.cs" | grep -v "abstract\|record"
# Unsealed classes
grep -rn "internal class" --include="*.cs" | grep -v "sealed\|abstract\|static\|partial"
# DateTime.Now (forbidden)
grep -rn "DateTime\.\(Now\|UtcNow\|Today\)" --include="*.cs"
# == null (use 'is null')
grep -rn "== null\|!= null" --include="*.cs"
# async void (forbidden)
grep -rn "async void" --include="*.cs"
# new HttpClient (use IHttpClientFactory)
grep -rn "new HttpClient()" --include="*.cs"
# FluentAssertions (use Shouldly)
grep -rn "\.Should()\|FluentAssertions" --include="*.cs"
# Legacy collections
grep -rn "new List<\|new Dictionary<\|new HashSet<" --include="*.cs"
Report Format
## Code Review Report
**Mode:** [standards|performance|architecture|full]
**Scope:** [files/folders reviewed]
### Critical (MUST fix)
- `File.cs:LINE` — [Category] Description
### Warnings (SHOULD fix)
- `File.cs:LINE` — [Category] Description
### Suggestions
- `File.cs:LINE` — Consider: description
### Compliant Patterns
- Good use of ErrorOr in OrderService
- Proper sealed internal classes in Domain/
### Summary
X critical, Y warnings, Z suggestions
Overall: [PASS|NEEDS WORK|FAIL]
Exclusions
Skip these paths:
**/Migrations/****/obj/****/bin/****/*.Designer.cs**/*.g.cs
Checklists
Load detailed checklist for deep review:
| Resource | File |
|---|---|
| Prohibitions (47 rules) | checklists/prohibitions.md |
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon