vercel-react-best-practices

Apply React and Next.js performance best practices during code writing and reviews.

34|Updated Oct 30, 2023
One-click install
npx skills add https://github.com/daichan132/Youtube-Live-Chat-Fullscreen --skill vercel-react-best-practices-daichan132
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/daichan132/Youtube-Live-Chat-Fullscreen/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/daichan132/Youtube-Live-Chat-Fullscreen --skill vercel-react-best-practices-daichan132

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill consolidates React and Next.js performance guidelines from Vercel Engineering to help engineers write, review, and refactor code to achieve faster, more reliable web applications.

Core Features & Use Cases

  • Comprehensive rules across 8 priority-based categories, guiding automated refactoring and code generation.
  • Clear scenarios for applying best practices during development, code reviews, migrations, and performance audits.
  • Actionable patterns for data fetching, bundling, and server/client separation to improve TTI and LCP.

Quick Start

Review the guidelines and apply the top-priority rules during component design, data fetching, and bundling decisions to optimize performance.

Frequently Asked Questions about vercel-react-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the best practices for React and Next.js performance optimization?

Best practices for React and Next.js performance optimization involve applying priority-based rules for data fetching, bundle optimization, and server/client component separation to improve TTI and LCP.

How do I identify performance issues during a React code review?

To identify performance issues during a React code review, apply consolidated Vercel Engineering guidelines covering 8 priority categories to validate scalable patterns and ensure safe defaults in real codebases.

What is the best way to separate server and client components in Next.js?

The best way to separate server and client components in Next.js is to follow actionable patterns that dictate data fetching and bundling decisions, ensuring appropriate component design for faster web applications.

Can I use these Vercel engineering guidelines for automated code refactoring?

Yes, you can use these Vercel engineering guidelines for automated code refactoring because the 8 priority-based categories are specifically designed to guide automated refactoring and code generation tasks.

How do I optimize bundle size and data fetching in a Next.js application?

To optimize bundle size and data fetching in a Next.js application, apply top-priority rules during component design and bundling decisions to ensure scalable performance patterns and achieve faster load times.