vercel-react-best-practices

Apply Vercel Engineering guidelines to optimize React and Next.js applications.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive set of best practices and rules to optimize the performance of React and Next.js applications, addressing critical areas like waterfalls, bundle size, and rendering efficiency.

Core Features & Use Cases

  • Performance Optimization: Apply over 50 rules across 8 categories to improve app speed.
  • Code Refactoring: Identify and fix performance bottlenecks in React/Next.js codebases.
  • Automated Code Generation: Ensure new code adheres to Vercel's performance standards.
  • Use Case: When refactoring a Next.js page that suffers from slow load times, use this Skill to identify and implement optimizations like reducing bundle size through direct imports and eliminating data fetching waterfalls.

Quick Start

Apply the Vercel React best practices to the provided code snippet.

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 for slow page loads?

To optimize React and Next.js performance, apply over 50 Vercel Engineering rules covering bundle size reduction, eliminating data fetching waterfalls, and re-render optimization. This identifies and fixes critical rendering bottlenecks.

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

The best way to reduce Next.js bundle size is by applying Vercel best practices like using direct imports and eliminating waterfalls. These rules target critical areas to improve app speed and rendering efficiency.

How do I eliminate data fetching waterfalls in React codebases?

To eliminate data fetching waterfalls in React, apply Vercel's performance guidelines for server-side and client-side optimization. This approach identifies sequential data fetching issues and refactors code to improve rendering efficiency.

Does this approach work for both server-side and client-side React performance?

Yes, this approach works for both server-side and client-side React performance. Vercel's optimization guidelines cover critical rendering areas across both environments, ensuring new code adheres to performance standards during refactoring.

Can I use these rules to generate new Next.js code that meets performance standards?

Yes, you can use these rules to generate new Next.js code that meets performance standards. The guidelines target AI agents for code maintenance and generation, ensuring new code inherently adheres to Vercel's performance optimization practices.

What are the limitations when applying Vercel best practices to React refactoring?

A limitation of applying Vercel best practices to React refactoring is that the guidelines target specific areas like waterfalls, bundle size, and re-render optimization. Complex architectural changes may require broader context beyond these 50 rules.