vercel-deploy-claimable
将应用程序和网站部署到Vercel。当用户提出部署相关请求时使用此功能,例如“部署我的应用”、“部署到生产环境”、“创建预览部署”、“部署并给我链接”或“上线发布”。无需身份验证——返回预览URL和可领取的部署链接。
Vercel Deploy
Deploy any project to Vercel instantly. No authentication required.
When to Use This Skill
Use this skill when:
How It Works
node_modules and .git)package.jsonUsage
bash /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.shDeploy specific project
bash /mnt/skills/user/vercel-deploy/scripts/deploy.sh /path/to/projectDeploy existing tarball
bash /mnt/skills/user/vercel-deploy/scripts/deploy.sh /path/to/project.tgzOutput
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_..."
}Framework Detection
The script auto-detects frameworks from package.json. Supported frameworks include:
For static HTML projects (no package.json), framework is set to null.
Static HTML Projects
For projects without a package.json:
.html file not named index.html, it gets renamed automatically/)Present Results to User
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.
Troubleshooting
Network Egress Error
If deployment fails due to network restrictions (common on claude.ai), tell the user:
Deployment failed due to network restrictions. To fix this:Go to https://claude.ai/settings/capabilities
Add *.vercel.com to the allowed domains
Try deploying again