vercel-react-best-practices

Enforce React and Next.js performance optimization rules during code reviews.

58|18|Updated May 22, 2020
One-click install
npx skills add https://github.com/gregrickaby/viewer-for-reddit --skill vercel-react-best-practices-gregrickaby
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/gregrickaby/viewer-for-reddit/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/gregrickaby/viewer-for-reddit --skill vercel-react-best-practices-gregrickaby

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Codifies comprehensive React and Next.js performance guidelines to help teams identify and fix common bottlenecks, ensuring scalable, fast user experiences across apps.

Core Features & Use Cases

  • Provides a prioritized catalog of performance rules across eight categories: Eliminating Waterfalls, Bundle Size Optimization, Server-Side Performance, Client-Side Data Fetching, Re-render Optimization, Rendering Performance, JavaScript Performance, and Advanced Patterns.
  • Guides code reviews, refactoring, and architectural decisions to improve load times, bundle efficiency, and UX consistency in React/Next.js projects.
  • Enables automation-friendly workflows for agents and AI tooling to apply recommended performance improvements across components, pages, and data-fetching layers.

Quick Start

Review a React/Next.js codebase and apply the listed rules to optimize components, data flows, and bundles.

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 identify and fix React and Next.js performance bottlenecks?

To identify and fix React and Next.js performance bottlenecks, apply a curated set of optimization rules across component design, data fetching, and server-side rendering to enforce scalable improvements.

What is the best way to optimize bundle size in a Next.js app?

The best way to optimize Next.js bundle size is to apply prioritized bundle optimization rules that evaluate component imports and data flows to reduce overall JavaScript payload.

How does server-side rendering affect Next.js performance?

Server-side rendering affects Next.js performance by shifting render load to the server, requiring specific server-side performance rules to prevent bottlenecks and ensure fast page loads.

How do I eliminate data fetching waterfalls in React components?

To eliminate data fetching waterfalls in React components, apply targeted client-side data fetching rules that restructure asynchronous requests to load in parallel.

Can I automate React re-render optimization during code reviews?

Yes, you can automate React re-render optimization during code reviews using automation-friendly guidelines that evaluate component rendering patterns and suggest refactoring prompts.

What are the limitations of using rule-based guidelines for React performance?

Rule-based guidelines for React performance are limited to known architectural patterns, meaning they cannot detect novel bottlenecks outside their eight predefined optimization categories.