vercel-react-best-practices

Identify and codify React and Next.js performance patterns for rendering, data fetching, and bundle size.

1|Updated Apr 13, 2015
One-click install
npx skills add https://github.com/tyler-dot-earth/.dotfiles --skill vercel-react-best-practices-tyler-dot-earth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/tyler-dot-earth/.dotfiles/tree/main/agents/skills/react-best-practices
Command: npx skills add https://github.com/tyler-dot-earth/.dotfiles --skill vercel-react-best-practices-tyler-dot-earth

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

React and Next.js apps frequently suffer from performance regressions, slow data fetching, and bloated bundles, hindering user experience and developer velocity.

Core Features & Use Cases

  • 57 rules across 8 priority categories that guide AI-assisted refactoring and code generation.
  • Practical guidelines spanning client/server performance, rendering, and bundle optimization with concrete examples.
  • Use cases include code reviews, component/page refactoring, performance audits, and automated rule-based improvements.

Quick Start

Run a performance audit on a React/Next.js project and apply the recommended patterns to improve render speed and bundle size.

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 rendering and data fetching performance?

You can optimize React and Next.js rendering and data fetching by applying 57 documented rules across 8 priority categories, including aggressive optimizations for client and server performance with concrete examples.

What is the best way to reduce bundle size in a Next.js application?

The best way to reduce bundle size is to apply codified bundle optimization patterns during code generation and refactoring, using practical guidelines that target bloated bundles and slow data fetching.

Can I use these performance patterns for AI-assisted code reviews?

Yes, you can use these performance patterns for AI-assisted code reviews, component and page refactoring, performance audits, and automated rule-based improvements across diverse project contexts.

How do I run a performance audit on an existing React codebase?

Run a performance audit on a React project by evaluating components, Next.js pages, and server actions against documented rules, then apply the recommended patterns to improve render speed and bundle size.

Does this approach work with both client-side and server-side Next.js performance issues?

Yes, this approach works with both client-side and server-side Next.js performance issues, providing practical guidelines spanning client and server rendering, data-fetching strategies, and bundle optimization.

When should I not use aggressive React performance optimizations?

The metadata does not specify exact limitations on when to avoid aggressive optimizations, but the 57 rules across 8 priority categories are designed to guide refactoring and code generation in diverse project contexts.