vercel-react-best-practices

Apply Vercel React and Next.js performance rules during code refactoring.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive set of guidelines and best practices to significantly improve the performance of React and Next.js applications, addressing critical areas like bundle size, rendering speed, and data fetching efficiency.

Core Features & Use Cases

  • Performance Optimization: Offers over 50 rules categorized by impact (Critical, High, Medium, Low) covering waterfalls, bundle size, server-side rendering, client-side fetching, and more.
  • Automated Refactoring Guidance: Designed for AI agents to use when writing, reviewing, or refactoring code, ensuring adherence to Vercel's engineering standards.
  • Use Case: When developing a new Next.js page, consult this Skill to ensure data fetching is parallelized, bundle size is minimized through direct imports, and server-side rendering is optimized to prevent waterfalls.

Quick Start

Use the vercel-react-best-practices skill to refactor the provided React component for optimal 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 optimize React and Next.js performance and reduce bundle size?

To optimize React and Next.js performance, apply Vercel Engineering's 57 rules prioritizing critical optimizations like eliminating data fetching waterfalls and reducing bundle size through direct imports.

What is the best way to prevent data fetching waterfalls in Next.js?

The best way to prevent data fetching waterfalls in Next.js is to parallelize data fetching operations and optimize server-side rendering, adhering to critical performance guidelines provided by Vercel Engineering.

How do I refactor React components for optimal performance?

You can refactor React components for optimal performance by applying automated refactoring guidelines that enforce direct imports, minimize bundle size, and optimize server-side rendering.

Does this Skill provide rules for both server-side rendering and client-side fetching?

Yes, this Skill provides performance optimization rules covering server-side rendering, client-side fetching, bundle size reduction, and data fetching efficiency across 8 distinct categories.

What are the most critical optimizations for Next.js application speed?

The most critical optimizations for Next.js application speed are eliminating data fetching waterfalls and minimizing bundle size, prioritized above high, medium, and low impact performance rules.

Can I use these guidelines to review existing React code?

Yes, you can use these Vercel engineering standards to review existing React code, ensuring adherence to over 50 categorized rules for high-performance application development and automated code refactoring.