# Vercel Deploy

> Create and push new Vercel deployments. Use when the user wants to deploy, ship, go live, or create a preview — e.g. "deploy my app", "push this live", "ship it".

- Skill: `davisbuilds/vercel-deploy` (Agent Skill, multi-file: 7 files)
- Install (CLI): `npx skillmds@latest add davisbuilds/vercel-deploy`
- Raw SKILL.md: https://api.skillmd.com/api/skills/davisbuilds/vercel-deploy/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: davisbuilds (https://skillmd.com/u/davisbuilds)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/davisbuilds/vercel-deploy

---


# Vercel Deploy

Deploy any project to Vercel instantly. **Always deploy as preview** (not production) unless the user explicitly asks for production.

## Prerequisites

- When sandboxing blocks the deployment network calls, rerun with `sandbox_permissions=require_escalated`.
- The deployment might take a few minutes. Use appropriate timeout values.

## Quick Start

**Just run this (with a 10 minute timeout):**
```bash
vercel deploy [path] -y
```

**Important:** Use a 10 minute (600000ms) timeout for the deploy command since builds can take a while.

If that fails with "No existing credentials found", use the fallback method below.

## Fallback (No Auth)

If CLI fails with auth error, use the deploy script:

```bash
# Deploy current directory
bash scripts/deploy.sh

# Deploy specific project
bash scripts/deploy.sh /path/to/project

# Deploy existing tarball
bash scripts/deploy.sh /path/to/project.tgz
```

The script handles framework detection, packaging, and deployment. It waits for the build to complete and returns JSON with `previewUrl` and `claimUrl`.

**Tell the user:** "Your deployment is ready at [previewUrl]. Claim it at [claimUrl] to manage your deployment."

## Production Deploys

Only if user explicitly asks:
```bash
vercel deploy [path] --prod -y
```

## Output

Show the user the deployment URL. For fallback deployments, also show the claim URL.

**Do not** curl or fetch the deployed URL to verify it works. Just return the link.

## Boundaries

- Default to preview deploys; do not deploy to production unless explicitly requested.
- Do not expose tokens, credentials, or environment secrets in output.
- Do not run destructive project changes as part of deployment troubleshooting.

## Troubleshooting

### Escalated Network Access

If deployment fails due to network issues (timeouts, DNS errors, connection resets), rerun the deploy with escalated permissions (use `sandbox_permissions=require_escalated`). The deploy requires escalated network access when sandbox networking blocks outbound requests.

Example guidance to the user:

```
The deploy needs escalated network access to deploy to Vercel. I can rerun the command with escalated permissions—want me to proceed?
```

## Verification

Before reporting success:
- confirm CLI returned a deployment URL
- confirm command exit status was successful
- include preview URL (and claim URL when present)

## Sibling skills

Vercel/React stack — this skill is the *deploy* action.

- `vercel-preview-logs` — paired diagnose action. Use after a failed deploy or to inspect runtime logs of a preview created here.
- `nextjs-app-router`, `vercel-react-best-practices`, `vercel-composition-patterns` — parallel `reference` skills consulted before/during the build that produces the deploy artifact.

