vercel-react-best-practices

Apply React and Next.js performance rules to code reviews and refactors.

Updated Apr 11, 2026
One-click install
npx skills add https://github.com/BrunoAlpezdev/lluvia-de-ideas --skill vercel-react-best-practices-brunoalpezdev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/BrunoAlpezdev/lluvia-de-ideas/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/BrunoAlpezdev/lluvia-de-ideas --skill vercel-react-best-practices-brunoalpezdev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you prevent common React and Next.js performance pitfalls that cause slower load times, unnecessary re-renders, and server/client inefficiencies.

Core Features & Use Cases

  • Guided performance rules: Implements actionable guidance for eliminating async waterfalls, optimizing bundle size, reducing RSC serialization overhead, and improving rendering responsiveness.
  • Deterministic code refactoring targets: Provides clear incorrect vs. correct patterns for React hooks, Server Actions, Suspense streaming, and client data fetching.
  • Use cases: Ideal for code reviews, automated refactors, and feature development where performance regressions or inefficiencies are likely (e.g., new pages, new data fetching flows, heavy UI components).

Quick Start

Use the vercel-react-best-practices skill to review a React/Next.js code change and rewrite the affected parts to follow the highest-impact rules for waterfalls, bundle size, and RSC/client serialization.

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 fix async waterfalls in React Server Components and Next.js data fetching?

To fix React async waterfalls, apply best-practice rules that parallelize Server Component data fetching and optimize request handling. This process identifies sequential await patterns and provides deterministic refactoring targets to eliminate cascading request delays.

What is the best way to reduce RSC serialization overhead in Next.js?

Reducing RSC serialization overhead requires applying specific best-practice patterns when passing data between server and client components. This Skill analyzes your component boundaries and rewrites affected logic to minimize the payload size transferred during React Server Component streaming.

How do I optimize React bundle size using next/dynamic and Suspense streaming?

Optimizing React bundle size with next/dynamic involves applying code-splitting rules to heavy UI components and leveraging Suspense streaming for progressive page hydration. This Skill reviews your code changes and rewrites affected parts to follow the highest-impact rules for bundle reduction.

Can I use this for code reviewing Server Actions and client data fetching logic?

Yes, you can use this Skill for code reviewing Server Actions and client data fetching logic. It provides incorrect versus correct patterns for these features, ensuring your refactoring aligns with request-scoped caching requirements and prevents client-side performance regressions.

When do I need to optimize React hooks dependency patterns to prevent unnecessary re-renders?

You need to optimize React hooks dependency patterns when writing or refactoring components that impact rendering responsiveness and re-render frequency. This Skill evaluates your hook usage and applies deterministic refactoring targets to correct dependency arrays and improve overall hydration behavior.