vercel avatar

React Best Practices

Triggers automatically when you edit TSX files to run through 64 React and Next.js optimization rules organized by impact priority. Covers the essentials: eliminating async waterfalls, bundle size fixes, server component performance, hooks patterns, and accessibility basics. The condensed checklist format is helpful when you want automated feedback without hunting through style guides. It also flags legacy CSS-in-JS libraries like styled-components or Material UI and suggests migrating to shadcn/ui with Tailwind. Best used on Vercel-based projects where the server-side and RSC rules really apply, less relevant if you're working on a pure client app.

skills.sh installs
491
GitHub stars
183
last updated
Jun 3, 2026

Install

$ npx -y skills add vercel/vercel-plugin --skill 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/vercel-plugin
Categories
Frontend Development, Cloud & Infrastructure
First seen
Jun 3, 2026

More from vercel/vercel-plugin

All 25
1vercel avatarshadcnvercel/vercel-pluginshadcn458skills.sh installs
2schalkneethling avatarfrontend-securityschalkneethling/webdev-agent-skillsfrontend security449skills.sh installs
3sickn33 avatarfrontend-mobile-security-xss-scansickn33/antigravity-awesome-skillsfrontend mobile security xss scan444skills.sh installs
4sickn33 avatarreact-state-managementsickn33/antigravity-awesome-skillsreact state management425skills.sh installs
5mrgoonie avatarfrontend-designmrgoonie/claudekit-skillsCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applicat424skills.sh installs
6block avatarfrontend-designblock/agent-skillsCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applicat405skills.sh installs