vercel-labs avatar

Vercel React Best Practices

This is Vercel's internal performance playbook turned into a Claude skill. It covers 70 rules across eight categories, from eliminating async waterfalls and bundle optimization (the critical stuff) down to JavaScript micro-optimizations. The real value is in how it prioritizes. Instead of dumping every best practice on you, it focuses on what actually moves the needle: parallel data fetching, avoiding barrel imports, proper use of React Server Components. Use it when writing or reviewing React/Next.js code and you want to catch performance footguns before they ship. The rules are specific enough to guide refactoring decisions, not just vague advice about "making things faster."

install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
5
GitHub stars
27.8K
last updated
Jun 10, 2026

Install

$ npx -y skills add vercel-labs/agent-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/vercel-labs/agent-skills
Categories
Frontend Development, Documentation, Code Review & Quality, AI & Agent Building, Debugging, Cloud & Infrastructure
First seen
Jun 11, 2026

More from vercel-labs/agent-skills

All 14
1anthropics avatarfrontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making ch1.1Mskills.sh installs
2leonxlnx avatardesign-taste-frontendleonxlnx/taste-skillAnti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that d754.5Kskills.sh installs
3antfu avatarvueantfu/skillsVue 3 Composition API, script setup macros, reactivity system, and built-in components. Use when writing Vue SFCs, defineProps/defineEmits/defineModel, watchers36.5Kskills.sh installs
4google-labs-code avatarreact%3Acomponentsgoogle-labs-code/stitch-skills36.4Kskills.sh installs
5expo avataruse-domexpo/skillsUse Expo DOM components to run web code in a webview on native and as-is on web. Migrate web code to native incrementally.30.3Kskills.sh installs
6software-mansion avatarargent-test-ui-flowsoftware-mansion/argentAutonomously test an app UI (iOS or Android) by running interact-screenshot-verify loops using argent MCP tools. Use when testing UI flows, verifying login work29.9Kskills.sh installs