# Use vercel deploy in monorepo

> Use vercel deploy in monorepo is an open-source agent skill for developer tools. Guides deploying pnpm monorepos or standalone repos to Vercel Projects via Git. 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/ruan-cat/monorepo/tree/main/ai-plugins/dev-skills/skills/use-vercel-deploy-in-monorepo
- **Repository:** https://github.com/ruan-cat/monorepo
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** use-vercel-deploy-in-monorepo
- **Collection:** https://github.com/ruan-cat/monorepo
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill walks an agent through deploying a pnpm monorepo or a standalone repository to one or more Vercel Projects. It makes Vercel's Git Integration the primary release path and treats local CLI uploads and prebuilt output as diagnostic or emergency aids. The workflow covers Git repository connection and production branch checks, a single-slot local link verified by project and org IDs, and choosing Node 22.x or 24.x from repository evidence.

The skill sets a read-verify-patch discipline for remote writes. Project Settings and Shared Environment Variables are fetched, compared, minimally patched and read back, and it refuses to delete or unlink team resources without explicit approval. It also covers Turbo task graphs, Nitro server directories and functions output, a six-layer deployment log triage, and a checklist for the first Git end-to-end deployment.

It includes templates for Nuxt, Nitro, Vite and UniApp H5 package scripts and Turbo tasks, plus guidance on moving a sub-package's build output to the repository root and an optional symlink dereference step. Documentation updates to the project README and existing AI memory files are part of the flow.

## When your agent uses it

> 用于将 pnpm monorepo 或独立仓库部署到一个或多个 Vercel Project，处理 Vercel Git Integration、 本地 link、Project Settings 漂移、Shared Environment Variables、Node 22.x/24.x、 Turbo 任务链、Nitro 产物和 Vercel 部署日志诊断。 Use when deploying pnpm monorepos or standalone repositories to one or more Vercel Projects, including Vercel Git Integration, local linking, Project Settings drift, Shared Environment Variables, Node 22.x/24.x, Turbo task chains, Nitro artifacts, or Vercel deployment-log diagnosis.

## What it can access

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

- [Instructions only, no scripts](https://github.com/ruan-cat/monorepo/tree/HEAD/ai-plugins/dev-skills/skills/use-vercel-deploy-in-monorepo)
- [License: MIT](https://github.com/ruan-cat/monorepo/tree/HEAD/ai-plugins/dev-skills/skills/use-vercel-deploy-in-monorepo)

## Features

- **Git Integration release path:** Sets Vercel Git deployments as the authoritative release route and checks the commit, checkout and READY evidence.
- **Safe remote settings writes:** Reads current Project Settings and shared variables, applies minimal patches and verifies them by reading back.
- **Node version selection:** Helps pick Node 22.x or 24.x based on engines, lockfile tooling and the remote nodeVersion setting.
- **Monorepo build templates:** Provides package script and Turbo task templates for Nuxt, Nitro, Vite, UniApp H5 and standalone Nitro projects.
- **Deployment log triage:** Splits failures into upload, install, build, output, runtime and domain layers to locate the cause.
- **Build output relocation:** Explains moving a sub-package's .vercel/output to the root and when a dereference option is appropriate.

## Good for

- Deploy a pnpm monorepo app to Vercel through Git pushes
- Link a local checkout to the correct Vercel Project safely
- Diagnose a failed Vercel build from its deployment logs
- Set up Turbo tasks for a Nuxt or Vite app in a monorepo
- Move Nitro build output to the repository root for Vercel

## Install

### Claude Code

This skill ships in the `dev-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ruan-cat/monorepo
/plugin install dev-skills@ruan-cat-tools
```

Or copy only this skill to `~/.claude/skills/use-vercel-deploy-in-monorepo`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/use-vercel-deploy-in-monorepo &&
cp -R "$tmp/ai-plugins/dev-skills/skills/use-vercel-deploy-in-monorepo" ~/.claude/skills/use-vercel-deploy-in-monorepo &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/use-vercel-deploy-in-monorepo` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/use-vercel-deploy-in-monorepo` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/use-vercel-deploy-in-monorepo &&
cp -R "$tmp/ai-plugins/dev-skills/skills/use-vercel-deploy-in-monorepo" ~/.agents/skills/use-vercel-deploy-in-monorepo &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/use-vercel-deploy-in-monorepo` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/use-vercel-deploy-in-monorepo` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/use-vercel-deploy-in-monorepo &&
cp -R "$tmp/ai-plugins/dev-skills/skills/use-vercel-deploy-in-monorepo" ~/.cursor/skills/use-vercel-deploy-in-monorepo &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/use-vercel-deploy-in-monorepo` 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/ruan-cat/monorepo.git --path ai-plugins/dev-skills/skills/use-vercel-deploy-in-monorepo
```

Or copy the folder to `~/.gemini/skills/use-vercel-deploy-in-monorepo` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/use-vercel-deploy-in-monorepo`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/use-vercel-deploy-in-monorepo &&
cp -R "$tmp/ai-plugins/dev-skills/skills/use-vercel-deploy-in-monorepo" ~/.copilot/skills/use-vercel-deploy-in-monorepo &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/use-vercel-deploy-in-monorepo` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ruan-cat/monorepo.git
```

Then copy `monorepo/ai-plugins/dev-skills/skills/use-vercel-deploy-in-monorepo` into your agent's skills folder as `use-vercel-deploy-in-monorepo`. Agents that support SKILL.md read one folder per skill.

## FAQ

### Does Use vercel deploy in monorepo run deployments on its own?

No. Automatic writes and pushes need explicit user authorization, and the skill stops with a dashboard step when a write path is unavailable.

### Which frameworks have templates?

Nuxt, Nitro, Vite and UniApp H5 have package script and Turbo task templates, and standalone Nitro repositories have a dedicated template.

### Does Use vercel deploy in monorepo delete Vercel team resources?

Deletion is disallowed by default and unlinking requires explicit authorization.

### How do I install Use vercel deploy in monorepo in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/use-vercel-deploy-in-monorepo to use it in all your projects, or to .claude/skills/use-vercel-deploy-in-monorepo in one project. Or install the dev-skills plugin, which includes it: /plugin marketplace add ruan-cat/monorepo, then /plugin install dev-skills@ruan-cat-tools.

### Does Use vercel deploy in monorepo 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 Use vercel deploy in monorepo?

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 Use vercel deploy in monorepo?

The closest alternatives to Use vercel deploy in monorepo are Deploy to vercel, Vercel CLI with tokens, Build tooling, Vercel deploy and Vercel optimize.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Deploy to vercel](https://ai-powered.com/skills/deploy-to-vercel): Deploy to vercel is a free agent skill for cloud and infrastructure.
- [Vercel CLI with tokens](https://ai-powered.com/skills/vercel-cli-with-tokens): Vercel CLI with tokens is a free agent skill for cloud and infrastructure.
- [Build tooling](https://ai-powered.com/skills/build-tooling): Build tooling is an open-source agent skill for developer tools.
- [Vercel deploy](https://ai-powered.com/skills/vercel-deploy): Vercel deploy is a free agent skill for cloud and infrastructure.
- [Vercel optimize](https://ai-powered.com/skills/vercel-optimize): Vercel optimize is an open-source agent skill for cloud and infrastructure.
- [Git workflow and versioning](https://ai-powered.com/skills/git-workflow-and-versioning): Git workflow and versioning is an open-source agent skill for developer tools.
- [Vibe safe deploy](https://ai-powered.com/skills/vibe-safe-deploy): Vibe safe deploy is an open-source agent skill for cloud and infrastructure.
- [Netlify deploy](https://ai-powered.com/skills/netlify-deploy): Netlify deploy is a free agent skill for cloud and infrastructure.

---
Source: https://ai-powered.com/skills/use-vercel-deploy-in-monorepo
