vercel-react-best-practices

Audit React and Next.js code for performance and bundle efficiency.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Aii-Group/AII-Admin-Cli --skill vercel-react-best-practices-aii-group
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/Aii-Group/AII-Admin-Cli/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/Aii-Group/AII-Admin-Cli --skill vercel-react-best-practices-aii-group

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Vercel React Best Practices codifies common performance pitfalls and remediation patterns for React and Next.js projects so engineers and agents can identify and fix costly waterfalls, oversized bundles, and inefficient server/client data flows.

Core Features & Use Cases

  • Comprehensive Ruleset: 58 rules across Eliminating Waterfalls, Bundle Size Optimization, Server-Side Performance, Client-Side Data Fetching, Re-render Optimization, Rendering Performance, JavaScript Performance, and Advanced Patterns.
  • Actionable Guidance: Concrete incorrect vs correct examples, prioritized impact levels, and patterns for parallelization, dynamic imports, caching, and serialization minimization.
  • Use Cases: Automated code review and refactoring, performance audits before release, educating engineers or agents on best practices, and generating performance-minded replacements for slow components or API routes.

Quick Start

Ask the skill to audit a React or Next.js file and produce prioritized, concrete refactors to eliminate waterfalls, reduce bundle size, and improve server/client data fetching.

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 applications for runtime performance and bundle efficiency?

To optimize React and Next.js applications, audit component code and data fetching to eliminate waterfalls, apply dynamic imports for bundle optimization, and implement server-side caching to reduce serialization overhead, yielding prioritized concrete refactors.

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

Eliminating data fetching waterfalls in Next.js requires parallelizing server-side data requests and minimizing serialization overhead, applying concrete refactor patterns that fetch data concurrently to reduce runtime latency and improve server-side performance.

How can I reduce bundle size when refactoring React components?

Reduce bundle size when refactoring React components by applying dynamic imports, optimizing re-renders, and following bundling recommendations that split oversized client payloads, resulting in leaner client-side JavaScript and faster runtime performance.

Does this approach work for auditing API routes and server-side data flows in Next.js?

Yes, auditing API routes and server-side data flows in Next.js is supported by applying server-side caching strategies, parallelization techniques, and serialization minimization to identify inefficient data patterns and generate performance-minded replacements.

When do I need to apply advanced rendering performance patterns in React?

Apply advanced rendering performance patterns in React when standard re-render optimizations fail to resolve client-side bottlenecks, utilizing specific parallelization and caching techniques to eliminate persistent waterfalls and reduce bundle bloat.