vercel-react-best-practices

Apply prioritized React and Next.js performance rules across 8 categories.

Updated Mar 3, 2025
One-click install
npx skills add https://github.com/cyhinverse/YiBu --skill vercel-react-best-practices-cyhinverse
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/cyhinverse/YiBu/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/cyhinverse/YiBu --skill vercel-react-best-practices-cyhinverse

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Vercel-recommended practices help teams overcome performance pitfalls in React and Next.js, providing a structured, prioritized approach to optimize render paths, data fetching, and bundling.

Core Features & Use Cases

  • Prioritized rules across 8 categories, guiding refactors, audits, and new code to maximize performance.
  • Covers server and client patterns, including Suspense, server components, dynamic imports, and bundle optimization.
  • Useful during code reviews, architecture planning, and performance-oriented migrations in existing projects.

Quick Start

Analyze a React/Next.js project and apply top-priority patterns to reduce waterfalls, improve bundle size, and accelerate server responses.

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 code refactoring?

Optimize React and Next.js performance by applying prioritized best-practice guidelines across 57 rules. Refactor render paths, data fetching, and bundling to reduce waterfalls, improve bundle size, and accelerate server responses.

What are the best practices for using React Server Components and Suspense?

Best practices for React Server Components and Suspense involve prioritized rules across 8 categories. They guide architectural planning and code reviews to optimize server and client patterns for faster render execution and data fetching.

Can I use these Next.js optimization rules for both client and server code paths?

Yes, you can use these Next.js optimization rules for both client and server code paths. The guidelines cover dynamic imports, server components, and bundle optimization to ensure compliance across your entire React project.

Why does my Next.js bundle size increase and how can I reduce it?

Your Next.js bundle size can increase due to suboptimal bundling and render paths. Reduce it by applying structured best-practice guidelines for dynamic imports and bundle optimization during automated refactoring and code generation.

How do I fix data fetching waterfalls in Next.js applications?

Fix data fetching waterfalls in Next.js applications by applying prioritized Vercel-recommended practices. These rules optimize server responses and render paths during performance-oriented migrations and architectural planning.