vercel-react-best-practices

Apply Vercel's 45 YAML-based rules to optimize React and Next.js performance.

1|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/leonanpereirapinto/ai-utils --skill vercel-react-best-practices-leonanpereirapinto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/leonanpereirapinto/ai-utils/tree/main/skills/typescript/vercel-react-best-practices
Command: npx skills add https://github.com/leonanpereirapinto/ai-utils --skill vercel-react-best-practices-leonanpereirapinto

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides structured, AI-friendly performance optimization guidelines for React and Next.js to help teams build faster, more scalable apps with consistent patterns across codebases.

Core Features & Use Cases

  • Eight priority-based rule categories (CRITICAL to LOW) containing 45 rules that guide refactoring, code review, and automated code generation for performance improvements.
  • Practical patterns spanning eliminating waterfalls, bundle size optimization, server-side rendering performance, client-side data fetching, and rendering optimizations.
  • Use cases include reviewing new components and pages, refactoring legacy code, and generating performance-focused recommendations during code reviews and CI pipelines.

Quick Start

Review your codebase against the eight priority rule categories and progressively integrate the guidelines into your development workflow.

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 during codebase refactoring?

Optimize React and Next.js performance by applying structured, priority-based guidelines covering bundle size reduction, server-side rendering, and data fetching. This approach enforces consistent refactoring patterns across components and pages to eliminate waterfalls and improve rendering speed.

What are the best practices for eliminating data fetching waterfalls in Next.js?

Best practices for eliminating data fetching waterfalls in Next.js involve applying priority-based rules to client-side fetching and server-side rendering layers. This structured approach ensures parallel data retrieval patterns are enforced during code generation and review.

Can I use these React performance guidelines for automated code reviews?

You can use these React performance guidelines for automated code reviews by integrating the 45 priority-based rules into CI pipelines. They support automated discovery and generation to provide performance-focused recommendations for new components and legacy refactoring.

How does this approach handle bundle size optimization for Next.js applications?

This approach handles bundle size optimization for Next.js applications by enforcing categorized performance rules across the codebase. It targets rendering optimizations and data-fetching layers to ensure bundle size reduction patterns are consistently applied during development.

Do I need specific dependencies to apply Vercel React best practices?

You do not need specific dependencies to apply Vercel React best practices. The guidelines operate as AI-friendly rules across existing React components and Next.js pages without requiring external tools, organizing optimizations by priority from critical to low.

When should I prioritize server-side rendering performance over client-side data fetching?

You should prioritize server-side rendering performance over client-side data fetching based on eight priority rule categories ranging from critical to low. These guidelines help determine when to apply specific rendering optimizations to eliminate waterfalls and reduce bundle size.