vercel-react-best-practices

Identify performance bottlenecks in React/Next.js apps and apply optimization rules.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Vercel React Best Practices provides a comprehensive set of guidelines to optimize the performance of React and Next.js apps, helping teams deliver faster, more efficient user experiences by avoiding common pitfalls during development and refactors.

Core Features & Use Cases

  • 57 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation for React/Next.js projects.
  • Covers client and server considerations, including Suspense, Server Actions, data fetching, routing, and bundle optimization to reduce waterfalls and improve TTI/LCP.
  • Offers practical patterns, guardrails, and migration advice to support safe, production-grade improvements across large codebases.

Quick Start

Review the guidelines and start applying the recommended performance patterns to your React/Next.js codebase.

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 reduce waterfalls and improve data fetching performance in Next.js?

To reduce Next.js waterfalls, apply rules for server-side data fetching, Suspense boundaries, and minimal server-client serialization to resolve bottlenecks across your codebase.

What are the best practices for optimizing bundle size in React applications?

Optimizing React bundle size involves deferring non-critical code, lazy loading components, and applying specific bundle optimization rules to reduce waterfalls and improve loading metrics like TTI and LCP.

How do I use Server Actions securely without breaking React performance?

Using Server Actions securely requires applying security guardrails and minimal server-client serialization patterns, ensuring you maintain performance while executing server-side logic within your React components.

Can I apply these React performance patterns to a large production codebase?

Yes, you can apply these React performance patterns to large codebases because the guidelines offer practical patterns, guardrails, and migration advice supporting safe, production-grade refactoring across 57 prioritized rules.

When should I use memoization in React and Next.js apps?

You should use memoization in React and Next.js apps to prevent unnecessary re-renders and reduce waterfalls, applying it alongside lazy loading and deferred non-critical code execution for optimal rendering performance.