React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
87
81%
Does it follow best practices?
Impact
97%
1.51xAverage score across 3 eval scenarios
Passed
No known issues
Async waterfall elimination and server-side caching
Early promise start
0%
100%
Promise.all usage
100%
100%
React.cache wrapping
100%
100%
Primitive cache args
100%
100%
LRU cache package
0%
100%
LRU cache config
0%
100%
RSC component composition
100%
100%
No parent data passing
100%
100%
better-all or deps pattern
20%
100%
DECISIONS.md documents patterns
100%
100%
Bundle size optimization and dynamic imports
Analytics deferred
100%
100%
Dynamic editor import
100%
100%
Editor ssr false
100%
100%
Direct lucide imports
0%
100%
Direct MUI imports
100%
100%
Preload on hover/focus
100%
100%
Preload typeof window check
0%
100%
No top-level analytics import
0%
100%
OPTIMIZATION_NOTES documents barrel imports
100%
100%
OPTIMIZATION_NOTES documents dynamic imports
100%
100%
Client-side re-render and Server Action security
startTransition for search
0%
100%
Ternary not &&
0%
100%
Hoisted static JSX
0%
100%
Server Action input validation
100%
100%
Server Action auth check
100%
100%
Server Action auth before execute
100%
100%
Server Action no middleware reliance
100%
100%
useMemo or memo for filter
100%
100%
SWR for data fetching
0%
0%
REVIEW.md explains patterns
83%
100%
90d6bd7
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.