vercel-react-best-practices

Apply Vercel React performance guidelines to React and Next.js code.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides comprehensive guidelines and best practices for optimizing the performance of React and Next.js applications, addressing issues from bundle size to server-side rendering efficiency.

Core Features & Use Cases

  • Performance Optimization: Offers over 50 rules covering waterfalls, bundle size, server/client-side performance, re-renders, and more.
  • Agent-Assisted Development: Designed for AI agents and LLMs to ensure consistent, high-performance code generation and refactoring.
  • Use Case: When developing a new Next.js feature, use this Skill to ensure all data fetching is parallelized, bundle sizes are minimized with dynamic imports, and server components are structured for optimal rendering.

Quick Start

Apply the vercel-react-best-practices skill to review the current React component for performance bottlenecks.

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 large applications?

Optimize React and Next.js performance by applying 58 rules across 8 categories, including eliminating data waterfalls, minimizing bundle size, and structuring server components for efficient rendering.

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

Best practices for reducing bundle size include using dynamic imports and optimizing server-side rendering efficiency to ensure high-performance code generation and refactoring.

How do I eliminate data fetching waterfalls in React server components?

Eliminate data fetching waterfalls by parallelizing data requests and structuring server components according to performance optimization guidelines designed for AI agents and LLMs.

Can I use these React optimization rules to refactor existing client-side data fetching?

Yes, you can refactor existing client-side data fetching using the provided guidelines to optimize re-renders, rendering performance, and overall JavaScript execution.

Why does my Next.js feature suffer from poor server-side rendering performance?

Poor server-side rendering performance often stems from unoptimized component structures and unparallelized data fetching, which these optimization rules address directly.

What advanced patterns exist for optimizing JavaScript performance in React?

Advanced patterns for optimizing JavaScript performance include strategies for rendering optimization, re-render reduction, and bundle size control covered in the 58 rule comprehensive guideline set.