vercel-react-best-practices

Apply Vercel best practices to React and Next.js code for performance.

Updated Dec 22, 2025
One-click install
npx skills add https://github.com/chris-gs4/my-family-story-archive --skill vercel-react-best-practices-chris-gs4
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/chris-gs4/my-family-story-archive/tree/main/archive/old-editor-configs/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/chris-gs4/my-family-story-archive --skill vercel-react-best-practices-chris-gs4

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guidance consolidates React and Next.js performance best practices from Vercel Engineering to help teams write, review, or refactor code that runs faster and more efficiently.

Core Features & Use Cases

  • Comprehensive rules covering waterfall elimination, bundle imports, server-side patterns, and rendering optimizations.
  • Applicable to writing, reviewing, or refactoring React components, Next.js pages, data fetching strategies, and bundle optimization tasks.
  • Provides actionable patterns and examples to guide automated refactoring and code generation.

Quick Start

Review your React/Next.js codebase and start applying the documented patterns to improve startup time, interactivity, and overall performance.

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 and Next.js bundle size during refactoring?

Reduce bundle size by applying Vercel-engineered patterns that enforce optimized bundle imports, secure server actions, and eliminate unnecessary client-side code during component refactoring.

What are the best practices for securing Next.js server actions?

Securing Next.js server actions involves applying safe client-server patterns and Vercel best practices to protect data fetching routes and enforce secure server-side execution.

How do I eliminate data fetching waterfalls in Next.js pages?

Eliminate data fetching waterfalls in Next.js by applying rendering optimizations and server-side patterns that parallelize requests and reduce sequential data loading.

Can I use these performance patterns for reviewing existing React code?

Yes, you can use these performance patterns for reviewing existing React code, as the guidance explicitly covers reviewing, writing, and refactoring React components and Next.js pages.

Does this guidance work with both React components and Next.js pages?

Yes, this guidance works with both React components and Next.js pages, providing actionable patterns and examples for data fetching, rendering optimizations, and safe client-server interactions.