vercel-react-best-practices

Enforce React and Next.js performance best practices during code reviews and refactoring.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Vercel React Best Practices provides a structured, comprehensive set of performance guidelines for React and Next.js projects, helping teams reduce render time, optimize data fetching, and shrink bundle sizes.

Core Features & Use Cases

  • Broad rule categories covering eliminating waterfalls, bundle optimization, server-side performance, client data fetching, re-rendering, rendering, JavaScript performance, and advanced patterns.
  • Concrete, side-by-side incorrect/correct code examples and practical guidance for automation and code generation.
  • Clear guidance for when to apply patterns during development, review, and refactoring across client and server code paths.

Quick Start

Apply these guidelines to your React/Next.js project to begin reducing latency, improving initial paint, and optimizing bundle size today.

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 by reducing render time and bundle size?

Optimize React and Next.js performance by applying best-practice guidelines that eliminate data fetching waterfalls, use Suspense, implement dynamic imports, and avoid barrel imports to reduce render time and shrink bundle sizes.

What are the best practices for data fetching and rendering in Next.js server components?

Next.js server component best practices include applying server-side optimizations, eliminating data fetching waterfalls, and using Suspense to improve initial paint and reduce latency across server code paths.

How do I prevent barrel imports from increasing my JavaScript bundle size?

Prevent barrel imports from increasing bundle size by applying dynamic imports and specific import patterns, ensuring your bundling process only includes necessary code to shrink the final output.

Can I use these React performance patterns during code reviews and refactoring?

You can apply these React performance patterns during code reviews and refactoring using provided incorrect and correct side-by-side code examples, guiding development across both client and server code paths.

Why does my Next.js app have rendering waterfalls and how do I fix them?

Rendering waterfalls occur from sequential data fetching; fix them by applying best-practice patterns that parallelize data fetching, utilize server-side optimizations, and implement Suspense boundaries.