vercel-react-best-practices

Apply Vercel-approved best practices to React and Next.js apps.

Updated Nov 21, 2025
One-click install
npx skills add https://github.com/NathanColosimo/kompose --skill vercel-react-best-practices-nathancolosimo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/NathanColosimo/kompose/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/NathanColosimo/kompose --skill vercel-react-best-practices-nathancolosimo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Vercel React Best Practices codifies industry-standard performance guidelines for React and Next.js applications to help teams write faster, more scalable code.

Core Features & Use Cases

  • Comprehensive rules across eight priority categories (Eliminating Waterfalls, Bundle Size Optimization, Server-Side Performance, Client-Side Data Fetching, Re-render Optimization, Rendering Performance, JavaScript Performance, Advanced Patterns) to guide refactoring and automated tooling.
  • Clear guidance for code reviews, automation, and code generation, with well-defined rule prefixes.
  • Real-world scenarios include optimizing API routes, server actions, Suspense boundaries, and immutable data patterns to improve TTI and LCP.

Quick Start

Audit a React/Next.js project against the eight priority categories and apply the highest-impact rules to reduce waterfalls and bundle size.

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 reduce React bundle size and eliminate data fetching waterfalls in Next.js?

To reduce React bundle size and eliminate waterfalls, apply Vercel best practices by auditing components against eight priority categories, optimizing server components, and enforcing immutable data patterns to improve TTI and LCP.

What are Vercel's priority categories for refactoring React and Next.js performance?

Vercel's priority categories for refactoring React performance include Eliminating Waterfalls, Bundle Size Optimization, Server-Side Performance, Client-Side Data Fetching, Re-render Optimization, Rendering Performance, JavaScript Performance, and Advanced Patterns.

How do I optimize server actions and Suspense boundaries for Next.js server-side performance?

Optimize Next.js server-side performance by applying defined rule prefixes to refactoring tasks, ensuring server actions and Suspense boundaries follow Vercel-approved patterns to reduce rendering bottlenecks and data waterfalls.

Can I use these React optimization guidelines for automated code reviews and generation?

Yes, these React optimization guidelines are designed for automated code reviews and generation, providing a taxonomy of eight categories with defined prefixes to systematically guide refactoring and enforce performance best practices.

Does this approach work for both client-side data fetching and server components in Next.js?

Yes, this approach works for both by providing distinct rules for Client-Side Data Fetching and Server-Side Performance, ensuring optimal rendering and data patterns across server components and client-side operations.

When should I apply bundle size optimization rules versus re-render optimization in React?

Apply bundle size optimization rules to reduce initial load times and re-render optimization rules to prevent unnecessary component updates, using the eight-category taxonomy to prioritize refactoring based on specific performance bottlenecks.