vercel-react-best-practices

Apply React and Next.js performance optimization guidelines for automated refactoring.

1|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/Kuass/kiro-gateway-plus --skill vercel-react-best-practices-kuass
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/Kuass/kiro-gateway-plus/tree/main/.opencode/skill/react-best-practices
Command: npx skills add https://github.com/Kuass/kiro-gateway-plus --skill vercel-react-best-practices-kuass

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a comprehensive set of guidelines and best practices to significantly improve the performance of React and Next.js applications, addressing issues from critical waterfalls to incremental optimizations.

Core Features & Use Cases

  • Performance Optimization: Apply over 45 rules across 8 categories to enhance speed and efficiency.
  • Code Refactoring Guidance: Use detailed examples to refactor code for better performance.
  • AI Agent Assistance: Optimized for LLMs to ensure consistent and automated application of best practices.
  • Use Case: When developing a new feature in a Next.js app, consult this Skill to ensure data fetching is parallelized, bundle sizes are minimized, and server-side rendering is efficient, leading to a faster user experience.

Quick Start

Apply the React best practices outlined in the skill to the provided codebase.

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 to eliminate data fetching waterfalls?

To optimize React and Next.js performance, you must parallelize data fetching to eliminate waterfalls. This ensures server-side and client-side requests run concurrently, significantly improving application speed and rendering efficiency. Applying over 45 specific guidelines helps automate this refactoring process.

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

The best way to reduce bundle size and re-renders in a Next.js application is to apply targeted optimization rules. These guidelines cover JavaScript performance, bundle minimization, and rendering performance to prevent unnecessary component re-render cycles. Detailed examples guide code refactoring for better efficiency.

Can I use automated AI agents to apply React best practices for code refactoring?

Yes, you can use automated AI agents to apply React best practices. The guidelines are optimized for LLMs and require adherence to specific rule categories and prefixes, ensuring consistent and automated code refactoring for performance optimization. This covers over 45 rules across 8 categories.

Does server-side data fetching work with client-side fetching in React performance optimization?

Server-side data fetching works alongside client-side fetching in React performance optimization. The guidelines cover both approaches, ensuring efficient data retrieval and incremental performance improvements without creating critical waterfalls in your application. This comprehensive approach addresses issues from critical waterfalls to incremental optimizations.

Why does my Next.js app have slow rendering performance and how do I fix it?

Your Next.js app has slow rendering performance due to unoptimized data fetching and large bundle sizes. You can fix it by applying advanced React patterns, optimizing server-side rendering, and eliminating JavaScript performance bottlenecks using specific refactoring guidelines. This addresses issues from critical waterfalls to incremental optimizations.