vercel-react-best-practices

Apply curated React and Next.js performance best practices across rendering, data fetching, and bundling.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/cptunderpantsmoons/contract-hubv1 --skill vercel-react-best-practices-cptunderpantsmoons
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/cptunderpantsmoons/contract-hubv1/tree/main/.claude/skills/react-best-practices
Command: npx skills add https://github.com/cptunderpantsmoons/contract-hubv1 --skill vercel-react-best-practices-cptunderpantsmoons

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Vercel React Best Practices provides a structured, end-to-end guide for improving the performance of React and Next.js codebases, enabling teams to consistently apply proven patterns.

Core Features & Use Cases

  • A catalog of 70+ rules across 8 priority categories covering eliminating waterfalls, bundle sizing, server-side performance, client data fetching, re-render optimization, rendering performance, JavaScript performance, and advanced patterns.
  • Discovery and automation-friendly design using a YAML frontmatter in SKILL.md for tool integration, with optional scripts/, references/, and assets/ directories to support deterministic tasks.
  • Practical guidance for writing, reviewing, and refactoring React/Next.js code to maximize Time to Interactive and First Contentful Paint in real-world projects.

Quick Start

Analyze a React/Next.js project and apply the documented performance patterns to improve load times and runtime efficiency.

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 for better load times?

Optimize React and Next.js performance by applying 70+ curated best practices across rendering, data fetching, and bundling to drive automated refactoring. This improves Time to Interactive and First Contentful Paint in production-grade applications.

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

Eliminate Next.js data fetching waterfalls by applying prioritized rules for server-side performance and client data fetching. These patterns restructure asynchronous calls to prevent sequential blocking and improve overall load efficiency.

How do I refactor React components to reduce bundle size?

Refactor React components to reduce bundle size by following cataloged rules targeting bundling performance. This involves restructuring imports and components to minimize JavaScript payload and improve initial render metrics.

Can I use these React performance rules in both server and client contexts?

Yes, the rules explicitly target both server and client contexts within React components and Next.js pages. This ensures performance optimizations apply correctly regardless of the rendering environment.

How do I stop unnecessary re-renders in my React application?

Stop unnecessary re-renders in your React application by applying cataloged re-render optimization patterns. These rules codify state management and component structure adjustments to prevent redundant rendering cycles.

Does this Next.js optimization tool require external dependencies?

No, this Next.js optimization tool requires no external dependencies. It uses a YAML frontmatter in SKILL.md for discovery and supports optional scripts, references, and assets directories to run deterministic tasks.