Vercel deploy

From akillness/jeo-skills · View interactive version

Vercel deploy is an AI agent skill from the GitHub repository akillness/jeo-skills. Run Vercel-specific deployment operations for linked web/fullstack projects: preview deploys, direct production deploys, staged deploy + promote flows, aliases/domains, environment-variable sync, and rollback response. Use when the request is specifically about operating a project on Vercel after th

How to use this skill

Skill file

Vercel Deploy

Use this skill when the job is operating a deployment on Vercel specifically, not designing generic rollout policy.

vercel-deploy is the provider-specific front door for:

Read these support docs before choosing the mode:

When to use this skill

When not to use this skill

Instructions

Step 1: Normalize the Vercel job into one packet

Choose exactly one primary mode before reaching for commands.

vercel_packet:
  primary_mode: preview-deploy | production-deploy | promote-preview | alias-domain | env-sync | rollback-response
  project_state: linked | unlinked | unknown
  build_mode: source-build | prebuilt | unknown
  target_environment: preview | production | development | custom | unknown
  url_goal: generated-url | stable-preview-alias | custom-domain | mixed | none
  verification_depth: none | smoke | health-plus-logs | release-checklist

Primary modes:

If the request contains multiple goals, pick the one that owns the first answer and route the rest explicitly.

Step 2: Gather only the minimum truthful evidence

Do not guess from the framework name alone. Confirm the smallest credible set first:

  1. Is the project already linked to Vercel (vercel link, .vercel/project.json, or dashboard evidence)?
  2. Is the target really preview, production, or a custom/development environment?
  3. Is the deploy path source-based or prebuilt?
  4. Does the user care about the generated deployment URL, a stable alias, or a custom domain?
  5. Is this actually a deploy/cutover problem, or an env/config mismatch that still needs redeploy?
  6. What proof is expected: URL only, smoke check, health + logs, DNS verification, or rollback verification?

If one item is unknown, state the assumption instead of pretending the mode is fully known.

Step 3: Use the matching operator path

Do not dump every command at once. Pick the reference packet that matches the mode.

A. `preview-deploy`

Use when the deliverable is a testable preview deployment.

Use packet: references/preview-production-command-packets.md#preview-deploy-packet

B. `production-deploy`

Use when the user explicitly wants a fresh production deployment now.

Use packet: references/preview-production-command-packets.md#direct-production-deploy-packet

C. `promote-preview`

Use when a deployment already exists and the job is to cut over safely.

Use packet: references/preview-production-command-packets.md#staged-production--promote-packet

D. `alias-domain`

Use when the stable URL is the real deliverable.

Use packet: references/env-domain-rollback-troubleshooting.md#aliases-and-domains

E. `env-sync`

Use when preview/prod behavior differs because variables are missing, stale, or scoped incorrectly.

Use packet: references/env-domain-rollback-troubleshooting.md#environment-variables

F. `rollback-response`

Use when production traffic must revert quickly.

Use packet: references/env-domain-rollback-troubleshooting.md#rollback

Step 4: Keep boundaries clean while answering

Use this route-out table whenever the request drifts.

| If the request sounds like... | Use |

|---|---|

| “Design the release gates, canary policy, or rollback strategy across providers” | deployment-automation |

| “Rewrite the GitHub Actions workflow that runs Vercel commands” | deployment-automation |

| “Install Vercel CLI, auth, Node, or link local credentials” | system-environment-setup |

| “The build crashes before deploy succeeds” | debugging or a framework-specific skill |

| “Set up dashboards, alerts, or long-lived post-release monitoring” | monitoring-observability |

| “Inspect, deploy, promote, alias, domain-manage, env-sync, or roll back on Vercel” | vercel-deploy |

Step 5: Mention the legacy claimable deploy helper only if the environment explicitly depends on it

This directory still ships scripts/deploy.sh, a claimable-preview helper that packages a tarball and returns preview/claim URLs. Treat it as a legacy environment-specific shortcut, not the default Vercel operating model.

Use it only when all of these are true:

Otherwise prefer the official Vercel CLI / dashboard model described above.

Output format

Return a mode-specific packet instead of a loose command dump.

Minimum structure:

# Vercel Operation Summary
- Mode:
- Project linked:
- Build mode:
- Target environment:
- URL / deployment:
- Verification performed:
- Remaining risk or manual step:
- Routed-out work (if any):

Examples

Example 1: Preview deploy with stable alias

User asks: “Deploy this Next.js branch to Vercel and give me a stable preview URL.”

Expected move:

Example 2: Promote a verified staged deployment

User asks: “This Vercel build already passed QA. Promote it to production and verify it.”

Expected move:

Example 3: Vercel env vars not showing up in deploys

User asks: “The variable is in Vercel, but the deployment can’t read it.”

Expected move:

Example 4: Route out generic release design

User asks: “Help me design our staging-to-prod rollout policy and canary rules across providers.”

Expected move:

Best practices

  1. Pick one primary Vercel mode before giving commands.
  2. Prefer linked-project, official CLI/dashboard flows over legacy tarball shortcuts.
  3. Treat deploy, promote, alias/domain, env repair, and rollback as distinct operator packets.
  4. Always distinguish generated deployment URLs, stable preview aliases, and custom domains.
  5. Remember that env-var changes only affect new deployments.
  6. Do not oversell vercel promote or rollback as lossless; call out scope/domain/plan/config caveats.
  7. Route generic rollout design back to deployment-automation to avoid overlap.

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.