vercel-deploy
Vercel Deployment Skill
Goal: Seamlessly deploy any frontend/full-stack application to Vercel global edge network.
1. Prerequisites
- CLI:
vercel(Install vianpm i -g vercel) - Auth: User must be logged in (
vercel login) or provideVERCEL_TOKEN.
2. Deployment Workflow
-
Detection:
- Scanner checks
package.jsonfor frameworks (Next.js, Vite, Remix, Astro). - Identifies build command (
npm run build) and output directory (distor.next).
- Scanner checks
-
Configuration:
- Generates
vercel.jsonif custom headers/rewrites are needed. - Sets project settings (Root Directory, Framework Preset).
- Generates
-
Execution:
- Preview:
vercel --no-prod(For testing feature branches). - Production:
vercel --prod(For live release).
- Preview:
-
Verification:
- Checks deployment status via
vercel inspect <url>. - Returns the Claimable URL for the user.
- Checks deployment status via
3. Environment Variables
- Auto-Sync: Pulls
.envfrom Vercel Project Settings (vercel env pull). - Push: Pushes local
.envto Vercel (Interactive confirmation required).
4. Troubleshooting common errors
- Build Fail: Usually due to strict type checking or linting in CI. Suggest
ignoreBuildErrors: trueONLY for hotfixes. - Missing Secrets: Check if
VERCEL_TOKENis active in CI/CD environment.
Command Reference:
vercel link: Link local folder to remote project.vercel deploy: Deploy preview.vercel deploy --prod: Deploy production.
More from dokhacgiakhoa/antigravity-ide
ui-ux-pro-max-skill
Premium design and micro-interactions toolkit.
89notion-mcp
Official Notion Model Context Protocol Server for workspace interaction.
33filesystem-mcp
Official Filesystem Model Context Protocol Server for local file operations.
24puppeteer-mcp
Official Puppeteer Model Context Protocol Server for browser automation.
15postgres-mcp
Official PostgreSQL Model Context Protocol Server for database interaction.
14ui-ux-pro-max
UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.
13