cherryhq avatar

Vercel React Best Practices

This is Vercel's internal performance playbook turned into a Claude skill with 62 rules across 8 categories, from eliminating request waterfalls to micro-optimizations like hoisting RegExp outside loops. Each rule has a priority rating and prefix (async-, bundle-, server-, etc.) so Claude knows what to focus on first. Most valuable when refactoring existing React/Next.js code or reviewing PRs, since it catches things like barrel file imports killing your bundle size or accidentally serializing too much data in RSC props. The waterfall elimination and bundle optimization rules alone justify having this in your toolkit. Worth noting it assumes you're already comfortable with React, this isn't a beginner's guide but a reference for writing production-grade code.

GitHub stars
47.2K
last updated
Jun 11, 2026

Install

$ npx -y skills add cherryhq/cherry-studio --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 62 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/cherryhq/cherry-studio
Categories
Frontend Development, Documentation, Code Review & Quality, Debugging, Cloud & Infrastructure
License
AGPL-3.0
First seen
Jun 11, 2026

More from cherryhq/cherry-studio

All 14
1georgekhananaev avatarnextjs-senior-devgeorgekhananaev/claude-skills-vaultSenior Next.js 15+/16 Engineer skill for App Router. Use when scaffolding production apps, enforcing RSC patterns, auditing codebases, or optimizing performance0skills.sh installs
2syahiidkamil avatarshadcnsyahiidkamil/software-engineer-ai-agent-atlasManages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage ex0skills.sh installs
3vercel-labs avatarvercel-react-best-practicesvercel-labs/agent-skillsReact and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js c0skills.sh installs
4anthropics 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
5leonxlnx 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
6antfu 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