vercel-react-best-practices

Optimize React and Next.js applications with performance rules for waterfalls and bundle size.

143|1|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/jal-co/ui --skill vercel-react-best-practices-jal-co
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/jal-co/ui/tree/main/.pi/skills/vercel-react-best-practices
Command: npx skills add https://github.com/jal-co/ui --skill vercel-react-best-practices-jal-co

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the common performance pitfalls in React and Next.js applications, ensuring code is efficient, fast, and maintainable.

Core Features & Use Cases

  • Performance Optimization: Provides over 50 rules covering waterfalls, bundle size, server-side rendering, and more.
  • Code Refactoring Guidance: Offers concrete examples of incorrect vs. correct implementations for AI agents and developers.
  • Use Case: When refactoring a Next.js page that suffers from slow load times, apply the rules from this Skill to identify and fix issues like large bundle sizes or server-side waterfalls.

Quick Start

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

To optimize React and Next.js performance, apply over 50 targeted rules covering waterfall elimination, bundle size reduction, server-side rendering, and rendering optimizations to refactor slow-loading pages.

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

Best practices for reducing bundle size involve applying specific optimization rules that identify large dependencies and enforce correct implementation patterns, significantly lowering the final bundle payload.

How does this approach help fix server-side rendering waterfalls in Next.js?

Fixing server-side rendering waterfalls involves applying detailed rules that flatten data fetching sequences, eliminating cascading requests to improve server-side performance and reduce load times.

Can I use these guidelines to refactor existing React components for better performance?

You can use these guidelines to refactor existing React components by referencing concrete examples of incorrect versus correct implementations, directly guiding AI agents and developers during code generation.

What are the limitations of using general React optimization rules for complex Next.js applications?

General React optimization rules may not cover advanced edge cases in complex Next.js applications, requiring developers to manually adapt the provided performance guidelines to their specific server-side and rendering architectures.

When do I need to apply server-side performance optimizations over client-side rendering in Next.js?

Server-side performance optimizations are needed when pages suffer from slow load times due to server-side waterfalls, requiring the application of specific rules to balance server and client rendering effectively.