vercel-react-best-practices

Apply React/Next.js performance best practices to reduce bundle sizes and eliminate waterfalls.

241|51|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/shep-ai/cli --skill vercel-react-best-practices-shep-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/shep-ai/cli/tree/main/.claude/skills/vercel-react-best-practices
Command: npx skills add https://github.com/shep-ai/cli --skill vercel-react-best-practices-shep-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Identifies and consolidates React/Next.js performance best practices to accelerate load times, reduce bundle sizes, and improve UI responsiveness across client and server boundaries.

Core Features & Use Cases

  • A comprehensive, categorized rule set covering waterfall elimination, bundle optimizations, server-side patterns, and parallel data fetching.
  • Practical guidance for writing, reviewing, or refactoring React/Next.js code with automated examples and guardrails.
  • Real-world use cases include optimizing a Next.js page, refactoring a component to reduce waterfalls, and enforcing server action security.

Quick Start

Apply the guidelines to a React/Next.js project to identify and implement the most impactful 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 eliminate data fetching waterfalls in Next.js?

To eliminate data fetching waterfalls in Next.js, apply parallel data fetching patterns across server and client boundaries to resolve requests simultaneously rather than sequentially, accelerating overall page load times.

What's the best way to reduce bundle size in a React application?

The best way to reduce React bundle size is to apply targeted bundle optimization rules that analyze component imports and enforce size reduction guardrails across client and server boundaries.

How do I secure server actions in Next.js?

To secure Next.js server actions, apply enforced security guardrails and error handling rules when writing or refactoring code to protect data boundaries across client and server transfers.

Can I use these React performance guidelines to refactor existing pages?

Yes, you can use these React performance guidelines to refactor existing pages and components by applying categorized rules for waterfall elimination and bundle optimizations directly to real-world projects.

Why does my Next.js UI responsiveness suffer during data fetching?

Next.js UI responsiveness suffers during data fetching when sequential waterfall requests block rendering; applying parallel data fetching patterns with error handling resolves this latency.