vercel-deploy – skill DevOps & Hạ tầng cho agent AI
Triển khai ứng dụng và website lên Vercel. Dùng khi người dùng yêu cầu các thao tác triển khai như "deploy my app", "deploy and give me the link", "push this live", hoặc "create a preview deployment".
Cài skill vercel-deploy bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/vercel-deploy-a395d.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /vercel-deploy – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/vercel-deploy-a395d.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $vercel-deploy – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/vercel-deploy-a395d.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /vercel-deploy – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/vercel-deploy-a395d.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /vercel-deploy – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
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 vercel2. If vercel is installed, run this (with a 10 minute timeout):
vercel deploy [path] -yImportant: 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:
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.tgzThe 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 -yOutput
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?Skill liên quan
- azure-ai-language-conversations-py – Triển khai Conversational Language Understanding (CLU) bằng SDK…
- istio-traffic-management – Cấu hình quản lý lưu lượng Istio gồm định tuyến, cân bằng tải, circuit breaker và triển…
- azure-ai-openai-dotnet – SDK Azure OpenAI cho .NET. Thư viện client cho Azure OpenAI và dịch vụ OpenAI. Dùng cho…
- azure-ai-projects-dotnet – SDK Azure AI Projects cho .NET. Client cấp cao cho dự án Azure AI Foundry gồm agent…
- azure-ai-projects-py – Xây dựng ứng dụng AI trên Microsoft Foundry bằng SDK azure-ai-projects.
- azure-ai-projects-ts – SDK cấp cao cho dự án Azure AI Foundry, bao gồm agents, connections, deployments và…
- azure-ai-textanalytics-py – SDK Azure AI Text Analytics để phân tích cảm xúc, nhận diện thực thể, cụm từ khóa, nhận…
- azure-ai-transcription-py – SDK Azure AI Transcription cho Python. Dùng để chuyển file âm thanh thành văn bản kèm…