vercel-react-best-practices

Apply React and Next.js performance best practices across code reviews and refactors.

Updated Jan 14, 2026
One-click install
npx skills add https://github.com/JoshCantCode/Stack --skill vercel-react-best-practices-joshcantcode
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/JoshCantCode/Stack/tree/main/.opencode/skills/vercel-react-best-practices
Command: npx skills add https://github.com/JoshCantCode/Stack --skill vercel-react-best-practices-joshcantcode

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

React and Next.js projects often struggle with performance regressions due to inconsistent patterns and ad-hoc optimizations. This skill provides a structured, prioritized playbook of guidelines to consistently improve speed, responsiveness, and user experience across teams.

Core Features & Use Cases

  • A comprehensive set of performance rules across eight categories (Eliminating Waterfalls, Bundle Size, Server-Side Performance, Client-Side Data Fetching, Re-render Optimization, Rendering Performance, JavaScript Performance, Advanced Patterns) with concrete examples.
  • Guidance for code reviews, refactors, and new feature work to apply best practices in real-world projects.
  • Suitable for optimizing React components, Next.js pages, and data-fetching strategies in both server and client contexts, including build-time optimizations.

Quick Start

Review the React-best-practices rules and apply top-priority patterns to your current React/Next.js task.

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 a code review?

To optimize React and Next.js performance during a code review, apply a structured playbook of rules across eight categories including bundle size, server-side performance, and re-render optimization to identify and refactor inconsistent patterns.

What are the best practices for eliminating data fetching waterfalls in Next.js?

Eliminating data fetching waterfalls in Next.js involves applying specific performance rules to parallelize requests and optimize both client-side and server-side data fetching strategies for improved speed and responsiveness.

How do I reduce bundle size and re-renders when refactoring React components?

Reduce bundle size and re-renders when refactoring React components by enforcing concrete guidelines for JavaScript performance and rendering performance, prioritizing critical impacts to consistently improve user experience.

Can I use these React performance rules for both new features and refactoring existing pages?

Yes, you can use these React performance rules for both new features and refactoring existing pages, as the guidelines support code generation and automated refactoring across components, pages, and data fetching.

When should I apply advanced patterns for React and Next.js performance optimization?

Apply advanced patterns for React and Next.js performance optimization when basic refactoring is insufficient, utilizing the eighth rule category to tackle complex build-time optimizations and rendering performance regressions.