vanman2024/dev-lifecycle-marketplace/vercel-deployment
Claude Code and agent skill by vanman2024/dev-lifecycle-marketplace
- community
Checking that the SKILL.md file is still in the repository.
Vercel deployment using Vercel CLI for Next.js, React, Vue, static sites, and serverless functions. Includes project validation, deployment orchestration, environment management, domain configuration, and analytics integration. Use when deploying frontend applications, static sites, or serverless APIs, or when user mentions Vercel, Next.js deployment, serverless functions, or edge network.
Install
npx vskill@latest install vanman2024/dev-lifecycle-marketplace/vercel-deploymentSKILL.md
Vercel Deployment Skill
This skill provides comprehensive deployment lifecycle management for applications deployed to Vercel using the Vercel CLI.
Overview
The deployment lifecycle consists of five phases:
- Pre-Deployment Validation - Application readiness, framework detection, build validation
- Project Configuration - vercel.json generation, build settings, environment variables
- Deployment - Deploy to preview or production, manage builds
- Domain & Environment Management - Custom domains, environment variables, aliases
- Post-Deployment Verification - Health checks, deployment status, analytics
Supported Application Types
- Next.js: App Router, Pages Router, API Routes, Middleware
- React: Create React App, Vite, custom builds
- Vue: Vue 3, Nuxt, Vite
- Static Sites: HTML/CSS/JS, Gatsby, Astro, Hugo, Jekyll
- Serverless Functions: Node.js, Python, Go, Ruby serverless APIs
- Monorepos: Turborepo, Nx, pnpm workspaces
Available Scripts
1. Application Validation
Script: scripts/validate-app.sh <app-path>
Purpose: Validates application is ready for Vercel deployment
Checks:
- Framework detection (Next.js, React, Vue, static)
- package.json or build configuration present
- Build command specified or detectable
- Output directory configured
- No hardcoded secrets in code
- Environment configuration present
- Node.js version compatibility
Usage:
Exit Codes:
0: Validation passed1: Validation failed (must fix before deployment)
2. Deploy to Vercel
Script: scripts/deploy-to-vercel.sh <app-path> [environment]
Purpose: Deploys application to Vercel
Actions:
- Validates Vercel CLI authentication
- Detects project framework and settings
- Links project to Vercel (if first deployment)
- Builds and deploys application
- Configures environment variables
- Captures deployment URL
- Monitors deployment status
Usage:
Environment Variables:
VERCEL_TOKEN: Vercel authentication tokenVERCEL_ORG_ID: Organization ID (for team projects)VERCEL_PROJECT_ID: Project ID (for existing projects)PROJECT_NAME: Custom project nameBUILD_CMD: Custom build commandOUTPUT_DIR: Custom output directoryWAIT: Set totrueto wait for deployment completionPROD: Set totruefor production deployment
Exit Codes:
0: Deployment successful1: Deployment failed
3. Update Environment Variables
Script: scripts/update-env-vars.sh <project-name> <environment>
Purpose: Updates environment variables for Vercel project
Actions:
- Retrieves current environment variables
- Prompts for updated variables
- Supports development, preview, production scopes
- Triggers redeployment if needed
- Verifies variables applied
Usage:
Exit Codes:
0: Environment variables updated successfully1: Update failed
4. Configure Domain
Script: scripts/configure-domain.sh <project-name> <domain>
Purpose: Configures custom domain for Vercel project
Actions:
- Adds domain to Vercel project
- Configures SSL/TLS certificate (automatic)
- Sets up DNS records
- Configures redirects (www, apex)
- Verifies domain is accessible
Usage:
Exit Codes:
0: Domain configured successfully1: Configuration failed
5. Manage Deployments
Script: scripts/manage-deployment.sh <action> <project-name>
Purpose: Manage Vercel deployments and project
Actions:
list: List recent deploymentsinspect: Show deployment detailslogs: View deployment logsrollback: Rollback to previous deploymentpromote: Promote preview to productionremove: Remove deploymentalias: Manage aliases
Usage:
6. Health Check
Script: scripts/health-check.sh <deployment-url>
Purpose: Validates Vercel deployment health
Checks:
- Deployment status (ready/building/error)
- HTTP endpoint accessibility
- SSL certificate validity
- Build logs for errors
- Performance metrics
- Edge network propagation
- DNS resolution
Usage:
Exit Codes:
0: All health checks passed1: One or more health checks failed
7. Project Setup
Script: scripts/setup-project.sh <app-path> <project-name>
Purpose: Initialize Vercel project configuration
Actions:
- Creates vercel.json configuration
- Links project to Vercel
- Sets up environment variables
- Configures build settings
- Sets up Git integration
Usage:
Available Templates
1. Next.js Configuration
File: templates/vercel-nextjs.json
Purpose: vercel.json for Next.js applications
Example:
2. React/Vite Configuration
File: templates/vercel-react.json
Purpose: vercel.json for React applications
Example:
3. Static Site Configuration
File: templates/vercel-static.json
Purpose: vercel.json for static sites
Example:
4. Serverless Functions Configuration
File: templates/vercel-serverless.json
Purpose: vercel.json for serverless API
Example:
5. Environment Variables Template
File: templates/.env.example
Purpose: Environment variable template
Example:
Deployment Workflow
Initial Deployment
- Validate Application:
``bash ./scripts/validate-app.sh /path/to/app ``
- Setup Project:
``bash ./scripts/setup-project.sh /path/to/app my-app ``
- Deploy to Preview:
``bash ./scripts/deploy-to-vercel.sh /path/to/app ``
- Verify Deployment:
``bash ./scripts/health-check.sh https://my-app-preview.vercel.app ``
- Deploy to Production:
``bash ./scripts/deploy-to-vercel.sh /path/to/app production ``
Update Deployment
- Deploy Updates:
``bash ./scripts/deploy-to-vercel.sh /path/to/app production ``
- Verify Health:
``bash ./scripts/health-check.sh https://my-app.com ``
Update Environment Variables
- Update Variables:
``bash ./scripts/update-env-vars.sh my-app production ``
- Redeploy (automatic after env var changes)
Configure Custom Domain
- Add Domain:
``bash ./scripts/configure-domain.sh my-app myapp.com ``
- Update DNS (follow Vercel instructions)
- Verify Domain:
``bash ./scripts/health-check.sh https://myapp.com ``
Security Best Practices
- Never Hardcode Secrets: Always use environment variables
- Use Vercel Secrets: Encrypt sensitive values with
vercel secrets add - Scope Variables: Use appropriate target (development, preview, production)
- Prefix Public Variables: Use
NEXT_PUBLIC_for browser-exposed variables - Rotate Secrets: Regularly update API keys and tokens
- Enable Protection: Use Vercel's deployment protection features
- Monitor Logs: Regularly check deployment and runtime logs
- Use Teams: Manage access with Vercel teams for collaboration
Framework-Specific Features
Next.js
- App Router: Full support for Next.js 13+ App Router
- API Routes: Serverless API endpoints
- Middleware: Edge middleware support
- ISR: Incremental Static Regeneration
- Image Optimization: Automatic image optimization
- Font Optimization: Automatic font optimization
React/Vite
- SPA Mode: Single Page Application routing
- API Proxying: Proxy API requests to avoid CORS
- Code Splitting: Automatic code splitting
- Fast Refresh: Hot module replacement
Static Sites
- CDN: Global edge network
- Asset Optimization: Automatic compression
- Headers: Custom header configuration
- Redirects: URL redirect management
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/deployment/skills/vercel-deployment/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 3
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/vanman2024/dev-lifecycle-marketplace/vercel-deployment)