openai/skills

vercel-deploy

先确认项目和登录状态,再部署 Vercel 预览

  • SKILL.md 已保存
  • 中文用法已整理
  • 安装与运行未实测
先判断是否解决你的问题

vercel-deploy 是什么?

把本地应用部署到Vercel,默认创建预览。先使用已安装且已认证的CLI;没有CLI或缺凭证时,按这份源版本使用附带deploy.sh做打包部署,并分别返回访问与认领链接。

中文说明由本站依据来源整理;英文原文保留在页面下方。

适合用在

  • 用户明确要求把当前应用部署到 Vercel、创建预览并返回部署链接,或在请求中明确要求生产发布。

这些情况不适合

  • 没有用户生产发布要求却直接部署生产;来源默认创建预览,并将生产部署作为单独目标。
按客户端选择安装入口

怎么接入你的 Agent?

  1. 定位完整 Skill 目录

    打开本项目来源,核对 SKILL.md 及其引用的脚本和资料。

  2. 交给你正在用的 Agent

    在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。

  3. 确认识别,再做具体任务

    让 Agent 回报安装目录和识别到的名称 vercel-deploy,然后按本页使用示例提供材料。

展开并复制给 Codex 的安装指令
发送给 Codex

安装并检查 vercel-deploy

请在 Codex 的当前工作环境中安装并检查 vercel-deploy 这个 Skill。

项目身份:openai/skills / vercel-deploy
来源:https://github.com/openai/skills/blob/49f948faa9258a0c61caceaf225e179651397431/skills/.curated/vercel-deploy/SKILL.md
已定位的源文件:skills/.curated/vercel-deploy/SKILL.md

1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。
准备输入,再按步骤执行

装好以后,具体怎么用?

准备哪些材料

  • 指定实际项目目录与部署目标,保留scripts/deploy.sh及项目构建所需文件和配置。普通CLI路线需要Vercel访问身份。

会得到什么

  • 部署访问URL;附带脚本路线另有认领URL和实际构建返回状态。

实际使用顺序

  1. 检查Vercel CLI是否存在;有可用身份时运行vercel deploy指向项目路径,允许构建有足够完成时间。
  2. 缺CLI或出现No existing credentials found时,使用完整Skill目录中的deploy.sh,读取实际JSON返回previewUrl和claimUrl。
  3. 只在明确要求生产时用--prod;回报真实部署状态和链接,不把来源禁止的curl/fetch检查写成该流程已完成。
使用示例

从一个具体任务开始

本站根据源文件编写的使用示例,未在本站实际运行。示例中的文件由你提供。

安装并识别 Skill 后发送

复制一个具体任务

教学示例:用openai/skills这份vercel-deploy部署./demo-web为预览。先确认目录、CLI和凭证;需要附带deploy.sh时读取脚本实际输出。不要用--prod,访问URL与认领URL分别说明,不把拿到链接当业务功能已验收。
预期结果

预期返回真实预览部署结果,未执行的公网交互检查保持未验证;本例未运行。

使用前先看这些限制

使用条件与边界

  • 这份源与vercel-labs的deploy-to-vercel是不同文件,后备部署机制和参数不能互相混用。
  • 认领链接不是公开访问地址,应单独保管;平台行为与可用性以实际执行结果为准。
针对这个 Skill 的疑问

常见问题

默认会覆盖生产网站吗?

来源默认预览,只有明确要求生产才加入--prod。仍需先核对真实项目关联,不能把默认规则当所有配置都已安全确认。

需要核对时再展开原文

来源原文与资料状态

源文件
已保存 SKILL.md,抓取于 2026-11-16T12:36:35.145Z
中文使用说明
已针对下方源文件版本整理用途、用法和常见问题
安装与任务测试
本站未执行安装或任务测试
来源复核
本页中文用法已对照保存版本的完整 SKILL.md 阅读整理
展开 SKILL.md 原文、章节与历史收录资料

skills/.curated/vercel-deploy/SKILL.md · 抓取时间 2026-11-16T12:36:35.145Z

以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。

抓取成功不代表已完成安装或任务测试。

来源 description(原文)

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".

查看源文件章节 / Source sections
  • 原文:Vercel Deploy
  • 前置条件 / Prerequisites
  • 快速开始 / Quick Start
  • 原文:Fallback (No Auth)
  • 原文:Production Deploys
  • 原文:Output
  • 故障排查 / Troubleshooting
  • 原文:Escalated Network Access
原文: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): ```bash command -v vercel ``` 2. If `vercel` is installed, run this (with a 10 minute timeout): ```bash vercel deploy [path] -y ``` **Important:** Use a 10 minute (600000ms) timeout for the deploy command since builds can take a while. 3. 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: ```bash skill_dir="<path-to-skill>" # 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: ```bash 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.

文件 SHA256:f4a6cbfbb378a320fae179a79f727a881d19677e9b3db96ed49d2dc02a74fa46

仓库许可证记录:未提供;not-established,查看来源。

SKILL.md原文description · 2026-11-16T12:36:35.145Z

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".

查看历史简介来源

历史收录数据

来源仓库openai/skills
Skill源路径skills/.curated/vercel-deploy/SKILL.md

安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。

返回 Skills 目录,按任务继续筛选 · MCP与Skills教程与资源