Preview first, prod on request

Deploy as preview unless the user explicitly asks for production.

From deploy-to-vercel, SKILL.md “Deploy to Vercel”.

Same request, two agents

Pick what the user said, then press Deploy.

Always productionBad
vercel deploy --prod
Preview unless askedGood
vercel deploy--prod only when asked

# Default: a preview deployment
vercel deploy [path] -y --no-wait

# Only when the user explicitly asks for production
vercel deploy [path] --prod -y --no-wait

Why it matters, pros and cons

Why it matters

A preview gets its own URL and leaves the live domain alone. Shipping to production is the user's call.

Pros

  • Live traffic never sees an unreviewed build.
  • Every change gets a URL to check and share.
  • Going live later is one explicit step.

Cons

  • One more step when they did want it live.
  • A push to the production branch still goes live.
  • Previews may sit behind Deployment Protection.