vercel-react-best-practices

Identify and apply performance best practices to React and Next.js codebases.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/Chai-Un/wedding --skill vercel-react-best-practices-chai-un
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/Chai-Un/wedding/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/Chai-Un/wedding --skill vercel-react-best-practices-chai-un

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured approach to optimize React and Next.js codebases, addressing performance bottlenecks across server and client boundaries.

Core Features & Use Cases

  • Priority-driven patterns: apply top-priority rules to eliminate waterfalls, reduce bundle size, and improve server rendering.
  • Guided refactors: generate concrete performance improvements for components, pages, and data-fetching flows.
  • Use case example: audit a Next.js page with server actions and client components to design a faster, more reliable UI.

Quick Start

Use this skill to assess a React/Next.js project for perf issues and generate a practical optimization plan, including a prioritized list of changes and suggested code snippets.

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 avoid data fetching waterfalls in Next.js server components?

To avoid data fetching waterfalls in Next.js, parallelize data fetching and defer awaits until necessary. This minimizes request blocking and significantly improves server rendering performance across your pages.

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

Reducing React bundle size involves applying priority-driven patterns to minimize serialization and optimize client-server boundaries. This approach enforces top-priority rules to eliminate unnecessary client-side code and improve loading reliability.

How do I optimize React server actions for better performance?

Optimizing React server actions requires auditing client and server boundaries to minimize serialization overhead. Applying priority-driven patterns ensures faster, more reliable UI interactions by reducing unnecessary data transfer.

Can I audit an existing Next.js codebase for performance bottlenecks?

Yes, you can audit an existing Next.js codebase to identify performance bottlenecks. This process assesses server and client patterns, generating a prioritized optimization plan with concrete code snippets for faster rendering.

Why does deferring awaits improve Next.js server rendering?

Deferring awaits improves Next.js server rendering by preventing sequential request blocking. This allows parallel data fetching, which eliminates waterfalls and accelerates the overall page load process.