beta

Vercel Deploy Workflow

Skills

Step-by-step deployment skill for Vercel with environment variable management and preview deployments.

1703/23/2026
markdown1 file
SKILL.md810 B

Vercel Deploy Workflow

Invoke with: /deploy

Pre-deploy Checklist

  1. Run pnpm build locally — fix any build errors
  2. Run pnpm lint — no warnings allowed
  3. Run pnpm test — all tests pass
  4. Check .env.example is up to date with any new variables
  5. Update CHANGELOG.md if applicable

Deploy Steps

  1. Push to main branch for production deploy
  2. Push to feature branch for preview deploy
  3. Monitor the Vercel dashboard for build status
  4. Test the preview URL before merging

Environment Variables

  • Never commit .env.local
  • Add new env vars in Vercel dashboard before deploying code that uses them
  • Use NEXT_PUBLIC_ prefix for client-side variables

Rollback

  • If production breaks: Vercel dashboard → Deployments → Promote previous deployment
  • Or: vercel rollback via CLI