vercel-react-best-practices

Apply performance optimization patterns to React and Next.js code.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

React and Next.js performance optimization guidelines to diagnose and fix common bottlenecks, enabling faster, smoother UIs.

Core Features & Use Cases

  • 57 rules across 8 priority categories providing structured guidance for optimizing rendering, data fetching, and bundles.
  • Prioritized patterns for both client and server code, with guardrails for automated refactoring and code generation.
  • Suitable for use during component/page reviews, refactors, and performance-oriented migrations across large codebases.

Quick Start

Review existing React/Next.js code, identify high-impact rules (async, bundle, server, client) and start applying them in small, safe increments to improve 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 during a codebase migration?

To optimize React and Next.js performance during a migration, apply 57 structured rules across eight priority categories incrementally. This process targets rendering, data fetching, and bundle optimization to prevent waterfalls and improve user experience safely.

What are the best practices for preventing data fetching waterfalls in Next.js?

Best practices for preventing Next.js data fetching waterfalls involve applying prioritized patterns for both client and server code. This targets sequential fetching bottlenecks directly to improve overall UI responsiveness.

Can I use automated refactoring tools to fix React bundle optimization issues?

Yes, you can use automated refactoring to fix React bundle optimization issues because the skill provides guardrails and testable rules. These guardrails ensure safe, automated code generation workflows for bundle and rendering improvements.

Does this approach support both client and server rendering patterns in Next.js?

Yes, this approach fully supports both client and server rendering patterns in Next.js. It provides prioritized optimization guidance for client and server code, enforcing testable rules across both environments to prevent waterfalls.

When should I apply server actions for Next.js performance optimization?

You should apply server actions for Next.js performance optimization when addressing data fetching and rendering bottlenecks. They are part of eight prioritized categories that provide guardrails for safe, incremental refactoring to improve user experience.

What is the best way to review React components for performance bottlenecks?

The best way to review React components for performance bottlenecks is identifying high-impact rules across async, bundle, server, and client categories. Applying these testable rules incrementally during component reviews ensures safe performance improvements.