vercel-react-best-practices

Enforce React and Next.js performance best practices for data fetching and rendering.

1|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/victor-teles/oh-my-query --skill vercel-react-best-practices-victor-teles
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/victor-teles/oh-my-query/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/victor-teles/oh-my-query --skill vercel-react-best-practices-victor-teles

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guideline provides a structured, battle-tested set of performance patterns for React and Next.js projects, helping teams avoid common pitfalls and accelerate UI responsiveness.

Core Features & Use Cases

  • 57 rules across 8 categories covering waterfalls, bundle size, server-side performance, client-side fetching, re-render optimization, rendering performance, JavaScript performance, and advanced patterns.
  • Prioritized guidance to support automated refactoring, code generation, and code reviews in real-world projects.
  • Use cases include optimizing data fetching, suspense, dynamic imports, and SSR/CSR trade-offs in React/Next.js apps.

Quick Start

Review the catalog of rules and apply the most impactful ones to your project starting with eliminating waterfalls and bundle-size improvements.

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 using best practices?

React and Next.js performance optimization involves enforcing best practices across data fetching, bundle optimization, and rendering. Apply a catalog of 57 rules to eliminate waterfalls, reduce bundle size, and improve SSR and client-side fetching.

What are the best practices for data fetching and suspense in Next.js?

Data fetching and suspense best practices in Next.js involve avoiding request waterfalls and applying advanced patterns. Use structured rules to optimize SSR and CSR trade-offs, ensuring safe and auditable changes to your components.

How can I reduce bundle size and fix barrel imports in my React application?

Reduce React bundle size by enforcing bundle optimization rules like avoiding barrel imports. This prevents unnecessary JavaScript from being shipped to the client, accelerating UI responsiveness and improving loading performance.

Does this Next.js performance guideline cover server actions and dynamic imports?

Yes, this Next.js performance guideline covers server actions and dynamic imports. It provides prioritized guidance across 8 categories including advanced patterns for suspense, dynamic imports, and server-side performance optimization.

When should I refactor React components to improve re-rendering performance?

Refactor React components to improve re-rendering performance when you encounter client-side fetching inefficiencies or JavaScript performance bottlenecks. Apply structured rules to optimize rendering and support automated refactoring for safe, auditable changes.