vercel-react-best-practices

Apply React and Next.js performance rules to code review and refactoring.

8|5|Updated Dec 3, 2025
One-click install
npx skills add https://github.com/notdp/.dotfiles --skill vercel-react-best-practices-notdp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/notdp/.dotfiles/tree/main/skills/react-best-practices
Command: npx skills add https://github.com/notdp/.dotfiles --skill vercel-react-best-practices-notdp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

React and Next.js projects can suffer from slow renders, bloated bundles, and inefficient data fetching patterns. This skill provides a structured, prioritized set of guidelines to help developers write, review, and refactor code to achieve faster, more reliable user interfaces.

Core Features & Use Cases

  • 45 categorized rules across 8 priority-driven categories (Eliminating Waterfalls, Bundle Size Optimization, Server-Side Performance, Client-Side Data Fetching, Re-render Optimization, Rendering Performance, JavaScript Performance, Advanced Patterns) with concrete examples.
  • Practical guidance for writing components, Next.js pages, data fetching strategies, and bundle optimizations in real-world codebases.
  • Actionable quick-start guidance to accelerator automated refactoring and code generation efforts, with guardrails and safety checks.

Quick Start

Review your codebase and apply the highest-priority rules to improve rendering speed and bundle size.

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

React and Next.js performance optimization involves eliminating data waterfalls, reducing bundle size, and improving server-side rendering. This skill provides 45 categorized rules across 8 priority-driven categories with concrete examples to guide refactoring components, pages, and data fetching for faster interfaces.

What's the best way to reduce bundle size in a Next.js application?

Reducing Next.js bundle size requires applying targeted bundle optimization rules during code review. This skill provides actionable guidelines to identify inefficient imports and dependencies, helping you refactor codebases to achieve smaller, more efficient bundles.

Why does my React component re-render so often and how do I fix it?

Frequent React re-renders often stem from inefficient data fetching or poor state management. You can fix them by applying specific re-render optimization rules to refactor components, ensuring faster rendering speed and improved reliability across your web app.

How do I eliminate data waterfalls when fetching data in Next.js?

Eliminating data waterfalls in Next.js requires applying prioritized server-side and client-side data fetching rules. By restructuring data fetching strategies to prevent sequential blocking requests, you significantly improve overall page loading speed.

Can I use these React best practices for automated code generation?

Yes, you can use these React best practices for automated code generation and refactoring. The skill includes a quick-start prompt with guardrails and safety checks to guide automated refactoring tasks across modern web apps.

What are the limitations of using standardized rules for JavaScript performance optimization?

Standardized JavaScript performance rules may require adaptation for highly specific architectural edge cases. While the guidelines cover advanced patterns and concrete examples, complex modern web apps might need manual safety checks beyond the provided automated refactoring guardrails.