vercel-react-best-practices

Apply Vercel best practices to React and Next.js code reviews.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/yashtekavade/fast-invoice-generator- --skill vercel-react-best-practices-yashtekavade
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/yashtekavade/fast-invoice-generator-/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/yashtekavade/fast-invoice-generator- --skill vercel-react-best-practices-yashtekavade

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you eliminate common React and Next.js performance issues by providing Vercel-maintained, automation-friendly rules for streaming, bundling, caching, and render efficiency.

Core Features & Use Cases

  • Waterfall elimination & parallel fetching: Convert sequential awaits into parallel patterns using Promise.all, better-all, and Suspense composition to improve time-to-interactive.
  • Bundle size and load-time optimization: Reduce cold-start and LCP impact via targeted imports, dynamic loading, conditional module loading, and deferred third-party scripts.
  • Server/client boundary performance: Minimize RSC serialization, apply React.cache/LRU caching correctly, hoist static I/O, and prevent duplicated network payload.
  • Re-render and rendering efficiency: Use derived state, stable callbacks, correct memoization, useTransition, and rendering optimizations like content-visibility and hydration strategies.

Quick Start

Use this skill when you are reviewing or refactoring a React/Next.js code change for performance, and ask an AI to produce a prioritized set of code edits following the applicable rule categories and naming conventions.

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 eliminate data fetching waterfalls in React Server Components?▼

To eliminate data fetching waterfalls in React Server Components, convert sequential awaits into parallel patterns using Promise.all and Suspense composition. This improves time-to-interactive by streaming content as it resolves rather than blocking the entire render tree.

What's the best way to reduce Next.js bundle size and improve LCP?▼

To reduce Next.js bundle size and improve LCP, apply targeted imports, dynamic loading, conditional module loading, and deferred third-party scripts. These optimizations reduce cold-start impact by preventing unnecessary JavaScript execution during initial page load.

How does RSC serialization affect performance at the client/server boundary?▼

RSC serialization affects performance by transferring payload weight across the client/server boundary. You can minimize this by hoisting static I/O, applying React.cache or LRU caching correctly, and preventing duplicated network payloads during server-side data fetching.

How do I minimize re-renders and optimize rendering efficiency in React?▼

To minimize re-renders and optimize rendering efficiency in React, use derived state, stable callbacks, correct memoization, and useTransition. You can also apply rendering optimizations like content-visibility and hydration strategies to reduce client-side rendering overhead.

Can I use this for code review and refactoring Next.js routes?▼

Yes, you can use this for code review and refactoring of Next.js routes. It provides rule-based guidance across eight prioritized categories, applying Vercel engineering best practices to produce a prioritized set of actionable code edits for performance optimization.