vercel-react-best-practices

Optimize React and Next.js applications with performance guidelines for code generation and refactoring.

Updated Feb 21, 2026
One-click install
npx skills add https://github.com/mikeyfennelly1/hackeurope--210226 --skill vercel-react-best-practices-mikeyfennelly1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/mikeyfennelly1/hackeurope--210226/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/mikeyfennelly1/hackeurope--210226 --skill vercel-react-best-practices-mikeyfennelly1

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

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

Core Features & Use Cases

  • Performance Optimization: Provides over 50 rules covering waterfalls, bundle size, server-side rendering, re-renders, and more.
  • Agentic Refactoring: Guides AI agents in writing, reviewing, and refactoring React/Next.js code for optimal performance.
  • Use Case: When developing a new Next.js feature, use this Skill to ensure data fetching is parallelized, component re-renders are minimized, and the final bundle size is optimized for production.

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 for faster load times?

To optimize React and Next.js performance, apply rules targeting bundle size reduction, server-side rendering, and client-side data fetching. This eliminates common performance pitfalls, ensuring faster load times and smoother user interactions.

What is the best way to prevent data fetching waterfalls in Next.js?

Preventing data fetching waterfalls in Next.js requires parallelizing data requests. Following performance optimization guidelines ensures data fetching operations execute concurrently rather than sequentially, significantly reducing load times.

Can I use this to guide an AI agent in refactoring React components?

Yes, you can use this to guide AI agents in refactoring React components. It provides comprehensive performance optimization guidelines targeting AI agents and LLMs for automated code generation, review, and refactoring.

How do I minimize component re-renders in React applications?

Minimizing component re-renders in React applications involves applying specific rendering performance rules. These optimization guidelines target re-render reduction and advanced patterns to ensure smoother user interactions.

Does this cover bundle size reduction for Next.js production builds?

Yes, this covers bundle size reduction for Next.js production builds. It provides over 50 rules addressing bundle size, server-side performance, and rendering optimization to ensure the final output is highly efficient.