pedronauck avatar

Vercel React Best Practices

Official performance guidelines from Vercel's engineering team, covering 45 rules across React and Next.js optimization. This is what you want when refactoring components or reviewing code for performance issues. The rules are prioritized by impact, from critical waterfall elimination and bundle size wins down to micro-optimizations that rarely matter. Heavy focus on the stuff that actually moves the needle: parallel data fetching, avoiding barrel imports, strategic dynamic imports, and proper server/client boundaries. Each rule includes before/after examples so you're not guessing at implementation. It's opinionated in the right way, the kind of document that settles arguments about whether to use React.cache or when startTransition actually helps.

skills.sh installs
364
GitHub stars
655
last updated
Aug 21, 2026

Install

$ npx -y skills add pedronauck/skills --skill vercel-react-best-practices --agent claude-code

Installs into .claude/skills of the current project.

Files

Vercel React Best Practices

Comprehensive performance optimization guide for React and Next.js applications, maintained by Vercel. Contains 70 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.

When to Apply

Reference these guidelines when:

  • Writing new React components or Next.js pages
  • Implementing data fetching (client or server-side)
  • Reviewing code for performance issues
  • Refactoring existing React/Next.js code
  • Optimizing bundle size or load times

Rule Categories by Priority

PriorityCategoryImpactPrefix
1Eliminating WaterfallsCRITICALasync-
2Bundle Size OptimizationCRITICALbundle-
3Server-Side PerformanceHIGHserver-
4Client-Side Data FetchingMEDIUM-HIGHclient-
5Re-render OptimizationMEDIUMrerender-
6Rendering PerformanceMEDIUMrendering-
7JavaScript PerformanceLOW-MEDIUMjs-
8Advanced PatternsLOWadvanced-

Quick Reference

1. Eliminating Waterfalls (CRITICAL)

Sponsors

Details

Repository
github.com/pedronauck/skills
Categories
Frontend Development, Documentation, Code Review & Quality, Debugging, Cloud & Infrastructure
First seen
Jun 3, 2026

More from pedronauck/skills

All 70
1secondsky avatarbun-nextjssecondsky/claude-skillsThis skill should be used when the user asks about "Next.js with Bun", "Bun and Next", "running Next.js on Bun", "Next.js development with Bun", "create-next-ap362skills.sh installs
2jezweb avatarresponsive-imagesjezweb/claude-skillsImplement performant responsive images with srcset, sizes, lazy loading, and modern formats (WebP, AVIF). Covers aspect-ratio for CLS prevention, picture elemen358skills.sh installs
3gentleman-programming avatarangular-performancegentleman-programming/gentleman-skillsAngular performance: NgOptimizedImage, @defer, lazy loading, SSR. Trigger: When optimizing Angular app performance, images, or lazy loading.353skills.sh installs
4sergiodxa avatarfrontend-js-best-practicessergiodxa/agent-skillsJavaScript performance optimization guidelines. Use when writing, reviewing, or refactoring JavaScript/TypeScript code to ensure optimal performance patterns. T337skills.sh installs
5wsimmonds avatarnextjs-advanced-routingwsimmonds/claude-nextjs-skillsGuide for advanced Next.js App Router patterns including Route Handlers, Parallel Routes, Intercepting Routes, Server Actions, error boundaries, draft mode, and336skills.sh installs
6secondsky avatarbun-nuxtsecondsky/claude-skillsUse when running Nuxt 3 with Bun runtime, building Vue/Nuxt apps with Bun, or configuring Nuxt projects to use Bun for development and production.327skills.sh installs