react-agents-review
Installation
SKILL.md
react-agents-review
Quick Reference
This skill provides a structured validation checklist for reviewing generated React code. Run each checklist area sequentially against the code under review. Every item uses the format:
- [CHECK] What to verify
- [PASS] Expected correct state
- [FAIL] Common failure mode and fix
Critical Warnings
NEVER approve code with conditional Hook calls -- this breaks React's internal state tracking and causes silent corruption across re-renders.
NEVER approve useEffect without verifying its cleanup function -- missing cleanup causes memory leaks, stale subscriptions, and zombie event listeners.
NEVER approve dangerouslySetInnerHTML without DOMPurify or equivalent sanitization -- this is a direct XSS attack vector.
NEVER approve components over 300 lines without flagging for decomposition -- God components are untestable and unmaintainable.