vercel-react-best-practices

Apply Vercel best practices to React and Next.js components and pages.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires [].

What problem does it solve?

React and Next.js projects often face performance regressions due to inconsistent patterns, bloated bundles, and inefficient data-fetching strategies. This Skill consolidates vetted, production-grade guidelines from Vercel Engineering to help teams consistently write faster components and pages.

Core Features & Use Cases

  • A complete set of rules across 8 priority-driven categories (Eliminating Waterfalls, Bundle Size Optimization, Server-Side Performance, Client-Side Data Fetching, Re-render Optimization, Rendering Performance, JavaScript Performance, Advanced Patterns).
  • Concrete, real-world guidance including trade-offs, code examples, and measurable impact to drive automated refactoring and code generation.
  • Applies to writing new React/Next.js components and pages, reviewing performance issues, and refactoring existing code to improve TTI, FID, and bundle size.

Quick Start

Review the guideline catalog and implement at least the top-priority patterns in your next React/Next.js change.

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 when building new components?

You can eliminate React data waterfalls by applying vetted server-side fetching patterns and prioritizing parallel data loads. This skill provides concrete, real-world guidance including trade-offs and code examples to drive automated refactoring for faster component rendering.

What is the best way to reduce bundle size in a Next.js application?

The best way to reduce bundle size is to follow specific optimization patterns outlined in this skill, which cover server-side performance and advanced JavaScript performance techniques. These guidelines provide measurable impact to improve TTI, FID, and overall bundle size.

Can I use these Next.js best practices for refactoring existing code?

Yes, you can use these Next.js best practices for refactoring existing code, reviewing performance issues, and writing new pages. The guidelines apply across 8 priority-driven categories to help improve rendering performance and reduce bloated bundles.

Why does my React component re-render excessively and how do I fix it?

Your React component may re-render excessively due to inefficient client-side data fetching or poor rendering patterns. This skill provides re-render optimization rules with concrete code examples and measurable impacts to tune component performance.

Does this skill require specific dependencies to apply server-side patterns?

No specific dependencies are required to apply these server-side patterns. The skill enforces a rigid metadata schema with machine-readable fields for automation but operates dependency-free to help you implement Vercel React best practices directly.