Tooluck logoTooluck
SKILL.md

vercel-react-best-practices

Agent skill fromCloudAI-X/claude-workflow-v2

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

How to install vercel-react-best-practices

install vercel-react-best-practices
# install the claude-workflow-v2 pack with the skills CLI
npx skills add CloudAI-X/claude-workflow-v2

# or add only this skill to Claude Code: copy the folder

skills/vercel-react-best-practices/

# into

~/.claude/skills/vercel-react-best-practices/ (all projects)

.claude/skills/vercel-react-best-practices/ (one project)

skills/vercel-react-best-practices/SKILL.md

MITFull file
1# Vercel React Best Practices
2
3### When to Load
4
5- **Trigger**: React or Next.js development, component writing, data fetching patterns, bundle optimization
6- **Skip**: Project does not use React or Next.js
7
8Comprehensive performance optimization guide for React and Next.js applications, maintained by Vercel. Contains 47 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.
9
10## When to Apply
11
12Reference these guidelines when:
13
14- Writing new React components or Next.js pages
15- Implementing data fetching (client or server-side)
16- Reviewing code for performance issues
17- Refactoring existing React/Next.js code
18- Optimizing bundle size or load times
19
20## Rule Categories by Priority
21
22| Priority | Category | Impact | Prefix |
23| -------- | ------------------------- | ----------- | ------------ |
24| 1 | Eliminating Waterfalls | CRITICAL | `async-` |
25| 2 | Bundle Size Optimization | CRITICAL | `bundle-` |
26| 3 | Server-Side Performance | HIGH | `server-` |
27| 4 | Client-Side Data Fetching | MEDIUM-HIGH | `client-` |
28| 5 | Re-render Optimization | MEDIUM | `rerender-` |
29| 6 | Rendering Performance | MEDIUM | `rendering-` |
30| 7 | JavaScript Performance | LOW-MEDIUM | `js-` |
31| 8 | Advanced Patterns | LOW | `advanced-` |
32
33## Quick Reference
34
35### 1. Eliminating Waterfalls (CRITICAL)
36…

Excerpt shown under the repository's MIT license.

More skills in claude-workflow-v2

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates