vercel-react-best-practices

Optimize React and Next.js performance patterns in codebases.

Updated Jan 13, 2026
One-click install
npx skills add https://github.com/PedrFelip/portfolio --skill vercel-react-best-practices-pedrfelip
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/PedrFelip/portfolio/tree/main/.opencode/skills/vercel-react-best-practices
Command: npx skills add https://github.com/PedrFelip/portfolio --skill vercel-react-best-practices-pedrfelip

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide consolidates React and Next.js performance best-practices into a reusable framework, helping teams reduce bottlenecks and regressions in production apps.

Core Features & Use Cases

  • Prioritized rules cover critical bottlenecks like waterfalls, bundle size, and server-side performance.
  • Scalable guidance for writing, reviewing, or refactoring React components, Next.js pages, and data-fetching strategies.
  • Automation-ready references and patterns that can guide code generation and automated refactoring tasks.

Quick Start

Scan and apply the prioritized React/Next.js performance patterns described in this guide to your codebase.

Frequently Asked Questions about vercel-react-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the best practices to optimize React and Next.js performance?

React and Next.js performance best practices target critical bottlenecks like data-fetching waterfalls, bundle size, and server-side rendering. They provide a categorized rule set to guide writing, reviewing, and refactoring components for faster production apps.

How do I reduce bundle size in a Next.js application?

To reduce bundle size in a Next.js application, apply prioritized performance patterns that optimize component imports and data-fetching logic. This framework helps identify and refactor heavy dependencies to minimize production bottlenecks.

Can I use Next.js server actions to improve data-fetching performance?

Next.js server actions can improve data-fetching performance by shifting logic to the server. This framework includes rules for server-side performance to help you refactor data-fetching strategies and avoid client-side waterfalls.

Does this React performance guidance work for automated code reviews?

This React performance guidance works for automated code reviews by defining a categorized rule set with frontmatter metadata. These automation-ready references can guide code generation and automated refactoring tasks.

When should I refactor React components for performance?

You should refactor React components for performance when experiencing production bottlenecks or regressions. Applying a prioritized best-practices framework helps address waterfalls, bundle size, and server-side performance issues systematically.