vercel-react-best-practices

Apply React and Next.js performance best practices during code review and refactoring.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/miklosme/nextjs-ai-bootstrap --skill vercel-react-best-practices-miklosme
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/miklosme/nextjs-ai-bootstrap/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/miklosme/nextjs-ai-bootstrap --skill vercel-react-best-practices-miklosme

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Vercel React Best Practices provides a centralized, scalable set of guidelines to ensure high-performance React and Next.js applications. It helps teams prevent regressions and accelerate performance-focused decisions during development, review, and refactoring.

Core Features & Use Cases

  • 69 rules across 8 categories covering async data fetching, bundle optimization, server-side performance, rendering, and JavaScript performance.
  • Real-world examples and actionable patterns that engineers can apply directly in code reviews and refactors.
  • Priority-driven guidance to maximize user-perceived performance (TTI, LCP) with safe, reproducible changes.

Quick Start

Audit a codebase by checking waterfalls, bundle size, and server performance first, then implement prioritized patterns in a staged refactor, starting with the highest-impact rules.

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 optimizing React and Next.js performance?▼

Optimizing React and Next.js performance involves applying a structured rule set covering async data fetching, bundle optimization, and server-side rendering. This approach uses categorized priorities and real-world examples to guide safe refactoring and maximize user-perceived performance metrics like TTI and LCP.

How do I refactor React components to reduce bundle size?▼

To reduce bundle size during a React refactor, apply structured best practices for bundle optimization. This involves using real-world examples and safe patterns to guide automated changes, ensuring reproducible improvements without introducing regressions to the component rendering logic.

Does this best practices guide cover server-side performance for Next.js pages?▼

Yes, this best practices guide covers server-side performance for Next.js pages. It provides categorized rules and actionable patterns for data fetching strategies and server-side rendering, helping teams accelerate performance-focused decisions and prevent server-side regressions.

Can I use these React performance rules for automated code reviews?▼

Yes, you can use these React performance rules for automated code reviews. The guidelines are designed to ensure high-performance applications by providing a centralized, scalable rule set that helps teams consistently evaluate code and prevent regressions during review.

What is the best way to start a React performance refactor?▼

The best way to start a React performance refactor is to audit the codebase by checking waterfalls, bundle size, and server performance first. Then, implement prioritized patterns in a staged refactor, beginning with the highest-impact rules to ensure safe, reproducible changes.