by sickn33
将应用程序部署到生产环境托管既复杂又耗时。此技能可将您的项目打包并通过单个命令部署到 Vercel,提供即时预览 URL。
1. 打开 Claude 聊天界面
2. 点击下方 "📋 复制" 按钮
3. 粘贴到 Claude 聊天框中并发送
4. 输入 "使用 vercel-deploy-claimable 技能" 开始使用
=== vercel-deploy-claimable 技能 === 作者: sickn33 描述: 将应用程序部署到生产环境托管既复杂又耗时。此技能可将您的项目打包并通过单个命令部署到 Vercel,提供即时预览 URL。 使用方法: 1. 调用技能: "使用 vercel-deploy-claimable 技能" 2. 提供相关信息: 根据技能要求提供必要参数 3. 查看结果: 技能会返回处理结果 示例: "使用 vercel-deploy-claimable 技能,帮我分析一下这段代码"
这种方法适用于所有 Claude 用户,不需要安装额外工具。
devops
low
Deploy any project to Vercel instantly. No authentication required.
Use this skill when:
node_modules and .git)package.jsonbash /mnt/skills/user/vercel-deploy/scripts/deploy.sh [path]
Arguments:
path - Directory to deploy, or a .tgz file (defaults to current directory)Examples:
# Deploy current directory
bash /mnt/skills/user/vercel-deploy/scripts/deploy.sh
# Deploy specific project
bash /mnt/skills/user/vercel-deploy/scripts/deploy.sh /path/to/project
# Deploy existing tarball
bash /mnt/skills/user/vercel-deploy/scripts/deploy.sh /path/to/project.tgz
Preparing deployment...
Detected framework: nextjs
Creating deployment package...
Deploying...
✓ Deployment successful!
Preview URL: https://skill-deploy-abc123.vercel.app
Claim URL: https://vercel.com/claim-deployment?code=...
The script also outputs JSON to stdout for programmatic use:
{
"previewUrl": "https://skill-deploy-abc123.vercel.app",
"claimUrl": "https://vercel.com/claim-deployment?code=...",
"deploymentId": "dpl_...",
"projectId": "prj_..."
}
The script auto-detects frameworks from package.json. Supported frameworks include:
For static HTML projects (no package.json), framework is set to null.
For projects without a package.json:
.html file not named index.html, it gets renamed automatically/)Always show both URLs:
✓ Deployment successful!
Preview URL: https://skill-deploy-abc123.vercel.app
Claim URL: https://vercel.com/claim-deployment?code=...
View your site at the Preview URL.
To transfer this deployment to your Vercel account, visit the Claim URL.
If deployment fails due to network restrictions (common on claude.ai), tell the user:
Deployment failed due to network restrictions. To fix this:
1. Go to https://claude.ai/settings/capabilities
2. Add *.vercel.com to the allowed domains
3. Try deploying again
View Count
0
Download Count
0
Favorite Count
0
Quality Score
70