vercel-react-best-practices

Apply React and Next.js performance best practices to code reviews and refactors.

Updated Feb 23, 2026
One-click install
npx skills add https://github.com/sulthonuladib/boilerplatesting --skill vercel-react-best-practices-sulthonuladib
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/sulthonuladib/boilerplatesting/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/sulthonuladib/boilerplatesting --skill vercel-react-best-practices-sulthonuladib

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide consolidates React and Next.js performance guidelines from Vercel Engineering to help teams identify and fix common bottlenecks across components, pages, and data-fetching layers.

Core Features & Use Cases

  • 57 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.
  • Applies to writing, reviewing, or refactoring React/Next.js code to optimize load times and UX.
  • Use cases include reducing waterfalls, bundle size improvements, and server-side performance optimizations.

Quick Start

Review the guide and begin applying the highest-impact rules to your React/Next.js project to see measurable performance improvements.

Frequently Asked Questions about vercel-react-best-practices

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

FAQPage Schema
How do I optimize React and Next.js performance to improve load times?

To optimize React and Next.js performance, apply prioritized rules across 8 categories targeting bundle size, critical-path waterfalls, and server-side rendering patterns. This reduces bottlenecks across components and data-fetching layers to improve load times and UX.

What are the best practices for reducing critical-path waterfalls in Next.js?

Best practices for reducing critical-path waterfalls involve optimizing data fetching and server-side rendering patterns. Applying targeted refactoring rules eliminates sequential loading blocks, improving web vitals and ensuring efficient data retrieval for faster page rendering.

Can I use these Next.js performance guidelines for automated code refactoring?

Yes, you can use these Next.js performance guidelines for automated code refactoring. The 57 prioritized rules are designed to guide automated refactoring and code generation across components, pages, data fetching, and bundle optimization.

Does this guide cover safe server actions and server-side rendering in Next.js?

Yes, this guide covers safe server actions and server-side rendering in Next.js. It provides specific rules for SSR patterns and server actions to ensure secure and efficient server-side performance optimizations during refactoring and new development.

Why does my Next.js bundle size impact web vitals and how do I fix it?

Your Next.js bundle size impacts web vitals because large bundles delay load times and degrade UX. You fix it by applying bundle optimization rules that guide code generation and refactoring to reduce unnecessary payload across pages and components.