Deploy to Vercel, Vercel Labs

Deploys a project to Vercel as a preview, choosing git push, CLI deploy, linking first or a temporary deploy without an account by the project's state, and returns the URL. Use when asked to deploy an app and get a link.

DevOpsPack: Vercel skillslinkdeploy-to-vercel
Author
Source
vercel-labs/agent-skills/skills/deploy-to-vercel @ 1a2c79d
License
none stated

About this skill

What it does

The skill deploys a project to Vercel and returns the URL. Its rule is a preview unless you explicitly ask for production, but on the push route Vercel deploys the production branch (usually main) to production. It aims to leave the project linked, deploying on every git push.

First come four checks: a git remote, .vercel/project.json or .vercel/repo.json, vercel whoami, vercel teams list. With several teams the agent asks once and passes --scope from then on. The route follows from the state:

  • Linked with a remote: it asks before pushing, commits with git add ., pushes, and finds the preview URL with vercel ls.
  • Linked, no remote: vercel deploy -y --no-wait, then vercel inspect.
  • Not linked, logged in: vercel link --repo when a remote exists (it matches by remote, not folder name), then deploy.
  • Not linked, not logged in: npm install -g vercel if the CLI is missing, vercel login in the browser, link, deploy.
  • No login possible, as in a sandbox: npx vercel@latest deploy --temporary -y without an account, which prints a temporary production URL, a claim URL and the expiry (not in CI or a linked folder).

It never probes an unlinked folder with vercel link or vercel ls, which can link it silently, and never fetches the deployed URL. The skill is one SKILL.md.

When to use it, and when not

Use it for "deploy this and give me a link": a preview to share or a project's first deploy.

The push route stages everything with git add ., so check the working tree and which branch you are on first. After you pick a team, the agent links the folder and creates a Vercel project without asking again.

How to run it

We do not copy this skill: it names no licence and the repository ships no licence text. Install it from Vercel's repository with the button to the source; the README's installer is npx skills add vercel-labs/agent-skills, and --skill deploy-to-vercel takes only this one.

  • Claude Code: /deploy-to-vercel, or ask for the skill by name.
  • Codex: $deploy-to-vercel.
  • Cursor: type / in the Agent chat and pick deploy-to-vercel.

Example: /deploy-to-vercel Deploy this branch as a preview and give me the link.

How it differs from similar skills

OpenAI's Deploy to Vercel has a word-for-word identical description and a shorter flow: vercel deploy -y, or without a login a bundled deploy.sh that uploads a tarball. Both can be installed, but the agent cannot tell them apart; keep one. Vercel CLI with tokens works from an access token and also manages env vars and domains. Deploy to Netlify, Deploy to Render and Web frameworks on Cloudflare Workers target other hosts.

Install

This skill is not copied to the catalog: the author's repository has no licence text. Install it from there.

Open the source

Connect through AnyModel API

This skill runs on whatever model your agent uses. Point Claude Code, Codex or Cursor at AnyModel to run it on Claude, GPT, Gemini and more with one key — pay per token, no subscription.

More from the pack Vercel skills

React and Next.js performance rules

Gives the agent Vercel's 70 React and Next.js performance rules, ranked by impact: request waterfalls, bundle size, server work, re-renders, rendering. Use when writing, refactoring or reviewing React or Next.js code for speed.

React composition patterns

Applies eight Vercel rules that replace boolean props with compound components, provider-held state and explicit variants, plus React 19 ref and use() changes. Use when a component has too many flags or when designing a component library.

React Native best practices

Applies Vercel's React Native and Expo rules: virtualized lists, transform and opacity animations, native navigators, expo-image, state, monorepo setup. Use when building or speeding up a mobile app or reviewing React Native code.

React view transitions

Implements animations with React's View Transition API: shared element morphs, Suspense reveals, list reorder and directional route slides, with CSS recipes and Next.js integration. Use when adding page or state transitions to a React or Next.js app.

Vercel CLI with tokens

Runs the Vercel CLI from an access token instead of a browser login: finds the token, deploys previews, manages env vars, logs and domains, keeps the token out of command flags. Use when working with Vercel from a non-interactive shell.

Vercel cost and performance tuning

Audits a deployed Vercel project for cost and performance: collects metrics first, picks candidates by fixed thresholds, inspects only flagged routes and returns verified, cited recommendations. Use when cutting a Vercel bill or fixing slow routes.

Web Interface Guidelines review

Reviews UI code against Vercel's Web Interface Guidelines, fetched fresh on each run, and lists findings as file:line: accessibility, focus, forms, animation, typography, images, performance. Use when checking components or pages before a pull request.

Writing Guidelines review

Reviews docs and prose against Vercel's writing handbook, fetched fresh on each run, and lists findings as file:line: voice, structure, headings, code samples, units, typography. Use when checking English docs before publishing.