vercel-react-best-practices

Apply React and Next.js performance best practices across components, pages, and data fetching.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill consolidates React and Next.js performance guidelines into a single, actionable reference, helping teams consistently ship faster, more reliable apps by applying prioritized optimization patterns.

Core Features & Use Cases

  • 45 rules across 8 categories (Eliminating Waterfalls, Bundle Size Optimization, Server-Side Performance, Client-Side Data Fetching, Re-render Optimization, Rendering Performance, JavaScript Performance, Advanced Patterns) to guide automated refactoring and code generation.
  • Prioritized guidance supports development, code reviews, and refactoring tasks for components, pages, data-fetching strategies, and bundle optimization.
  • Real-world scenarios include using strategic suspense boundaries, dynamic imports, per-request caching, and minimal serialization at server boundaries.

Quick Start

Review the 45 rules in the rules directory and apply the most impactful patterns to your 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 optimize React and Next.js performance during code reviews?

To optimize React and Next.js performance, apply 45 structured rules across 8 categories including bundle size, server-side rendering, and data fetching. This enforces consistent code reviews by prioritizing patterns like dynamic imports and strategic suspense boundaries.

What is the best way to eliminate data fetching waterfalls in Next.js?

The best way to eliminate data fetching waterfalls in Next.js is applying prioritized optimization patterns for client-side fetching and per-request caching. These rules restructure component data loading to remove sequential blocks and improve rendering speed.

How do I reduce bundle size when building React applications?

To reduce React bundle size, apply structured guidelines for bundle size optimization. These rules direct automated refactoring to use dynamic imports and minimal serialization at server boundaries, ensuring you ship faster, more reliable apps.

When do I need strategic suspense boundaries in Next.js?

You need strategic suspense boundaries in Next.js when resolving server-side performance bottlenecks and client-side re-render issues. The guidelines encode advanced patterns to place boundaries effectively, improving data fetching and rendering performance.

Can I use these React performance guidelines for automated refactoring tasks?

Yes, you can use these React performance guidelines for automated refactoring tasks across components, pages, and data fetching. The rules encode YAML frontmatter metadata, safety checks, and dependency enumeration to guide structured code generation.

Why does my React app suffer from excessive re-renders and slow JavaScript performance?

Excessive React re-renders and slow JavaScript performance often stem from unoptimized component structures and poor data fetching strategies. Applying structured re-render optimization rules resolves this by enforcing performance patterns during development and refactoring.