vercel-react-best-practices

Identify performance bottlenecks in React/Next.js apps and apply official best practices.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guidance identifies and fixes performance issues in React/Next.js projects by consolidating best practices into a structured, repeatable approach.

Core Features & Use Cases

  • The skill consolidates 64 rules across 8 categories to guide performance improvements in both server and client contexts.
  • It covers async patterns, bundle optimization, server actions, data fetching strategies, re-render minimization, rendering performance, JavaScript micro-optimizations, and advanced patterns for complex scenarios.
  • It provides concrete examples, clear trade-offs, and actionable steps for code reviews, automated tooling, and refactoring tasks.

Quick Start

Apply these guidelines during development and reviews to consistently implement proven performance patterns.

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 performance bottlenecks in a React or Next.js application?

Identify performance bottlenecks in React or Next.js by analyzing waterfall latency, bundle size, and server/client rendering overhead. This targets data fetching logic and rendering patterns to pinpoint areas requiring optimization.

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

Best practices for reducing bundle size in Next.js involve applying JavaScript micro-optimizations and bundle optimization strategies. These rules minimize client-side overhead and improve overall application loading speed.

How do I minimize re-renders when refactoring React components?

Minimize re-renders in React components by applying targeted rendering performance rules during refactoring. This ensures safe, scalable optimizations that reduce unnecessary UI updates and improve reliability.

When should I use server rendering versus client rendering in Next.js?

Use server rendering versus client rendering in Next.js based on data fetching strategies and rendering overhead. Evaluating these trade-offs reduces waterfall latency and optimizes server/client rendering contexts.

Does this approach work for reviewing existing Next.js data fetching logic?

Yes, this approach works for reviewing existing Next.js data fetching logic by applying concrete rules to reduce waterfall latency. It provides actionable steps to refactor and optimize async patterns safely.