composition-patterns
Composition patterns for building flexible, maintainable React components. Avoid boolean prop proliferation by using compound…
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,
Claude Code
$ npx -y skills add vercel-labs/agent-skills --skill react-best-practices --agent claude-code
Codex
$ npx skills add vercel-labs/agent-skills --skill react-best-practices -a codex -y
Cursor
$ npx skills add vercel-labs/agent-skills --skill react-best-practices -a cursor -y
Gemini CLI
$ npx skills add vercel-labs/agent-skills --skill react-best-practices -a gemini-cli -y
GitHub Copilot
$ npx skills add vercel-labs/agent-skills --skill react-best-practices -a github-copilot -y
OpenCode
$ npx skills add vercel-labs/agent-skills --skill react-best-practices -a opencode -y
Windsurf
$ npx skills add vercel-labs/agent-skills --skill react-best-practices -a windsurf -y
name: vercel-react-best-practices description: 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. license: MIT metadata: author: vercel version: "1.0.0"
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.
Reference these guidelines when:
| Priority | Category | Impact | Prefix | |----------|----------|--------|--------| | 1 | Eliminating Waterfalls | CRITICAL | `async-` | | 2 | Bundle Size Optimization | CRITICAL | `bundle-` | | 3 | Server-Side Performance | HIGH | `server-` | | 4 | Client-Side Data Fetching | MEDIUM-HIGH | `client-` | | 5 | Re-render Optimization | MEDIUM | `rerender-` | | 6 | Rendering Performance | MEDIUM | `rendering-` | | 7 | JavaScript Performance | LOW-MEDIUM | `js-` | | 8 | Advanced Patterns | LOW | `advanced-` |
A collection of skills for AI coding agents. Skills are packaged instructions and scripts that extend agent capabilities. Skills follow the Agent Skills format.
Composition patterns for building flexible, maintainable React components. Avoid boolean prop proliferation by using compound…
Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give…
Comprehensive best practices for React Native and Expo applications. Contains rules across multiple categories covering…
Guide for implementing smooth, native-feeling animations using React's View Transition API (`<ViewTransition>` component,…
Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens…
Use for Vercel cost and performance optimization on deployed projects, especially Next.js, SvelteKit, Nuxt, and limited Astro…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.