vercel-react-best-practices
Pass
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: SAFE
Full Analysis
- [Educational Performance Guidelines]: The skill provides structured rules for optimizing React and Next.js applications, using "Incorrect" and "Correct" code blocks to illustrate performance-focused refactoring.
- [Use of Standard Libraries]: The rules suggest using established libraries for specific tasks, such as
swrfor data fetching,lru-cachefor cross-request caching, andbetter-allfor managing parallel promises. - [Integrated Security Guidance]: One of the high-impact rules emphasizes authenticating and validating inputs within Server Actions, treating them as public API endpoints to prevent unauthorized access.
- [Client-Side Best Practices]: The skill includes guidelines for safe and efficient
localStorageusage, including versioning and error handling to manage schema changes and private browsing limitations. - [DOM Interaction Patterns]: Includes guidelines for avoiding layout thrashing by batching DOM reads and writes, and using hardware-accelerated animations for SVG elements.
Audit Metadata