编程

vercel-deploy

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

它能做什么

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

技能文档

Vercel Deploy

Deploy any project to Vercel instantly. Always deploy as preview (not production) unless the user explicitly asks for production.

Prerequisites

  • Check whether the Vercel CLI is installed without escalated permissions (for example, command -v vercel).
  • Only escalate the actual deploy command if sandboxing blocks the deployment network calls (sandbox_permissions=require_escalated).
  • The deployment might take a few minutes. Use appropriate timeout values.

Quick Start

  1. Check whether the Vercel CLI is installed (no escalation for this check):
command -v vercel
  1. If vercel is installed, run this (with a 10 minute timeout):
vercel deploy [path] -y

Important: Use a 10 minute (600000ms) timeout for the deploy command since builds can take a while.

  1. If vercel is not installed, or if the CLI fails with "No existing credentials found", use the fallback method below.

Fallback (No Auth)

If CLI fails with auth error, use the deploy script:

skill_dir=""

# Deploy current directory
bash "$skill_dir/scripts/deploy.sh"

# Deploy specific project
bash "$skill_dir/scripts/deploy.sh" /path/to/project

# Deploy existing tarball
bash "$skill_dir/scripts/deploy.sh" /path/to/project.tgz

The script handles framework detection, packaging, and deployment. It waits for the build to complete and returns JSON with previewUrl and claimUrl.

Tell the user: "Your deployment is ready at [previewUrl]. Claim it at [claimUrl] to manage your deployment."

Production Deploys

Only if user explicitly asks:

vercel deploy [path] --prod -y

Output

Show the user the deployment URL. For fallback deployments, also show the claim URL.

Do not curl or fetch the deployed URL to verify it works. Just return the link.

Troubleshooting

Escalated Network Access

If deployment fails due to network issues (timeouts, DNS errors, connection resets), rerun the actual deploy command with escalated permissions (use sandbox_permissions=require_escalated). Do not escalate the command -v vercel installation check. The deploy requires escalated network access when sandbox networking blocks outbound requests.

Example guidance to the user:

The deploy needs escalated network access to deploy to Vercel. I can rerun the command with escalated permissions—want me to proceed?

相关技能

按用户明确指令,在得到大脑(Get笔记)中保存、搜索并管理笔记与知识库。

755 次安装66 星标

以系统方式规划并执行自学:从出口测试倒推课程,加入间隔复习与刻意练习,产出可验证的迁移证据。

作者 Iván93 次安装3 星标

自适应教学:先探测基础再讲解,每次只讲一个概念,讲完立刻检查记忆。

270 次安装8 星标

用 Binance 价格动量作为信号,通过 Simmer SDK 在 Polymarket 上交易 5 分钟/15 分钟 BTC 闪盘。

262 次安装50 星标

从 Gmail 邮件中提取日程事件,经过你确认后写入 Google Calendar。

236 次安装5 星标

产出可正确运行的 Bash 脚本:引用、严格模式、trap 清理与跨平台兼容默认就位。

153 次安装3 星标

OpenAI 的更多技能

浏览全部技能

按文档优先的工作流搭建 ChatGPT Apps SDK 项目,含原型分类、工具规划、MCP 服务端与组件脚手架。

作者 OpenAI24.8k 星标

基于设计系统组件、变量和样式,在 Figma 中新建或更新整页屏幕。

作者 OpenAI24.8k 星标

按阶段规划并构建与代码一致的 Figma 设计系统,支持检查点、验证和断点续作。

作者 OpenAI24.8k 星标

figma-use

官方

在 Figma 文件的 Plugin API 运行时中执行 JavaScript,用于创建、修改和读取节点与变量。

作者 OpenAI24.8k 星标

hatch-pet

官方

从概念、品牌线索或参考图生成 Codex 兼容的 8x9 动画宠物图集

作者 OpenAI24.8k 星标

imagegen

官方

通过内置图像工具生成或编辑项目所需的位图素材,仅在用户明确要求时切换到 CLI 回退路径。

作者 OpenAI24.8k 星标