Vercel deploy

From seaworld008/Commonly-used-high-value-skills · View interactive version

Vercel deploy is an AI agent skill from the GitHub repository seaworld008/Commonly-used-high-value-skills. Use when creating Vercel preview or production deployments for projects explicitly targeting Vercel or already bound to Vercel.

How to use this skill

Skill file

Vercel Deploy

Use the selected Vercel account, project and team. Default to a preview unless production is explicitly requested.

Prerequisites

Quick Start

  1. Check whether the Vercel CLI is installed (no escalation for this check):
command -v vercel
  1. Verify the CLI identity and project/team binding match the requested target, then run the preview deploy:
vercel deploy [path] -y

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

  1. If the CLI or credentials are missing, report what is needed for the selected account.

Optional claimable deployment

The bundled script posts to https://codex-deploy-skills.vercel.sh/api/deploy. It returns a claim link for subsequent ownership. Use this service only when the user selects that recipient and claim flow. It does not use the CLI's selected project/team binding.

Directory mode excludes node_modules, .git, .env and .env.* and packages the staged files. A supplied .tgz is sent as supplied. Review the exact contents, including hidden files and credentials, and confirm the upload scope before sending. Prefer a reviewed archive to make the approved contents reproducible.

bash "$skill_dir/scripts/deploy.sh" /path/to/reviewed-project.tgz

A returned previewUrl and claimUrl establish submission. The script may print "ready" for 4xx or return URLs after polling times out. Report build status from the platform and runtime status from an authorized application check.

Production Deploys

Only if user explicitly asks:

vercel deploy [path] --prod -y

Output

Return the deployment URL and, for a claimable deployment, the claim URL to the requester. When acceptance includes runtime verification, check the expected response and report the observed status, including access errors or timeout.

Troubleshooting

Network failures

Check the CLI error and platform status to distinguish authentication, DNS, service availability and host permission failures. For a confirmed permission denial, use the host approval mechanism only if available and permitted. If networking is unavailable, deliver the prepared artifacts and record which deployment checks are pending.

Pre-deploy Checklist

Before deploying:

Post-deploy Response

Return the deployment URL, whether it is preview or production, and any claim/manage URL produced by the fallback script. If the deploy command succeeds but runtime verification was not performed, say so directly. If verification is requested, use a normal browser or HTTP check only after the deployment URL is available.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.