vercel-react-best-practices

Provides performance optimization guidelines for React and Next.js applications.

2|Updated Aug 22, 2025
One-click install
npx skills add https://github.com/drsapaev/final --skill vercel-react-best-practices-drsapaev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/drsapaev/final/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/drsapaev/final --skill vercel-react-best-practices-drsapaev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses common performance bottlenecks in React and Next.js applications, ensuring faster load times, smoother user experiences, and more efficient code.

Core Features & Use Cases

  • Performance Optimization: Provides over 50 rules covering waterfalls, bundle size, server-side rendering, client-side data fetching, and re-render optimization.
  • Agent-Friendly Guidelines: Specifically designed for AI agents to use during code generation, review, and refactoring.
  • Use Case: When developing a new feature in a Next.js app, consult this Skill to ensure data fetching is parallelized, component re-renders are minimized, and the final bundle size is optimized.

Quick Start

Apply the vercel-react-best-practices skill to optimize the provided React component code for 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 for faster load times?

Optimize React and Next.js performance by applying guidelines that eliminate data fetching waterfalls, reduce bundle size, and minimize component re-renders. This Skill provides over 50 rules for code generation and refactoring to ensure smoother user experiences.

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

Reducing bundle size in a Next.js application involves applying specific optimization rules during code generation. This Skill provides agent-friendly guidelines targeting bundle reduction alongside server-side rendering and data fetching parallelization.

How do I eliminate data fetching waterfalls in React components?

Eliminate data fetching waterfalls in React by parallelizing server-side and client-side data requests. This Skill provides Vercel engineering best practices to structure data fetching logic for AI agents during code refactoring.

Can I use these optimization rules for both client-side and server-side rendering?

Yes, these optimization rules support both client-side and server-side rendering in Next.js. The guidelines cover critical areas including component re-render optimization and advanced patterns for data fetching across both rendering environments.

Why does my React application experience frequent component re-renders?

Frequent component re-renders in React occur due to unoptimized state management and data fetching patterns. This Skill provides over 50 performance rules to minimize re-renders by applying Vercel best practices during AI agent code generation and review.

Does this Skill require specific dependencies to optimize React code?

No specific dependencies are required to optimize React code with this Skill. It functions as a reference component providing comprehensive performance optimization guidelines for AI agents to apply during Next.js and React code generation and refactoring.