What problem does it solve?
This skill encapsulates established, battle-tested React and Next.js performance guidelines to help teams reduce bottlenecks, improve load times, and maintain scalable codebases. It provides a codified set of rules across priority categories to guide automated refactoring and code generation.
Core Features & Use Cases
- 57 rules across 8 priority categories, covering eliminating waterfalls, bundle size, server-side and client-side patterns, re-render optimization, rendering performance, JavaScript micro-optimizations, and advanced patterns.
- Clear, actionable guidance for writing, reviewing, and refactoring React components, Next.js pages, and data-fetching strategies.
- Use with AI-assisted workflows to produce optimized code, detect anti-patterns, and generate performance-focused templates and snippets.
Quick Start
To start, prompt: "Apply the vercel-react-best-practices guidelines to optimize a given React/Next.js component." The Skill includes a comprehensive set of rules (57 rules) across 8 categories and real-world code examples in the RULES directory.