vercel-react-best-practices

Review React and Next.js code for performance issues like waterfalls and re-renders.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps you eliminate common React and Next.js performance traps—like server/client waterfalls, oversized bundles, unnecessary re-renders, and inefficient RSC prop serialization—so your app loads faster and stays responsive.

Core Features & Use Cases

  • Performance-first rule guidance: Covers 8 priority categories, from eliminating waterfalls to advanced React patterns, with practical “incorrect vs correct” examples.
  • Refactoring support for real codebases: Targets common tasks such as reviewing React components, Next.js route/server action logic, and bundle/load-time optimization decisions.
  • Automation-friendly instructions for agents: Designed to be followed by AI-assisted workflows to keep changes consistent across large refactors.

Quick Start

Use the vercel-react-best-practices skill to review your React/Next.js code and refactor it according to the highest-impact performance rules from Vercel Engineering.

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 React and Next.js server/client waterfall issues?

Fix server/client waterfalls by applying best practices that parallelize data fetching and prevent sequential server-client rendering. Refactoring components and route handlers with these patterns eliminates loading delays and improves TTI.

What's the best way to reduce bundle size in a Next.js application?

Reduce bundle size by applying bundling strategies that minimize serialization overhead and remove unnecessary client-side code. The skill guides refactoring decisions to optimize load-time performance and decrease overall JavaScript payload.

How do I prevent unnecessary re-renders in React components?

Prevent unnecessary re-renders by following rendering optimization rules that refine client fetching logic and event listeners. Applying these patterns during code review keeps your UI responsive and minimizes wasted render cycles.

Can I use this skill to review Server Actions and route handlers?

Yes, you can use this skill to review Server Actions and route handlers. It provides best practices for server caching, RSC serialization, and async patterns to ensure your Next.js logic maintains optimal streaming behavior and LCP.

How do I optimize RSC prop serialization for better performance?

Optimize RSC prop serialization by reducing serialization overhead through targeted refactoring of server/client boundaries. The skill's rules help you minimize the data passed between server and client components, improving UI responsiveness.

Does this skill work for AI-assisted code refactoring workflows?

Yes, this skill is designed for AI-assisted workflows. It provides automation-friendly instructions and correct vs incorrect examples that agents follow to keep performance changes consistent across large React and Next.js refactors.