Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

react-code-quality-reviewer-prompt

verified

Use when a React implementation task is complete and needs quality-focused code review, especially test quality validation (behavioral tests, assertion counts, mock boundaries, anti-patterns like getter/className tests)

View on GitHub

Marketplace

saurun-marketplace

fiatkongen/saurun-marketplace

Plugin

saurun

Repository

fiatkongen/saurun-marketplace

plugins/saurun/skills/react-code-quality-reviewer-prompt/SKILL.md

Last Verified

February 5, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/fiatkongen/saurun-marketplace/blob/main/plugins/saurun/skills/react-code-quality-reviewer-prompt/SKILL.md -a claude-code --skill react-code-quality-reviewer-prompt

Installation paths:

Claude
.claude/skills/react-code-quality-reviewer-prompt/
Powered by add-skill CLI

Instructions

# React Code Quality Reviewer Prompt Template

## Overview

Prompt template for dispatching a React code quality review subagent. Core principle: verify that React code is well-built (clean, tested, maintainable) with special focus on test quality — tests should catch real bugs, not verify DOM structure or mock calls.

## When to Use

- After a React implementation task is complete and you need a quality-focused code review
- When you want to validate test quality beyond basic coverage (behavioral testing, structure, mock boundaries)
- As the second review pass in a two-pass workflow: spec compliance first, then code quality

## When NOT to Use

- For non-React code — the checklist is React/Vitest/RTL-specific
- As the first review of a task — run a spec compliance review first to confirm requirements are met
- For general architecture or design reviews without implementation code to inspect

## Required Dependency

**REQUIRED PLUGIN:** `superpowers` — provides `code-reviewer` agent and `requesting-code-review/code-reviewer.md` base template.

The base template handles: git diff inspection, standard review checklist (code quality, architecture, testing, requirements, production readiness), and output format (Strengths, Issues by severity, Recommendations, Assessment with merge verdict). This skill adds React test quality criteria via `ADDITIONAL_REVIEW_CRITERIA`.

## Placeholder Variables

| Variable | Source |
|---|---|
| `WHAT_WAS_IMPLEMENTED` | From implementer subagent's completion report |
| `PLAN_OR_REQUIREMENTS` | Plan file path + task number, e.g. "Task 3 from docs/plans/feature-x.md" |
| `BASE_SHA` | Commit SHA before implementation (`git log`) |
| `HEAD_SHA` | Current commit after implementation (typically `HEAD`) |
| `DESCRIPTION` | One-line task summary |

## Common Mistakes

- **Dispatching before spec compliance review** — run spec review first (via `superpowers:requesting-code-review` without React checklist). This skill checks *how* it was built, not

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
8482 chars