vercel-react-best-practices

Apply React and Next.js performance best practices to code generation and refactoring.

Updated Nov 26, 2025
One-click install
npx skills add https://github.com/guiledo/dotfiles --skill vercel-react-best-practices-guiledo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/guiledo/dotfiles/tree/main/opencode/.config/opencode/skills/vercel-react-best-practices
Command: npx skills add https://github.com/guiledo/dotfiles --skill vercel-react-best-practices-guiledo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The skill provides a structured, enforcement-ready framework of React and Next.js performance best practices to help teams reduce build times, improve user experience, and ensure scalable, maintainable optimizations.

Core Features & Use Cases

  • A categorized reference with 65 rules across 8 priority areas to guide automated refactoring and code generation.
  • Concrete patterns for common React/Next.js scenarios, including server actions, server components, dynamic imports, bundle optimizations, and rendering improvements.
  • Suitable for tasks such as writing new components, code reviews, refactoring sessions, and performance-focused development.

Quick Start

Review a codebase and apply the guide's recommendations to optimize performance, starting with the highest-impact rules.

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 for React and Next.js performance optimization?

React and Next.js performance best practices involve applying a structured framework of 65 rules across 8 priority areas. This guides automated refactoring and code generation to reduce build times, improve user experience, and ensure scalable optimizations.

How do I optimize bundle size and data fetching in Next.js?

Optimize bundle size and data fetching in Next.js by applying concrete patterns for server components, server actions, and dynamic imports. This structured approach ensures maintainable bundle optimizations and scalable rendering improvements.

When do I need server components and server actions in Next.js?

You need server components and server actions in Next.js when writing new components or refactoring existing pages for performance. They provide concrete patterns for data fetching and rendering improvements within an enforcement-ready categorization framework.

What is the best way to refactor React components for performance?

The best way to refactor React components for performance is using a categorized reference guide. It clarifies requirements for categorization, safety, and maintainability, guiding automated refactoring sessions starting with the highest-impact optimization rules.

Can I use these Next.js best practices for code reviews?

Yes, you can use these Next.js best practices for code reviews. The framework provides an enforcement-ready reference of rules and patterns suitable for performance-focused development, code reviews, and writing new maintainable components.