スキル一覧に戻る
zadazorg

csharp-review

by zadazorg

0🍴 0📅 2026年1月26日
GitHubで見るManusで実行

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 SaysModeFocus
"review", "check code"standardsConstitution compliance
"performance review"performanceHot paths, memory, allocations
"architecture review"architectureDDD, layers, abstractions
"full review"fullAll modes combined

Quick Start

  1. Determine mode from user request
  2. Scan with grep for obvious violations
  3. Read files for deep analysis
  4. 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:

ResourceFile
Prohibitions (47 rules)checklists/prohibitions.md

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

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

レビュー

💬

レビュー機能は近日公開予定です