react-best-practices

Identify performance bottlenecks in React/Next.js apps using 57 Vercel Engineering rules.

3|2|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/grasberg/sofia --skill react-best-practices-grasberg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-best-practices
Source: https://github.com/grasberg/sofia/tree/main/cmd/sofia/internal/onboard/antigravity-kit/.agent/skills/nextjs-react-expert
Command: npx skills add https://github.com/grasberg/sofia --skill react-best-practices-grasberg

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

React and Next.js apps often suffer from waterfalls, large bundles, and inefficient rendering; this guide provides a curated set of performance rules from Vercel Engineering to systematically improve speed and user experience.

Core Features & Use Cases

  • 57 optimization rules prioritized by impact for React and Next.js
  • Guidance to eliminate waterfalls, reduce bundle size, optimize server/client rendering, and minimize re-renders
  • Use Case: Teams conducting performance reviews or debugging production apps

Quick Start

Audit a React/Next.js project and apply the 57 optimization rules to achieve faster loads and smoother UX.

Frequently Asked Questions about react-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify and fix performance bottlenecks in a React or Next.js app?

To identify performance bottlenecks in a React or Next.js app, apply 57 prioritized optimization rules covering waterfalls, bundle size, server-side optimizations, and component re-renders to systematically improve speed and user experience.

What is the best way to reduce bundle size and eliminate waterfalls in Next.js?

The best way to reduce bundle size and eliminate waterfalls in Next.js is to apply targeted engineering rules that optimize server-side rendering, minimize inefficient client-side data fetching, and enforce performance guardrails for production deployments.

How do I minimize unnecessary component re-renders in React?

To minimize unnecessary component re-renders in React, implement memoization strategies and apply guardrails during performance reviews and debugging to ensure components only re-render when strictly necessary.

Can I use these React performance rules for debugging production applications?

Yes, you can use these React performance rules for debugging production applications because the guide enforces specific guardrails for reviews, debugging, and production deployments to ensure stable optimizations in live environments.

Does this optimization guide cover both client-side rendering and server-side optimizations?

Yes, this optimization guide covers both client-side rendering and server-side optimizations by providing rules to optimize server/client rendering boundaries, eliminate data waterfalls, and minimize re-renders across components.