vercel-react-best-practices

Apply Vercel performance optimization rules to React and Next.js code.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill addresses common performance pitfalls in React and Next.js development, ensuring applications are fast, efficient, and provide a smooth user experience.

Core Features & Use Cases

  • Performance Optimization: Provides over 50 rules covering waterfalls, bundle size, server-side rendering, re-renders, and more.
  • AI-Assisted Development: Designed for agents and LLMs to maintain, generate, or refactor React/Next.js codebases for optimal performance.
  • Use Case: When developing a new feature, use this Skill to ensure all data fetching is optimized, component re-renders are minimized, and the final bundle size is as small as possible.

Quick Start

Apply the vercel-react-best-practices skill to refactor the provided React component for improved performance.

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 development?

To optimize React and Next.js performance, you should minimize component re-renders, eliminate data fetching waterfalls, and reduce client-side bundle size using established engineering guidelines for code maintenance and refactoring.

What are the best practices for reducing bundle size in Next.js applications?

Best practices for reducing bundle size in Next.js involve optimizing server-side rendering, managing client-side data fetching efficiently, and applying advanced JavaScript performance patterns to ensure the final bundle remains as small as possible.

How does an AI agent refactor React components for optimal rendering performance?

An AI agent refactors React components for optimal rendering performance by applying curated rules that minimize unnecessary re-renders, eliminate waterfalls, and optimize both server-side and client-side data fetching operations.

When do I need to optimize server-side rendering in React?

You need to optimize server-side rendering in React when your application experiences slow load times, allowing you to apply targeted performance rules that improve data fetching efficiency and overall server response times.

Can I use these React optimization rules for both new feature generation and codebase maintenance?

Yes, you can use these React optimization rules for both new feature generation and existing codebase maintenance, as the guidelines are specifically designed to aid AI agents in generating and refactoring code for optimal efficiency.

Why does my React application have data fetching waterfalls and how do I fix them?

Data fetching waterfalls occur when requests are sequenced inefficiently; you fix them by applying performance optimization guidelines that restructure data fetching logic to run in parallel and minimize server-side rendering bottlenecks.