vercel-deploy
它能做什么
这项技能将你的应用或网站发布到 Vercel,并提供一个可以查看的链接。适合想快速把项目上线的人。
适用场景
- ✓当你要求智能体部署应用并把链接发给你时。
- ✓当你想在正式上线前,预览网站的版本进行检查时。
- ✓当你明确要求发布项目的正式版本时。
技能链接
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/vercel-deploy/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把我的项目部署到 Vercel,并把链接发给我,方便我查看。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会运行 Vercel 命令,或运行一个备用脚本,将你的项目打包,等待构建完成,然后返回预览链接。只有在你要求时,它才会部署到正式环境。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Vercel Deploy
Deploy any project to Vercel instantly. Always deploy as preview (not production) unless the user explicitly asks for production.
Prerequisites
- When sandboxing blocks the deployment network calls, rerun with
sandbox_permissions=require_escalated. - The deployment might take a few minutes. Use appropriate timeout values.
Quick Start
Just 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.
If that fails with "No existing credentials found", use the fallback method below.
Fallback (No Auth)
If CLI fails with auth error, use the deploy script:
# Deploy current directory
bash scripts/deploy.sh
# Deploy specific project
bash scripts/deploy.sh /path/to/project
# Deploy existing tarball
bash 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 deploy with escalated permissions (use sandbox_permissions=require_escalated). 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?
常见问题
它默认会部署到我的正式网站吗?
不会。除非你明确要求正式版本,否则它会创建预览部署。
如果我没有登录 Vercel 怎么办?
这项技能有一个备用脚本,可以不使用你的账户进行部署,并返回一个之后可以认领的链接。
部署需要多长时间?
这项技能指出,部署可能需要几分钟,因为构建可能会运行一段时间。
详情
作者的原始描述
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".
热度
- GitHub 星标
- 33k
- 排名
- #8809
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
owasp-security
33k教你的智能体掌握面向网页应用、API、移动端、容器和 AI 智能体的 OWASP 安全指南,以便发现常见弱点并提出修复建议。
agent-management
33k让你的智能体使用 AI Maestro 命令行工具创建、列出、休眠、唤醒、重命名和删除 AI 智能体,管理每个智能体的生命周期。
agent-messaging
33k让你的智能体使用智能体消息协议,在 AI 智能体之间发送、接收和回复带签名的消息,大部分在你自己的电脑上完成。
docs-search
33k让你的智能体搜索自动生成的代码文档,查找函数签名、类定义和注释,从而在修改代码之前核对真实的 API。