Vercel Deploy
Purpose: One-click deployment to Vercel with transferable ownership.
Source: Adapted from vercel-labs/agent-skills
When to Activate
This skill activates when:
- •User explicitly requests deployment
- •Build has passed Ralph QA (PASS verdict)
Trigger phrases:
- •"Deploy my app"
- •"Deploy to Vercel"
- •"Push this live"
- •"Deploy to production"
How to Use This Skill
- •Verify Ralph PASS: Ensure build has passed Ralph Polish Loop
- •Run Deploy Script: Execute
scripts/deploy.shfrom build directory - •Return URLs: Provide preview URL and claim URL to user
Prerequisites
Before deploying:
- • Ralph final verdict is PASS
- •
npm run buildcompletes without errors - • No
.envfile with secrets (use.env.example) - •
vercel.jsonexists with deployment config
Deployment Process
Step 1: Verify Build
bash
cd dapp-builds/<app-slug> npm run build
Step 2: Run Deploy Script
bash
bash ../../skills/vercel-deploy/scripts/deploy.sh
Step 3: Parse Output
The script outputs JSON:
json
{
"deploymentId": "dpl_...",
"projectId": "prj_...",
"previewUrl": "https://app-name-abc123.vercel.app",
"claimUrl": "https://vercel.com/claim-deployment?code=..."
}
Step 4: Return to User
Provide both URLs:
code
Deployment successful! Preview URL: https://app-name-abc123.vercel.app Claim URL: https://vercel.com/claim-deployment?code=... The preview URL is live now. Use the claim URL to transfer this deployment to your own Vercel account.
Framework Detection
The deploy script auto-detects framework from package.json:
| Detected Dependency | Framework |
|---|---|
next | Next.js |
nuxt | Nuxt |
@sveltejs/kit | SvelteKit |
astro | Astro |
remix | Remix |
vite | Vite |
| (none) | Static HTML |
Error Handling
Build Failures
If deployment fails due to build errors:
code
Deployment failed. Please verify: 1. npm run build completes locally 2. All environment variables are documented in .env.example 3. No hardcoded localhost URLs in code
Network Errors
If deployment fails due to network:
code
Deployment failed due to network error. Please try again or deploy manually via Vercel CLI.
Files
- •
SKILL.md- This file (usage instructions) - •
scripts/deploy.sh- Deployment script
Security Notes
- •Never include
.envfiles in deployments - •All secrets should be documented in
.env.example - •User must configure production secrets in Vercel dashboard after claiming
Version
- •1.0 (2026-01-15): Initial release