deploy-to-vercel

Deploy projects to Vercel via CLI, git push, or claimable no-auth endpoints.

2|1|Updated Apr 17, 2025
One-click install
npx skills add https://github.com/abraham-yusuf/pernikahan-web --skill deploy-to-vercel-abraham-yusuf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deploy-to-vercel
Source: https://github.com/abraham-yusuf/pernikahan-web/tree/main/.agents/skills/deploy-to-vercel
Command: npx skills add https://github.com/abraham-yusuf/pernikahan-web --skill deploy-to-vercel-abraham-yusuf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Getting a local project live on Vercel involves many branching paths: checking git remotes, verifying CLI authentication, linking projects to teams, and handling sandboxed environments without credentials. This Skill automates that decision flow so any project reaches a live preview URL regardless of environment constraints. ## Core Features & Use Cases - State-aware deployment routing: Detects git remotes, Vercel project links (.vercel/project.json or repo.json), and CLI auth status to pick the right deploy method. - Multiple deploy methods: Git push for linked repos, vercel deploy CLI for unlinked projects, and no-auth fallback scripts that return preview and claim URLs. - Framework auto-detection: Bundled shell scripts detect Next.js, Astro, SvelteKit, Nuxt, Remix, and dozens of other frameworks from package.json before packaging. - Use Case: A user in a sandboxed AI environment asks to deploy their Next.js app. The Skill detects no CLI auth, runs the fallback deploy script, and returns a live preview URL plus a claim URL to transfer ownership. ## Quick Start Deploy my project to Vercel and give me the preview link.

Frequently Asked Questions about deploy-to-vercel

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy my app to Vercel from the command line?

Run vercel deploy with the -y and --no-wait flags to deploy without interactive prompts and return the URL immediately. If the project is linked to a git remote, committing and pushing triggers an automatic Vercel build instead.

How do I deploy to Vercel without logging in?

Use the bundled deploy.sh or deploy-codex.sh fallback script, which packages the project and uploads it to a claimable deploy endpoint. It returns a preview URL for the live site and a claim URL to transfer the deployment to your Vercel account.

Does Vercel deployment work in sandboxed environments like claude.ai or Codex?

Yes, via the no-auth fallback scripts that require no Vercel credentials. In Codex, check CLI availability first and escalate network permissions only for the actual deploy command if sandboxing blocks the request.

How does the deploy script detect which framework my project uses?

The script reads package.json and matches dependencies against an ordered list of frameworks, checking specific ones like Next.js, Remix, and Astro before generic ones like Vite. Static HTML projects without package.json are deployed as-is.

Why does my Vercel deployment fail with network errors in a sandbox?

Sandboxed environments often block outbound requests to vercel.com domains. On claude.ai, add *.vercel.com to allowed domains in capability settings; in Codex, rerun the deploy command with escalated network permissions.