Agent Skill
Vercel React Best Practices skill
vercel-react-best-practicesvercel-labs/agent-skillsskills/react-best-practices/SKILL.md
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.
always on
67 tokname + description
once used
1,669 tokSKILL.md body
bundled files
75218 KB
installs
827kskills.sh
Install the Vercel React Best Practices skill
Skills CLI (Claude Code, Codex, Cursor and others)
npx skills add https://github.com/vercel-labs/agent-skills --skill vercel-react-best-practices
Claude Code, by hand (all projects)
git clone --depth 1 https://github.com/vercel-labs/agent-skills.git /tmp/agent-skills mkdir -p ~/.claude/skills cp -R /tmp/agent-skills/skills/react-best-practices ~/.claude/skills/vercel-react-best-practices
For one project only, copy the folder into .claude/skills/ in that project instead. The agent picks it up when a task matches its description.
What it costs your context
Agent Skills load in three steps. Tokens counted with the o200k tokenizer; your model's count will differ a little.
| When | What loads | Cost |
|---|---|---|
| Every session | Name and description | 67 tok |
| When the agent uses it | The SKILL.md instructions | 1,669 tok |
| Only if opened | 75 bundled files (218 KB) | varies |
Until it is used, vercel-react-best-practices costs about 20× less than the median MCP server we measured (1,363 tokens on every turn). Installing all 9 skills from vercel-labs/agent-skills would load 623 tokens of descriptions. Skills vs MCP study
Checks
- The name doesn't match its folder name, as the specification requires.
Checked 2026-10-22 · method
What's inside
The headings of its SKILL.md. Read the full file on GitHub.
- Vercel React Best Practices
- When to Apply
- Rule Categories by Priority
- Quick Reference
- 1. Eliminating Waterfalls (CRITICAL)
- 2. Bundle Size Optimization (CRITICAL)
- 3. Server-Side Performance (HIGH)
- 4. Client-Side Data Fetching (MEDIUM-HIGH)
- 5. Re-render Optimization (MEDIUM)
- 6. Rendering Performance (MEDIUM)
- 7. JavaScript Performance (LOW-MEDIUM)
- 8. Advanced Patterns (LOW)
- How to Use
- Full Compiled Document
More skills from vercel-labs/agent-skills
- web-design-guidelinesvercel-labs/agent-skills
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
769k44 tok idle · 190 in use - vercel-composition-patternsvercel-labs/agent-skills
React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.
411k58 tok idle · 532 in use - vercel-react-native-skillsvercel-labs/agent-skills
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
250k57 tok idle · 949 in use - deploy-to-vercelvercel-labs/agent-skills
Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".
165k247 tok idle · 2,823 in use - vercel-react-view-transitionsvercel-labs/agent-skills
Guide for implementing smooth, native-feeling animations using React's View Transition API (`<ViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter/exit of components, animate list reorder, implement directional (forward/back) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions view transitions, `startViewTransition`, `ViewTransition`, transition types, or asks about animating between UI states in React without third-party animation libraries.
163k127 tok idle · 3,157 in use - vercel-cli-with-tokensvercel-labs/agent-skills
Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".
132k59 tok idle · 2,614 in use - vercel-optimizevercel-labs/agent-skills
Use for Vercel cost and performance optimization on deployed projects, especially Next.js, SvelteKit, Nuxt, and limited Astro apps. Collect Vercel metrics, usage, project config, and code scan results first; investigate only metric-backed candidates; produce ranked recommendations grounded in verified files and version-aware Vercel/framework docs. Trigger for Vercel bill reduction, slow or expensive routes, caching opportunities, Function Invocations, Build Minutes, Fast Data Transfer, Core Web Vitals, Bot Management, Fluid compute, or cost breakdown requests.
107k90116 tok idle · 3,819 in use - writing-guidelinesvercel-labs/agent-skills
Review docs/prose for Writing Guidelines compliance. Use when asked to "review my docs", "check writing style", "audit prose", "review docs voice and tone", or "check this page against the writing handbook".
103k48 tok idle · 188 in use