vercel-react-best-practices

Apply React and Next.js performance best practices across 57 rules and 8 categories.

2|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/YouMingYeh/shadcn-ui-supabase-docker-template --skill vercel-react-best-practices-youmingyeh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/YouMingYeh/shadcn-ui-supabase-docker-template/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/YouMingYeh/shadcn-ui-supabase-docker-template --skill vercel-react-best-practices-youmingyeh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

React and Next.js projects frequently struggle with slow performance, bloated bundles, and inconsistent optimization patterns across teams. This Skill consolidates Vercel's best-practices into a practical, repeatable approach to improve speed, reliability, and user experience.

Core Features & Use Cases

  • 57 rules across 8 categories cover Eliminating Waterfalls, Bundle Size, Server-Side Performance, Client-Side Data Fetching, Re-render Optimization, Rendering Performance, JavaScript Performance, and Advanced Patterns.
  • Provides concrete examples and guidance to drive automated refactoring, code generation, and reviews for production-grade React/Next.js codebases.
  • Use this skill during development, code reviews, and architecture planning to standardize performance-focused decisions across teams.

Quick Start

Review the published rules and apply the recommended patterns to your React components, Next.js pages, and data-fetching strategies to start improving performance immediately.

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 to reduce slow load times?

Optimize React and Next.js performance by applying best practices across server actions, suspense, code-splitting, serialization, and caching to improve reliability and speed. This approach consolidates patterns to boost load times and UX.

What is the best way to reduce bundle size in a Next.js application?

Reduce Next.js bundle size by applying code-splitting and JavaScript performance best practices. This skill provides concrete guidance and rules to drive automated refactoring, code generation, and reviews for bloated bundles.

How do I eliminate data fetching waterfalls in React components?

Eliminate data fetching waterfalls in React components by utilizing client-side data fetching and suspense best practices. This ensures reliable code generation and standardizes performance-focused decisions across teams.

Does this approach work for both server-side rendering and client-side data fetching?

Yes, this approach works for both server-side rendering and client-side data fetching. It enforces rules across eight categories including server actions, caching, and suspense to guide safe code generation.

When should I use Suspense to improve rendering performance in Next.js?

Use Suspense to improve rendering performance in Next.js when you need to eliminate waterfalls and optimize re-renders. Applying these best practices helps standardize performance-focused decisions during architecture planning.