vercel-react-best-practices

Enforce React and Next.js performance best practices in code reviews and refactors.

Updated Nov 16, 2025
One-click install
npx skills add https://github.com/daniel-dihardja/menuyukti --skill vercel-react-best-practices-daniel-dihardja
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/daniel-dihardja/menuyukti/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/daniel-dihardja/menuyukti --skill vercel-react-best-practices-daniel-dihardja

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Vercel React Best Practices skill consolidates proven patterns to help teams build and maintain high-performance React and Next.js applications, reducing common bottlenecks from data fetching to bundle optimization.

Core Features & Use Cases

  • Guidelines covering waterfalls, bundle size, server-side performance, client data fetching, re-render optimization, rendering performance, JavaScript efficiency, and advanced patterns.
  • Use cases include code reviews, refactors, architecture decisions, and automated generation of performant components and pages.

Quick Start

Review a React/Next.js project against the guide and start applying the patterns to improve performance.

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 during code reviews?

Optimize React and Next.js performance during code reviews by enforcing best practices across waterfalls, bundle size, server-side execution, client data fetching, and re-render cycles. This skill provides prioritized guidance and concrete examples for refactoring components and pages.

What are the best practices for reducing bundle size in Next.js applications?

Best practices for reducing bundle size in Next.js involve applying JavaScript efficiency checks and bundle optimization patterns. This skill enforces concrete guidelines to identify bottlenecks and refactor automated generation tasks for smaller, more efficient client bundles.

How does server-side performance optimization work for React components?

Server-side performance optimization for React components works by enforcing specific checks across data fetch patterns and rendering performance. This skill applies prioritized guidance to prevent waterfalls and improve server-side execution during architecture decisions and refactors.

Can I use these React performance patterns for automated component generation?

Yes, you can use these React performance patterns for automated component generation. The skill applies best practices directly to automated generation tasks, ensuring newly created components and pages follow optimized data fetching, re-render, and bundle size guidelines.

Why does my Next.js application have client-side data fetching waterfalls?

Next.js client-side data fetching waterfalls occur when sequential fetches block rendering. This skill enforces best practices to identify and resolve these bottlenecks, providing concrete patterns to restructure data fetching and improve overall web vitals.

When should I apply re-render optimization in React codebases?

Apply re-render optimization in React codebases when components update unnecessarily, degrading rendering performance. This skill enforces checks across JavaScript efficiency and advanced patterns to identify bottlenecks and apply prioritized refactoring guidance.