vercel-react-best-practices

Apply Vercel engineering standards to optimize React and Next.js performance.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/mhbdev/git-pal --skill vercel-react-best-practices-mhbdev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/mhbdev/git-pal/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/mhbdev/git-pal --skill vercel-react-best-practices-mhbdev

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides comprehensive guidelines to optimize React and Next.js applications, ensuring peak performance, faster load times, and a smoother user experience.

Core Features & Use Cases

  • Performance Optimization: Apply best practices across 8 categories, from eliminating waterfalls to bundle size reduction and re-render optimization.
  • Code Refactoring: Identify and refactor code to adhere to Vercel's engineering standards for React and Next.js.
  • Use Case: When developing a new Next.js feature, consult this Skill to ensure data fetching is parallelized, components are memoized correctly, and bundle sizes are minimized for optimal TTI and LCP.

Quick Start

Apply the vercel-react-best-practices skill to review the provided React component for performance improvements.

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 faster load times?

To optimize React and Next.js performance, apply comprehensive rules covering waterfall elimination, bundle size reduction, server-side performance, and re-render efficiency. This refactors data fetching to be parallelized and ensures components are correctly memoized.

What are the best practices for reducing bundle size in Next.js applications?

Best practices for reducing Next.js bundle size involve applying specific optimization rules that minimize unnecessary code. This ensures smaller payloads, which directly improves Time to Interactive (TTI) and Largest Contentful Paint (LCP) metrics.

Why does my React application have slow server-side performance and waterfalls?

Slow server-side performance and waterfalls occur when data fetching is sequential. Eliminating waterfalls by parallelizing data fetching and adhering to Vercel's engineering standards refactors code to enhance application speed.

Can I use these Vercel React guidelines to refactor existing components?

Yes, you can use these Vercel React guidelines to review and refactor existing components. The rules identify performance improvements, ensuring correct memoization and optimal data fetching patterns for your current codebase.

How do I eliminate re-render inefficiencies in React components?

To eliminate re-render inefficiencies in React, apply optimization rules that ensure components are memoized correctly. This prevents unnecessary re-renders and directly enhances the overall user experience through smoother interactions.