# Vercel react best practices

> Vercel react best practices is an open-source agent skill for cloud and infrastructure. React and Next.js performance optimization guidelines from Vercel Engineering. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/vercel-labs/agent-skills/tree/main/skills/react-best-practices
- **Repository:** https://github.com/vercel-labs/agent-skills
- **GitHub stars:** 34,270
- **License:** MIT
- **Skill name:** vercel-react-best-practices
- **Collection:** https://github.com/vercel-labs/agent-skills
- **Categories:** cloud and infrastructure
- **Listing updated:** 2026-11-17

## About

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.

## When your agent uses it

> 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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/vercel-labs/agent-skills/tree/HEAD/skills/react-best-practices)
- [License: MIT](https://github.com/vercel-labs/agent-skills/tree/HEAD/skills/react-best-practices)

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/vercel-react-best-practices` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vercel-labs/agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/vercel-react-best-practices &&
cp -R "$tmp/skills/react-best-practices" ~/.claude/skills/vercel-react-best-practices &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/vercel-react-best-practices` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/vercel-react-best-practices` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vercel-labs/agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/vercel-react-best-practices &&
cp -R "$tmp/skills/react-best-practices" ~/.agents/skills/vercel-react-best-practices &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/vercel-react-best-practices` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/vercel-react-best-practices` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vercel-labs/agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/vercel-react-best-practices &&
cp -R "$tmp/skills/react-best-practices" ~/.cursor/skills/vercel-react-best-practices &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/vercel-react-best-practices` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/vercel-labs/agent-skills.git --path skills/react-best-practices
```

Or copy the folder to `~/.gemini/skills/vercel-react-best-practices` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/vercel-react-best-practices`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vercel-labs/agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/vercel-react-best-practices &&
cp -R "$tmp/skills/react-best-practices" ~/.copilot/skills/vercel-react-best-practices &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/vercel-react-best-practices` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/vercel-labs/agent-skills.git
```

Then copy `agent-skills/skills/react-best-practices` into your agent's skills folder as `vercel-react-best-practices`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Vercel react best practices in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/vercel-react-best-practices to use it in all your projects, or to .claude/skills/vercel-react-best-practices in one project.

### Does Vercel react best practices run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Vercel react best practices?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Vercel react best practices?

The closest alternatives to Vercel react best practices are Deploy to vercel and Vercel react view transitions.

## Alternatives

- [Deploy to vercel](https://ai-powered.com/skills/deploy-to-vercel): Deploy to vercel is an agent skill for cloud and infrastructure.
- [Vercel react view transitions](https://ai-powered.com/skills/vercel-react-view-transitions): Vercel react view transitions is an open-source agent skill for cloud and infrastructure.

---
Source: https://ai-powered.com/skills/vercel-react-best-practices
