review-react
Installation
SKILL.md
Skill: Review React
Purpose
Review React code for framework conventions only. Do not define scope (diff vs codebase) or perform security/architecture analysis; those are handled by the scope and cognitive skills. Emit a findings list in the standard format for aggregation. Focus on function component design, hooks correctness, state management (local and external), rendering performance, side effects and data fetching, routing and code splitting, and accessibility.
Core Objective
Primary goal: produce a React framework findings list covering component design, hooks correctness, state management, rendering performance, side effects, routing/code splitting, and accessibility for the given code scope.
Success criteria (all must hold):
- ✅ React framework scope only: reviews React framework conventions only; performs no scope selection, security, or architecture analysis
- ✅ All seven React dimensions covered: component design, hooks correctness, state management, rendering performance, side effects/data fetching, routing/code splitting, and accessibility are assessed where relevant
- ✅ Findings format compliant: each finding carries every element findings-list §5.1 requires, with category
framework-react - ✅ Component/file references: every finding cites a specific file:line or component name
- ✅ Non-React code excluded: non-React files are not analyzed against React-specific rules unless they are explicitly in scope