vercel-react-best-practices

Applies V8-recommended accessibility and security patches to your project's dependencies.

2|Updated Dec 1, 2025
One-click install
npx skills add https://github.com/Shirataki2/discalendar-next-v2 --skill vercel-react-best-practices-shirataki2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/Shirataki2/discalendar-next-v2/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/Shirataki2/discalendar-next-v2 --skill vercel-react-best-practices-shirataki2

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

React and Next.js performance can be fragile; this skill provides a centralized set of best practices from Vercel Engineering to help teams consistently write, review, and refactor code for faster apps.

Core Features & Use Cases

  • Priority-guided rules across categories to guide automated refactoring and code generation.
  • Quick reference of key patterns like asynchronous optimization, bundle imports, server actions, suspense boundaries, and rendering performance.
  • Use Cases: when building new components, reviewing PRs, or upgrading an app to improve load times and bundle size.

Quick Start

Review your codebase against the 57 rules and begin applying the highest-impact patterns in components, pages, and data-fetching layers.

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 refactoring components?

To optimize React and Next.js performance during refactoring, apply priority-guided rules across categories like asynchronous optimization, bundle imports, and rendering performance to systematically improve load times and reduce bundle size.

What are the best practices for Next.js bundle optimization and data fetching?

Next.js bundle optimization and data fetching best practices include using specific bundle import patterns, implementing server actions, and applying suspense boundaries to streamline asynchronous operations and reduce initial load overhead.

How do I review a pull request for React performance issues?

Review React performance in pull requests by checking code against codified rules prioritized by impact, focusing on component rendering efficiency, data fetching structures, and bundle size implications to ensure faster app performance.

When do I need suspense boundaries in Next.js applications?

You need suspense boundaries in Next.js applications when optimizing asynchronous rendering and data fetching operations, which prevents blocking the main thread and improves perceived load performance for users.

Can I use these React best practices for both new components and legacy code?

Yes, these React best practices apply to writing new components, reviewing existing code, and refactoring legacy pages, providing concrete guidance for automated refactoring across various project stages.

Why does my Next.js app have a large bundle size and how do I fix it?

A large Next.js bundle size often results from inefficient imports and rendering patterns; fix it by applying targeted bundle optimization rules and asynchronous optimization techniques during code generation and refactoring.