skills/react-change-review/SKILL.md
Review recent React, Next.js, or TypeScript UI code changes for hardening before merge or commit. Use when asked to review recent React code changes, audit a React diff, harden a feature, check a PR or branch for React issues, or produce a stack-ranked list of nonredundant findings and a recommended fix plan using react-doctor, Vercel React best practices, Vercel composition patterns, and React useEffect guidance.
npx skillsauth add petekp/claude-skills react-change-reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Review the most relevant recent React code changes, consolidate all signal from the React specialist skills, and return a stack-ranked hardening plan. Treat every valid finding as something that should be fixed; do not frame fixes as optional cleanup unless the evidence shows a real tradeoff.
Before reviewing, load and apply these skills:
$react-doctor: run or interpret diff-based React diagnostics.$vercel-react-best-practices: performance, data fetching, rendering, bundle, and server/client boundary review.$vercel-composition-patterns: component API and composition review.$react-useeffect: Effect, derived state, event logic, dependency, and cleanup review.In this skill repository, the supporting skills normally exist as sibling folders:
../react-doctor/SKILL.md../vercel-react-best-practices/SKILL.md../vercel-composition-patterns/SKILL.md../react-useeffect/SKILL.mdIf a support skill is missing, continue with the available guidance and state the gap in the final review.
Determine the review scope intelligently from context. Prefer explicit user scope, then local git evidence.
Use this precedence:
Useful commands:
git status --short
git diff --name-only --diff-filter=ACMR
git diff --cached --name-only --diff-filter=ACMR
git merge-base HEAD origin/main || git merge-base HEAD main || git merge-base HEAD origin/master || git merge-base HEAD master
git diff --name-only --diff-filter=ACMR "$base"...HEAD
git log --oneline --decorate -n 10
Include files that can affect React behavior:
.tsx, .jsx, React-facing .ts/.jsExclude generated files, snapshots, lockfile-only churn, and unrelated backend-only files unless they feed the changed UI behavior.
State the chosen scope briefly in the final answer so the reader can see what was reviewed.
npx -y react-doctor@latest . --verbose --diff when feasible. If it cannot run, capture the reason and continue manually.Prioritize user-impacting correctness and performance over style.
Check for:
Produce a clean list, not a raw dump.
react-doctor and manual review disagree, explain the evidence and rank the finding by actual risk.Lead with findings. Stack-rank by severity and likely user impact.
Use this shape:
**Findings**
1. `[Severity] Short title`
- Location: `path:line` or `path` when line is unavailable
- Evidence: exact code behavior, command output, or failing check
- Why it matters: user-visible risk or engineering invariant
- Source: support skill or rule family, if applicable
- Recommended fix: smallest credible fix
- Verification: targeted check after the fix
Severity scale:
Critical: breaks build, data integrity, auth/security, or a primary user path.High: likely runtime bug, stale UI, hydration issue, major performance regression, or brittle API that blocks safe extension.Medium: meaningful maintainability, render, bundle, accessibility, or test coverage risk in touched React code.Low: small hardening item worth fixing after higher-severity work.Include confidence only when uncertainty matters:
Confirmed: demonstrated by code, failing check, or reproducible path.Likely: strong static evidence, not reproduced.Needs follow-up: incomplete evidence; include the exact next check.After findings, provide one consolidated fix plan.
The plan must:
react-doctor, or manual verification needed after each batch.If there are no findings, say that directly and include:
tools
Comprehensively manually test the Circuit plugin's user-facing surface in either Claude Code or Codex. Use this skill whenever the user asks to "manually test Circuit", "QA the Circuit plugin", "exercise the Circuit surface", "run the Circuit checklist", "smoke test Circuit", "find regressions in Circuit", "test the Claude Circuit plugin", "test the Codex Circuit plugin", or when preparing a Circuit release for marketplace publication. Argument is the host package to test — `claude` or `codex`. Produces a Markdown report with per-command pass/fail, exploratory findings ranked by severity, run-folder evidence links, and a concise terminal summary. Use even if the user does not say the word "test" — phrases like "go through every Circuit command" or "make sure Circuit still works end-to-end" should also trigger.
development
Turn the prompt supplied with this skill into a concise, auditable Codex Goal or explain why a Goal is not the right fit. Use when the user asks to draft, formulate, rewrite, tighten, or create a `/goal` from a plain-language task, especially for multi-step work that needs a durable objective, evidence-based completion, constraints, iteration policy, and a default adversarial review loop.
development
Give the human a fast, plain-English catch-up on what changed in the project: what the agents did, why, and what decisions need their input. Use this whenever the user asks to "catch me up", "what changed", "where are we", "recap", "brief me", "give me the rundown", "what did you do", "summarize the session", "fill me in", or otherwise signals they have been away and want to get back up to speed quickly. Built for someone steering several agent-driven projects at once who does not read the code closely but needs to grasp the core ideas, the choices made, and the open decisions well enough to steer. Trigger even if they do not use these exact words: any request to get oriented on recent progress should use this skill.
tools
Expert Unix and macOS systems engineer for shell scripting, system administration, command-line tools, launchd, Homebrew, networking, and low-level system tasks. Use when the user asks about Unix commands, shell scripts, macOS system configuration, process management, or troubleshooting system issues.