vercel-react-best-practices

Apply Vercel Engineering performance rules to React and Next.js codebases.

Updated Feb 4, 2026
One-click install
npx skills add https://github.com/hakushun/ai-dev-starter --skill vercel-react-best-practices-hakushun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/hakushun/ai-dev-starter/tree/main/.cursor/skills/vercel-react-best-practices
Command: npx skills add https://github.com/hakushun/ai-dev-starter --skill vercel-react-best-practices-hakushun

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a comprehensive, battle-tested set of performance guidelines for React and Next.js, helping teams identify and fix bottlenecks in rendering, data fetching, and bundling.

Core Features & Use Cases

  • 57 rules across 8 priority categories covering waterfalls, bundle optimization, server-side rendering patterns, client data fetching, re-render optimization, rendering performance, JavaScript performance, and advanced patterns.
  • Actionable examples and patterns for code review, automated refactoring, and performance improvements.
  • Use cases include optimizing component rendering, reducing bundle size, and improving server actions and Suspense usage.

Quick Start

  • Review the 57 rules across 8 categories to identify applicable changes in your project.
  • Apply the guidelines during feature development, PR reviews, and refactoring sessions to meet performance goals.
  • Start with Eliminating Waterfalls and Bundle Size, then proceed to Server and Client patterns as needed.

Frequently Asked Questions about vercel-react-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the best practices for React and Next.js performance optimization?

React and Next.js performance optimization involves following 57 rules across 8 priority categories, covering waterfalls, bundle size, server-side rendering, client data fetching, and re-render optimization.

How do I fix React rendering bottlenecks during a code review?

To fix React rendering bottlenecks during code review, apply structured, example-driven patterns to identify and resolve issues in component rendering, server actions, and Suspense usage.

How can I reduce my Next.js bundle size?

To reduce your Next.js bundle size, apply the bundle optimization guidelines provided within the 8 priority categories, starting with eliminating waterfalls and analyzing bundle size before moving to server patterns.

Does this approach work for optimizing server actions and client data fetching?

Yes, this approach works for optimizing server actions and client data fetching by enforcing specific patterns across server-side rendering and client-side data retrieval to eliminate waterfalls.

When should I apply these performance guidelines in my workflow?

You should apply these performance guidelines during feature development, pull request reviews, and refactoring sessions to systematically identify and fix rendering, data fetching, and bundling bottlenecks.

What is the recommended order for addressing Next.js performance issues?

The recommended order for addressing Next.js performance issues is to start with eliminating waterfalls and bundle size optimization, then proceed to server and client data fetching patterns as needed.