code-reviewer

Reviews .NET and React code diffs against repo conventions with severity-ranked findings.

Updated May 21, 2026
One-click install
npx skills add https://github.com/Collins1892/radar-practice --skill code-reviewer-collins1892
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-reviewer
Source: https://github.com/Collins1892/radar-practice/tree/main/.claude/skills/code-reviewer
Command: npx skills add https://github.com/Collins1892/radar-practice --skill code-reviewer-collins1892

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It enforces consistent, read-only code review standards across a full-stack .NET 8 and React 19 repository, so every file or diff is checked against the same universal, backend, and frontend rules without the reviewer editing code. ## Core Features & Use Cases - Structured severity-ranked reviews: Produces findings labeled Blocker, Major, Minor, or Suggestion with rule citations and suggested fixes, using a fixed output template. - Stack-specific rule sets: Applies universal safety rules (no PII, no stack traces), .NET backend rules (repository pattern, EF Core soft delete, migrations), and React/TypeScript rules (no any, hooks, Tailwind v4, shadcn/ui, WCAG checklist). - Automated PR review mode: Emits a JSON array of findings for consumption by a CI bot script, plus optional Context7 lookups when library or WCAG guidance is uncertain. - Use Case: A developer pastes a pull request diff touching IncidentsApi and asks for a review; the skill verifies soft-delete handling, DTO boundaries, and test coverage, then reports findings without modifying any files. ## Quick Start Ask the assistant to review a specific file or pasted diff, for example: review the changes in IncidentsApi/Repositories/EfIncidentRepository.cs.

Frequently Asked Questions about code-reviewer

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

FAQPage Schema
How do I review a pull request diff with an AI assistant?

Paste one diff or name one file and ask for a code review. The skill confirms scope, classifies the path as backend, frontend, or repo-wide, applies the matching rule set, and returns findings ranked Blocker, Major, Minor, or Suggestion with suggested fixes.

What code review rules apply to .NET minimal APIs with EF Core?

Reviews check the repository pattern with scoped DI, soft delete via RecordStatus kept off wire DTOs, migrations for schema changes, connection strings read from appsettings.json, a global exception handler, and integration tests using TestWebApplicationFactory with per-class in-memory SQLite.

Does the code reviewer edit or fix code automatically?

No. The skill is strictly advisory and read-only: it explains findings and suggests fixes but never edits, creates, deletes, or commits files, and it does not run tests or linters unless explicitly asked to verify a fix.

Can the reviewer check React accessibility and WCAG issues?

Yes. It applies a manual WCAG checklist covering labels, keyboard operation, focus styles, contrast, and live regions, and it escalates reasoning effort for a11y-heavy UI such as forms, modals, and tables. Context7 lookups verify WCAG techniques when uncertain.

What output format does automated PR review produce?

When invoked by the CI script, it returns only a JSON array of findings with severity (Blocker, Major, or Minor), a description, and a repo-relative filePath or null. Interactive reviews instead use a Markdown template with summary, findings, and positive notes.

When should Context7 documentation lookups be used during review?

Use them only when uncertain about current library behavior or WCAG guidance, such as React 19 hooks, EF Core patterns, Tailwind v4, or Radix APIs. The limit is three queries per review, and queries must never include file contents, secrets, or PII.