vercel-react-best-practices

Identify and apply React/Next.js performance best practices to code changes.

1|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/NeuveAI/perfagent-cli --skill vercel-react-best-practices-neuveai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/NeuveAI/perfagent-cli/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/NeuveAI/perfagent-cli --skill vercel-react-best-practices-neuveai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

React/Next.js performance optimization guidance that helps teams write faster, more reliable UI by avoiding common bottlenecks and applying best practices across components, data fetching, and bundling.

Core Features & Use Cases

  • Establishes a curated set of performance guidelines used during code reviews and refactoring.
  • Helps teams optimize bundles, server/client fetch patterns, and rendering performance in React/Next.js apps.
  • Use Case: When auditing a React app, apply these patterns to improve LCP, FID, and CLS and reduce rework.

Quick Start

Follow the guidelines to audit and refactor React/Next.js code for performance improvements.

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 optimize React and Next.js performance during code reviews?

Optimize React and Next.js performance by applying curated guidelines during code reviews to identify bottlenecks in component design, data fetching, and bundling. It enforces validation and guards against unsafe patterns to ensure reliable UI improvements.

What are the best practices for reducing bundle size in Next.js applications?

Reduce Next.js bundle size by auditing component design and server-client fetch patterns. Applying these performance guidelines helps minimize unnecessary code and improve overall web vitals across modern React tooling.

How does applying React best practices improve Core Web Vitals like LCP and CLS?

React best practices improve Core Web Vitals like LCP, FID, and CLS by optimizing rendering performance and data fetching patterns. Auditing and refactoring code with these patterns directly targets layout shifts and loading bottlenecks.

Can I use these performance patterns to refactor existing React code automatically?

You can refactor existing React code automatically by applying these proven patterns to guide code generation and automated refactoring. The guidelines establish validation rules that ensure safe optimizations during the transformation process.

When should I avoid server-client data fetching patterns in Next.js?

Avoid unsafe server-client data fetching patterns in Next.js when they cause rendering bottlenecks or excessive bundle size. The guidelines enforce validation to guard against these patterns and guide safer alternatives for optimal performance.