Agent skill · Vercel

React Best Practices skill for Claude Code, Codex and Cursor

Vercel's performance rules for React and Next.js code: rendering, data fetching, bundle size.

Officialname: vercel-react-best-practices★ 33k (repo)pushed 2026-10-14MITSKILL.md on GitHubchecked 2026-11-07

What it does, in the publisher's words

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.

The description field of the SKILL.md. The agent reads only this at startup and decides from it when to load the full skill.

Install React Best Practices

The skills CLI copies the skill into the folder of each agent you pick (Claude Code, Codex, Cursor, Copilot, Gemini CLI, OpenCode, Windsurf...). Add -g for all projects. Needs Node.js 22.20+. docs

npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices

Works with

Claude Code, Claude.ai and Claude Desktop, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and other agents that read the open Agent Skills format.

What's in the SKILL.md

13 sections
  • 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

Bundled files

75
  • AGENTS.md
  • README.md
  • metadata.json
  • rules/_sections.md
  • rules/_template.md
  • rules/advanced-effect-event-deps.md
  • rules/advanced-event-handler-refs.md
  • rules/advanced-init-once.md
  • rules/advanced-use-latest.md
  • rules/async-api-routes.md
  • rules/async-cheap-condition-before-await.md
  • rules/async-defer-await.md
  • rules/async-dependencies.md
  • rules/async-parallel.md
  • rules/async-suspense-boundaries.md
  • rules/bundle-analyzable-paths.md
  • rules/bundle-barrel-imports.md
  • rules/bundle-conditional.md
  • rules/bundle-defer-third-party.md
  • rules/bundle-dynamic-imports.md
  • + 55 more

Loaded only when the instructions point to them.

Facts

Skill name
vercel-react-best-practices
Publisher
Vercel (official)
Repo
vercel-labs/agent-skills
License
MIT
Version
1.0.0
SKILL.md size
891 words, 141 lines
Bundled files
75, 59 docs
Repo stars
33k (as of 2026-10-24)
SKILL.md checked
2026-11-07

More skills from vercel-labs/agent-skills

Related frontend & design skills

FAQ

What does the vercel-react-best-practices skill do?+

Vercel's performance rules for React and Next.js code: rendering, data fetching, bundle size. In its own SKILL.md, Vercel describes it as: "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."

How do I install the vercel-react-best-practices skill?+

Run npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices and pick your agents, or use the tab for your agent above. In Claude Code the skill ends up in ~/.claude/skills/vercel-react-best-practices/SKILL.md; in Codex and Cursor in .agents/skills/vercel-react-best-practices/.

Does React Best Practices work in Codex, Cursor and Copilot, or only Claude?+

It's a standard SKILL.md, so any agent that reads the Agent Skills format can use it: Claude Code, the Claude apps, Codex, GitHub Copilot, Cursor, Gemini CLI, OpenCode, Windsurf and more.

Who maintains React Best Practices?+

Vercel, the company or project behind it, in the vercel-labs/agent-skills repo on GitHub, last pushed 2026-10-14. License: MIT.

Read a skill's SKILL.md and scripts before you install it: skills aren't verified by any agent vendor. Claude skills marketplace · How to install skills · MCP servers