vercel-react-best-practices

Codify React and Next.js performance best practices for reducing waterfalls and bundle size.

Updated Aug 30, 2025
One-click install
npx skills add https://github.com/cute-baobao/pm --skill vercel-react-best-practices-cute-baobao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/cute-baobao/pm/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/cute-baobao/pm --skill vercel-react-best-practices-cute-baobao

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This collection provides React and Next.js performance optimization guidelines used by Vercel Engineering to help teams improve loading times, lower bundle sizes, and ensure scalable, maintainable patterns across client and server code.

Core Features & Use Cases

  • Comprehensive rules across 8 categories covering waterfalls, bundle size, server-side performance, client data fetching, re-render optimization, rendering patterns, JavaScript performance, and advanced patterns.
  • Practical, real-world examples and machine-readable rule references to guide automated refactoring and code generation.
  • Use cases include writing new components/pages, reviewing performance bottlenecks, and refactoring existing codebases for faster renders and smaller bundles.

Quick Start

Analyze a React/Next.js project to identify performance bottlenecks and implement the recommended best practices.

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 reduce loading times and bundle size?

To optimize React and Next.js performance, apply Vercel Engineering guidelines covering waterfalls, bundle size, server-side performance, and client data fetching. These practices ensure faster renders and smaller bundles across modern Next.js stacks.

What are the best practices for minimizing waterfalls in Next.js server and client rendering paths?

Minimizing waterfalls in Next.js involves optimizing server/client rendering paths and data-fetching patterns. The guidelines provide strict guardrails and machine-readable rule references to safely refactor components and pages for scalable improvements.

Does this React performance optimization guidance apply to both new components and existing codebase refactoring?

Yes, these React performance optimization rules apply to writing new components and pages, reviewing performance bottlenecks, and refactoring existing codebases. They offer practical examples and machine-readable references for automated refactoring and code generation.

Can I use these Next.js best practices for automated code generation and tooling?

Yes, you can use these Next.js best practices for automated tooling. They include machine-readable rule references and strict guardrails designed to guide automated refactoring and code generation safely.

What categories of JavaScript performance and rendering patterns are covered for modern Next.js stacks?

JavaScript performance and rendering patterns for Next.js stacks span 8 categories, including re-render optimization, advanced patterns, bundle optimization, and server-side performance. They ensure scalable, maintainable patterns across client and server code.