vercel-react-best-practices

Review React and Next.js code for performance bottlenecks and bundle size.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide addresses common performance pitfalls in React and Next.js applications by providing prioritized rules to eliminate waterfall fetches, reduce bundle size, and improve both server- and client-side rendering efficiency.

Core Features & Use Cases

  • Prioritized Ruleset: 69 targeted rules across categories such as eliminating waterfalls, bundle size optimization, server-side performance, and re-render minimization to guide decisions and automated refactors.
  • Practical Recommendations: Concrete advice on Promise parallelization, dynamic imports, caching strategies, memoization, and resource hints with examples for code review and refactoring.
  • Use Case: Use the rules to audit a Next.js page that suffers from slow initial load, identify blocking fetch sequences and oversized bundles, and produce targeted fixes to improve time-to-interactive.

Quick Start

Review the Next.js page and provide specific code changes to remove waterfall fetches, enable parallel data fetching, and reduce client bundle size.

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 fix waterfall data fetching in Next.js pages?

Fix waterfall data fetching in Next.js by identifying sequential blocking fetches and applying Promise parallelization. This Skill detects waterfall patterns and recommends parallel data fetching to eliminate server and client bottlenecks during code review.

What's the best way to reduce React bundle size during code review?

Reduce React bundle size by applying dynamic imports, bundle-splitting strategies, and targeted resource hints. This Skill provides concrete advice on bundle size optimization to meet performance constraints and improve time-to-interactive in Next.js applications.

How does memoization improve React rendering optimization?

Memoization improves React rendering optimization by caching previous computation results and preventing unnecessary re-renders. This Skill suggests caching strategies and memoization techniques to minimize re-renders and speed up React and Next.js applications.

Can I use these rules to audit slow initial load times in Next.js?

Yes, you can use these rules to audit a Next.js page that suffers from slow initial load. The ruleset identifies blocking fetch sequences and oversized bundles to produce targeted fixes for time-to-interactive.

Does this guide cover both server-side and client-side performance?

Yes, this guide covers both server-side and client-side performance. It provides a prioritized ruleset of 69 rules to eliminate bottlenecks across server and client data fetching patterns, bundling, and rendering optimizations.