Deploy applications and websites to Vercel. Use this skill when the user requests deployment actions such as "Deploy my app", "Deploy this to production", "Create a preview deployment", "Deploy and give me the link", or "Push this live". No authentication required - returns preview URL and claimable deployment link.
Add this skill
npx mdskills install vercel-labs/vercel-deploy-claimableProvides clear deployment instructions with framework detection and helpful troubleshooting
1---2name: vercel-deploy3description: Deploy applications and websites to Vercel. Use this skill when the user requests deployment actions such as "Deploy my app", "Deploy this to production", "Create a preview deployment", "Deploy and give me the link", or "Push this live". No authentication required - returns preview URL and claimable deployment link.4metadata:5 author: vercel6 version: "1.0.0"7---89# Vercel Deploy1011Deploy any project to Vercel instantly. No authentication required.1213## How It Works14151. Packages your project into a tarball (excludes `node_modules` and `.git`)162. Auto-detects framework from `package.json`173. Uploads to deployment service184. Returns **Preview URL** (live site) and **Claim URL** (transfer to your Vercel account)1920## Usage2122```bash23bash /mnt/skills/user/vercel-deploy/scripts/deploy.sh [path]24```2526**Arguments:**27- `path` - Directory to deploy, or a `.tgz` file (defaults to current directory)2829**Examples:**3031```bash32# Deploy current directory33bash /mnt/skills/user/vercel-deploy/scripts/deploy.sh3435# Deploy specific project36bash /mnt/skills/user/vercel-deploy/scripts/deploy.sh /path/to/project3738# Deploy existing tarball39bash /mnt/skills/user/vercel-deploy/scripts/deploy.sh /path/to/project.tgz40```4142## Output4344```45Preparing deployment...46Detected framework: nextjs47Creating deployment package...48Deploying...49✓ Deployment successful!5051Preview URL: https://skill-deploy-abc123.vercel.app52Claim URL: https://vercel.com/claim-deployment?code=...53```5455The script also outputs JSON to stdout for programmatic use:5657```json58{59 "previewUrl": "https://skill-deploy-abc123.vercel.app",60 "claimUrl": "https://vercel.com/claim-deployment?code=...",61 "deploymentId": "dpl_...",62 "projectId": "prj_..."63}64```6566## Framework Detection6768The script auto-detects frameworks from `package.json`. Supported frameworks include:6970- **React**: Next.js, Gatsby, Create React App, Remix, React Router71- **Vue**: Nuxt, Vitepress, Vuepress, Gridsome72- **Svelte**: SvelteKit, Svelte, Sapper73- **Other Frontend**: Astro, Solid Start, Angular, Ember, Preact, Docusaurus74- **Backend**: Express, Hono, Fastify, NestJS, Elysia, h3, Nitro75- **Build Tools**: Vite, Parcel76- **And more**: Blitz, Hydrogen, RedwoodJS, Storybook, Sanity, etc.7778For static HTML projects (no `package.json`), framework is set to `null`.7980## Static HTML Projects8182For projects without a `package.json`:83- If there's a single `.html` file not named `index.html`, it gets renamed automatically84- This ensures the page is served at the root URL (`/`)8586## Present Results to User8788Always show both URLs:8990```91✓ Deployment successful!9293Preview URL: https://skill-deploy-abc123.vercel.app94Claim URL: https://vercel.com/claim-deployment?code=...9596View your site at the Preview URL.97To transfer this deployment to your Vercel account, visit the Claim URL.98```99100## Troubleshooting101102### Network Egress Error103104If deployment fails due to network restrictions (common on claude.ai), tell the user:105106```107Deployment failed due to network restrictions. To fix this:1081091. Go to https://claude.ai/settings/capabilities1102. Add *.vercel.com to the allowed domains1113. Try deploying again112```113
Full transparency — inspect the skill content before installing.