vercel-react-best-practices

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill consolidates React and Next.js performance optimization guidelines from Vercel Engineering to help teams write, review, and refactor code for faster, more reliable apps.

Core Features & Use Cases

  • Comprehensive guidance: 57 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.
  • Practical usage: Ideal for evaluating new components, reviewing existing pages, and optimizing data fetching and bundle size.
  • Use Case: When you need a repeatable performance checklist before shipping a React/Next.js feature.

Quick Start

Analyze a React/Next.js codebase and output a prioritized optimization plan based on Vercel 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 identify React and Next.js performance bottlenecks in my codebase?

Performance bottlenecks in React and Next.js typically stem from waterfalls in data fetching, inefficient component re-renders, large bundle sizes, and unsafe serialization across server components. Analyze your code against best practices like server-side optimization, client-side deduplication, and proper data-fetching patterns to pinpoint issues affecting load times.

What are the key React and Next.js optimization patterns I should follow?

Core React and Next.js optimization patterns include eliminating data-fetching waterfalls, leveraging server-side optimization to reduce client burden, deduplicating requests on the client, and ensuring safe serialization between server and client components. These patterns reduce load times and bundle size while improving reliability.

Can I use performance best practices during code reviews and refactoring?

Yes, React and Next.js performance best practices are ideal for code reviews and refactoring workflows. A comprehensive checklist covering components, pages, and data-fetching layers helps teams systematically evaluate and improve code before shipping, ensuring consistent optimization across your codebase.

How do I optimize bundle size in Next.js applications?

Next.js bundle optimization involves applying best practices across components and pages to reduce what the browser downloads. Techniques include code splitting, eliminating unused dependencies, server-side rendering where appropriate, and efficient data fetching to minimize the initial payload and improve load performance.

What's the best way to structure data fetching in React and Next.js for performance?

Efficient data fetching eliminates waterfalls by batching requests, leveraging server-side fetching to avoid client round trips, and deduplicating identical requests. Proper structure ensures data flows optimally between server and client components, reducing latency and improving perceived performance.