vercel-react-best-practices

Apply React and Next.js performance best practices in code reviews and refactors.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/Pedroguerrerodev/pwa-rutinas-gym-basic --skill vercel-react-best-practices-pedroguerrerodev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/Pedroguerrerodev/pwa-rutinas-gym-basic/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/Pedroguerrerodev/pwa-rutinas-gym-basic --skill vercel-react-best-practices-pedroguerrerodev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

React and Next.js performance patterns are often inconsistently applied, leading to bloated bundles, slow initial paints, and fragile client-server interactions. This guidance consolidates Vercel's proven recommendations into a practical, actionable framework that teams can reference during development, reviews, and refactors.

Core Features & Use Cases

  • Structured rule sets spanning Eliminating Waterfalls, Bundle Size Optimization, Server-Side Performance, Client-Side Data Fetching, Re-render Optimization, Rendering Performance, JavaScript Performance, and Advanced Patterns.
  • Practical use cases include building high-performance components, optimizing Next.js pages, reducing bundle size, implementing parallel data fetching, and securing server actions through proper patterns.
  • Real-world example: turning a slow server-rendered page into a responsive experience by parallelizing fetches and deferring non-critical work.

Quick Start

Analyze a React/Next.js project and apply the recommended performance best practices in code reviews and refactors.

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 a code review?

To optimize React and Next.js performance during code review, apply categorized rules for bundle size, data fetching, and render performance. The skill enforces standards-based safety checks and actionable patterns to guide automated refactoring workflows.

What's the best way to reduce bundle size and eliminate data fetching waterfalls in Next.js?

Reducing bundle size and eliminating data fetching waterfalls involves parallelizing fetches and deferring non-critical work. This skill provides structured rule sets for bundle size optimization and server-side performance to transform slow server-rendered pages.

How does this approach improve client-server data flows and server actions?

Improving client-server data flows and server actions requires applying proper patterns to secure interactions. The framework consolidates Vercel's recommendations into practical guidance for optimizing client-side data fetching and preventing fragile client-server interactions.

Can I use these Vercel best practices to refactor existing React components?

Yes, you can use these Vercel best practices to refactor existing React components. The skill applies optimization workflows to scenarios involving React components, Next.js pages, and server actions, ensuring re-render optimization and JavaScript performance improvements.

Why does my Next.js page have a slow initial paint and bloated bundle?

Slow initial paint and bloated bundles occur when React and Next.js performance patterns are inconsistently applied. Applying actionable frameworks for bundle size optimization and rendering performance resolves these issues during development and refactoring.

When should I not use parallel data fetching in Next.js server components?

While the skill emphasizes eliminating waterfalls through parallel data fetching, you should evaluate safety checks and categorized rules before refactoring. It provides standards-based guidance to determine when deferring non-critical work is more appropriate than parallelizing fetches.