am-will avatar

Vercel React Best Practices

A solid reference for React and Next.js performance work, organized by impact so you know what actually matters. The 45 rules span eight categories, from critical waterfall elimination and bundle optimization down to minor JavaScript tweaks. What's useful here is the prioritization: it starts with async patterns and barrel import issues that tank performance, then moves through server-side caching, client fetching with SWR, re-render optimization, and rendering tricks. Each rule includes before/after examples. Use this when writing new components, reviewing PRs, or hunting down why your app feels slow. The categories make it easy to focus on high-impact changes first instead of bikeshedding over premature optimizations.

skills.sh installs
1.2K
GitHub stars
1K
last updated
Aug 21, 2026

Install

$ npx -y skills add am-will/codex-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 45 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/am-will/codex-skills
Categories
Frontend Development, Documentation, Code Review & Quality, Debugging, Cloud & Infrastructure
First seen
May 16, 2026

More from am-will/codex-skills

All 19
1aj-geddes avatarresponsive-web-designaj-geddes/useful-ai-promptsCreate responsive layouts using CSS Grid, Flexbox, media queries, and mobile-first design. Use when building adaptive interfaces that work across all devices.1.1Kskills.sh installs
2adobe avatarcreate-componentadobe/skillsCreates complete AEM components with dialog, HTL template, Sling Model, unit tests, and clientlibs. Supports extending Core Components and project components. W1.1Kskills.sh installs
3cap-go avatartailwind-capacitorcap-go/capgo-skillsGuide to using Tailwind CSS in Capacitor mobile apps. Covers mobile-first design, touch targets, safe areas, dark mode, and performance optimization. Use this s1Kskills.sh installs
4framix-team avataremail-html-mjmlframix-team/skill-email-html-mjmlResponsive HTML email template generation using MJML 4.x framework. Use when the user asks to create, generate, design, or build an email template — including w998skills.sh installs
5hairyf avatarreact-usehairyf/skillsCollection of essential React Hooks for sensors, UI, animations, side-effects, lifecycles, and state management851skills.sh installs
6existential-birds avatartailwind-v4existential-birds/beagleTailwind CSS v4 with CSS-first configuration and design tokens. Use when setting up Tailwind v4, defining theme variables, using OKLCH colors, or configuring da817skills.sh installs