What problem does it solve?
This skill provides a prescriptive, prioritized set of rules to detect and fix common React and Next.js performance problems — eliminating async waterfalls, shrinking initial bundles, preventing SSR/hydration regressions, and reducing unnecessary re-renders.
Core Features & Use Cases
- Performance-driven refactoring: Concrete patterns for parallelizing async work, using Suspense boundaries, and avoiding server-side waterfalls.
- Bundle and load optimization: Guidance on avoiding barrel imports, dynamic imports, conditional loading, and preloading based on user intent.
- Server & serialization best practices: Rules for hoisting static I/O, per-request vs cross-request caching, minimizing RSC serialization, and treating Server Actions like API routes.
- Use Case: Use this guide to power an automated code-review agent that scans a codebase for expensive awaits, heavy imports, misused effects, and suggests or applies targeted fixes.
Quick Start
Review the React/Next.js codebase and apply Vercel React Best Practices to identify waterfalls, reduce bundle size, and propose concrete fixes for async parallelism, dynamic imports, and server-side data handling.