vercel-react-best-practices

Review React and Next.js code for performance bottlenecks and apply optimization rules.

602|12|Updated Apr 22, 2026
One-click install
npx skills add https://github.com/video-production-buddy/video-production-buddy --skill vercel-react-best-practices-video-production-buddy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/video-production-buddy/video-production-buddy/tree/main/.agents/local/skills/vercel-react-best-practices
Command: npx skills add https://github.com/video-production-buddy/video-production-buddy --skill vercel-react-best-practices-video-production-buddy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

React and Next.js applications often suffer from performance issues like slow initial load times, janky user interactions, bloated JavaScript bundles, and inefficient server-side data fetching that lead to poor user experience and high bounce rates. This Skill provides a curated, prioritized set of guidelines to eliminate these bottlenecks without guesswork.

Core Features & Use Cases

  • 65 Impact-Ranked Performance Rules: 8 categorized guidelines covering eliminating waterfalls, bundle size optimization, server-side performance, client-side data fetching, re-render optimization, rendering performance, JavaScript micro-optimizations, and advanced patterns, all sorted by impact from critical to incremental.
  • Actionable Code Examples: Each rule includes clear incorrect vs. correct React/Next.js code implementations, impact metrics, and real-world context to guide automated refactoring, code generation, and manual code reviews.
  • Common Use Cases: Writing new high-performance React components and Next.js pages, reviewing existing code for performance bottlenecks, refactoring slow applications to reduce load times, optimizing bundle size for faster Time to Interactive, and implementing efficient data fetching patterns for server and client components.

Quick Start

Use this skill to review your Next.js application's server-side data fetching logic and apply the server-parallel-fetching and async-parallel rules to eliminate sequential request waterfalls and cut initial page load time in half.

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 fix slow initial load times in Next.js caused by server-side data fetching waterfalls?

To fix slow initial load times in Next.js caused by data fetching waterfalls, apply parallel data fetching patterns. By eliminating sequential server-side requests and parallelizing fetches, you can significantly reduce initial page load time and improve Largest Contentful Paint metrics.

What is the best way to reduce unnecessary re-renders in React components?

The best way to reduce unnecessary re-renders in React components is applying targeted re-render optimization rules. This involves identifying inefficient state management and rendering patterns, then refactoring them using memoization and structural changes to improve overall UI responsiveness.

How do I optimize JavaScript bundle size for faster Time to Interactive in React applications?

To optimize JavaScript bundle size for faster Time to Interactive in React applications, implement code splitting and bundle optimization best practices. This process reduces bloated client-side bundles by dynamically loading non-critical JavaScript, directly improving the application's interactive speed.

Can I use these React and Next.js performance rules for both code generation and manual code reviews?

Yes, you can use these React and Next.js performance rules for both code generation and manual code reviews. The guidelines provide incorrect versus correct code implementations with real-world context, making them highly effective for reviewing existing logic or generating new high-performance components.

Why does my Next.js application suffer from janky user interactions and high bounce rates?

Your Next.js application suffers from janky user interactions and high bounce rates due to unoptimized data fetching, bloated bundles, and unnecessary re-renders. These performance bottlenecks degrade user experience and can be resolved by applying impact-ranked performance optimization rules.

What are the limitations of using generic React performance optimization techniques for complex server components?

Generic React performance techniques often lack specific serialization optimization and server-side caching patterns required for complex Next.js server components. Applying a curated, impact-ranked set of advanced server-side performance rules ensures you address waterfalls and caching without guesswork.