Skip to content
cccskills
FreePublished on GitHub

dotnet-techne-code-review

Use when reviewing PRs/diffs/branches/documents for .NET quality, correctness, performance, security, data access, messaging, and observability. Includes adversarial critical-thinking mode for skeptical/cynical review requests. Keywords: code review, review PR, review diff, critical review, cynical review, adversarial review, production readiness, low GC, AOT, security review.

The English summary is being prepared. Showing the original description.

See how to install

Files included (19)

  • SKILL.md4.6 KB
  • references/domain-checklists.md10.7 KB
  • references/maintainer-playbook.md2.4 KB
  • references/output-contract.md1.6 KB
  • references/scripts-and-context.md3.8 KB
  • scripts/affected-tests.ps12.2 KB
  • scripts/affected-tests.sh1.8 KB
  • scripts/branch-diff.ps11.2 KB
  • scripts/branch-diff.sh1.0 KB
  • scripts/find-deps.ps12.1 KB
  • scripts/find-deps.sh1.4 KB
  • scripts/last-commits.ps11.3 KB
  • scripts/last-commits.sh1.0 KB
  • scripts/list-changes.ps12.8 KB
  • scripts/list-changes.sh2.6 KB
  • scripts/project-deps.ps12.9 KB
  • scripts/project-deps.sh2.1 KB
  • scripts/review-context.ps13.6 KB
  • scripts/review-context.sh3.0 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

End-to-end .NET Code Review

Lean entrypoint for high-signal .NET review. Detailed commands/checklists/output requirements are split into reference files for progressive disclosure.

On Claude Code with this plugin installed, prefer /dotnet-episteme-skills:dotnet-review for parallel multi-agent review (4 domain specialists + a generalist + adversarial maintainer verification). This file remains the complete single-context procedure for all other tools.

Requirements

This skill requires:

  • Git for diff and commit analysis
  • Bash/Zsh (Linux/macOS) or PowerShell 5.1+ (Windows)
  • Agent tools with file read capability and shell command execution

Optional but recommended:

  • rg (ripgrep) for faster dependency searches on Linux/macOS
  • dotnet CLI for build verification

When to use this skill

Use this skill when the user asks for:

  • PR / branch / diff / commit-range review
  • "code review this implementation"
  • "critical review of ..."
  • "cynical review of ..."
  • adversarial / devil's-advocate review
  • production-readiness review (performance, AOT/trimming, security, observability, DB, messaging)

Reference files (read on demand)

  • references/scripts-and-context.md
    • Read first when gathering change context and choosing script commands.
  • references/domain-checklists.md
    • Read after context is loaded; focus on only the relevant sections for changed components.
  • references/output-contract.md
    • Read before writing the final review output.
  • references/maintainer-playbook.md
    • Read during the falsification pass (Step 3) to pressure-test findings before output.

Review modes

Standard mode (default)

  • Balanced review focused on correctness, maintainability, and risk.

Cynical mode (adversarial)

Use when request language is explicitly skeptical: "critical review", "cynical review", "tear this apart", "assume this is broken", "devil's advocate".

Mandates:

  • Assume defects exist until disproven.
  • Prefer failure-mode discovery over style nits.
  • Generate at least 5 issue hypotheses before finalizing.
  • Validate each hypothesis with evidence; remove weak/speculative findings.

Core workflow

Step -1: Receive content

  • Load content from provided input or current context.
  • If content is empty (no diff/branch/files/document), ask for clarification and stop.
  • Identify content type: diff, branch, uncommitted changes, commit range, or document/spec.

Step 0: Gather context

  • Read references/scripts-and-context.md.
  • Run the baseline context commands.
  • Read changed files with your file-read tool.

Step 1: Select review mode

  • Use Cynical mode for explicitly skeptical requests.
  • Otherwise use Standard mode.

Step 2: Establish component context

  • Identify component type(s): API, worker, repository, domain, messaging, etc.
  • Identify critical paths: request path, message path, DB path.
  • Identify invariants: idempotency, correlation, ordering, transaction boundaries.

Step 3: Adversarial hypothesis pass

  • Generate candidate defects (at least 5 in cynical mode).
  • For each hypothesis, collect direct evidence (file:line, snippet, or command output).
  • Try to falsify each hypothesis (tests, guards, explicit design intent, invariants).
  • Apply references/maintainer-playbook.md to each surviving finding (maintainer persona, five checks, evidence-backed verdicts).
  • Keep only confirmed/high-signal findings.

Step 4: Domain checklist pass

  • Read references/domain-checklists.md.
  • Apply only relevant sections based on changed files and architecture.
  • If scope is unclear, run all sections but prioritize correctness/security/data-loss risks first.

Step 5: Produce findings

  • Read references/output-contract.md.
  • Format output exactly as specified there.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Use when you need CRAP score and coverage risk analysis to find high-risk code before refactoring or release. Keywords: CRAP score, risk hotspots, cyclomatic complexity, test coverage gaps, coverage threshold.

The English summary is being prepared. Showing the original description.

Metalnib/dotnet-episteme-skills12Updated Sep 9, 2026

Use when reviewing a .NET pull request for breaking changes that may affect other microservice repositories. Detects cross-repo API, DTO, endpoint, EF entity, and NuGet-package breaks, and checks whether a compatible downstream PR already exists. Keywords: cross-repo impact, breaking change, microservice compatibility, downstream break, compatible PR, blast radius review, api compatibility, contract break, dto shape change, endpoint break.

The English summary is being prepared. Showing the original description.

Metalnib/dotnet-episteme-skills12Updated Sep 9, 2026

Use when designing or changing public C#/.NET APIs with compatibility and versioning constraints. Keywords: breaking change, API design, backward compatibility, binary compatibility, deprecation strategy, versioning.

The English summary is being prepared. Showing the original description.

Metalnib/dotnet-episteme-skills12Updated Sep 9, 2026

Use when writing or refactoring modern C# with maintainability and performance standards. Keywords: coding standards, C# best practices, refactor C#, records, pattern matching, async best practices.

The English summary is being prepared. Showing the original description.

Metalnib/dotnet-episteme-skills12Updated Sep 9, 2026

Use when choosing .NET concurrency patterns for async I/O, queues, pipelines, or thread safety. Keywords: async/await, channels, dataflow, Rx, lock contention, producer consumer, parallel processing.

The English summary is being prepared. Showing the original description.

Metalnib/dotnet-episteme-skills12Updated Sep 9, 2026

Use when designing types and collections for hot paths and low-allocation .NET code. Keywords: readonly struct, sealed class, ValueTask, Span, FrozenDictionary, FrozenSet, allocation optimisation.

The English summary is being prepared. Showing the original description.

Metalnib/dotnet-episteme-skills12Updated Sep 9, 2026

See all skills by Metalnib

Report a problem with this skill