vercel-react-best-practices

Analyzes React/Next.js projects and applies Vercel's best-practice optimizations for rendering, data fetching, and bundle size.

Updated Jan 16, 2026
One-click install
npx skills add https://github.com/ghpworkuse-web/train --skill vercel-react-best-practices-ghpworkuse-web
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/ghpworkuse-web/train/tree/main/AutoGPT/.claude/skills/vercel-react-best-practices
Command: npx skills add https://github.com/ghpworkuse-web/train --skill vercel-react-best-practices-ghpworkuse-web

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

React/Next.js performance guidelines help you build faster apps by avoiding common pitfalls and optimizing rendering, data fetching, and bundling.

Core Features & Use Cases

  • Comprehensive rules across 8 categories to guide automated refactoring and code generation.
  • Use cases include improving initial paint, reducing waterfalls, optimizing bundle size, and enhancing SSR/CSR performance.
  • Helps teams enforce consistent performance practices across React components and Next.js pages.

Quick Start

Analyze a React/Next.js project and apply the highest-impact performance rules from this guide to optimize rendering, data fetching, 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 optimize React and Next.js rendering performance?

To optimize React and Next.js rendering, apply high-impact rules that improve server-side and client-side rendering. This guidance provides concrete examples for safe refactoring across small components and large page-level architectures.

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

Reducing bundle size in a Next.js project involves applying targeted optimization rules to minimize unnecessary code. This approach provides guardrails and concrete examples to safely refactor and lower your application's overall bundle footprint.

How do I fix data fetching waterfalls in Next.js applications?

Fixing data fetching waterfalls in Next.js applications requires identifying sequential fetching bottlenecks and applying Vercel's best practices. This process helps restructure data retrieval patterns to improve initial paint and overall loading speed.

Can I use these React performance patterns on both small components and large page architectures?

Yes, you can use these React performance patterns on both small components and large page architectures. The rules are designed to be applicable across varying scopes, providing guardrails for consistent performance practices throughout your project.

Why does my Next.js initial paint perform poorly despite using server rendering?

Poor initial paint in Next.js despite server rendering often stems from unoptimized server-side rendering or data fetching bottlenecks. Analyzing the project against performance rules helps identify these specific bottlenecks and apply safe refactoring guardrails.