Agent Skillsopenai/skills › vercel-deploy

vercel-deploy

GitHub

用于将应用或网站部署到 Vercel 平台。支持预览和正式环境发布,包含 CLI 检查、超时处理及无认证时的脚本回退方案,并提供部署链接给用户。

skills/.curated/vercel-deploy/SKILL.md openai/skills

Trigger Scenarios

deploy my app push this live create a preview deployment

Install

npx skills add openai/skills --skill vercel-deploy -g -y
More Options

Non-standard path

npx skills add https://github.com/openai/skills/tree/main/skills/.curated/vercel-deploy -g -y

Use without installing

npx skills use openai/skills@vercel-deploy

指定 Agent (Claude Code)

npx skills add openai/skills --skill vercel-deploy -a claude-code -g -y

安装 repo 全部 skill

npx skills add openai/skills --all -g -y

预览 repo 内 skill

npx skills add openai/skills --list

SKILL.md

Frontmatter
{
    "name": "vercel-deploy",
    "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\"."
}

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 vercel
  1. If vercel is installed, 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.

  1. 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.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 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?

Version History

  • 49f948f Current 2026-07-25 07:39

Same Skill Collection

skills/.curated/aspnet-core/SKILL.md
skills/.curated/chatgpt-apps/SKILL.md
skills/.curated/cli-creator/SKILL.md
skills/.curated/cloudflare-deploy/SKILL.md
skills/.curated/define-goal/SKILL.md
skills/.curated/figma-code-connect-components/SKILL.md
skills/.curated/figma-create-design-system-rules/SKILL.md
skills/.curated/figma-create-new-file/SKILL.md
skills/.curated/figma-generate-library/SKILL.md
skills/.curated/figma-implement-design/SKILL.md
skills/.curated/figma/SKILL.md
skills/.curated/gh-address-comments/SKILL.md
skills/.curated/gh-fix-ci/SKILL.md
skills/.curated/jupyter-notebook/SKILL.md
skills/.curated/linear/SKILL.md
skills/.curated/migrate-to-codex/SKILL.md
skills/.curated/netlify-deploy/SKILL.md
skills/.curated/notion-knowledge-capture/SKILL.md
skills/.curated/notion-meeting-intelligence/SKILL.md
skills/.curated/notion-research-documentation/SKILL.md
skills/.curated/notion-spec-to-implementation/SKILL.md
skills/.curated/openai-docs/SKILL.md
skills/.curated/pdf/SKILL.md
skills/.curated/playwright-interactive/SKILL.md
skills/.curated/playwright/SKILL.md
skills/.curated/render-deploy/SKILL.md
skills/.curated/screenshot/SKILL.md
skills/.curated/security-best-practices/SKILL.md
skills/.curated/security-threat-model/SKILL.md
skills/.curated/sentry/SKILL.md
skills/.curated/speech/SKILL.md
skills/.curated/transcribe/SKILL.md
skills/.curated/yeet/SKILL.md
skills/.system/openai-docs/SKILL.md
skills/.system/plugin-creator/SKILL.md
skills/.system/skill-creator/SKILL.md
skills/.system/skill-installer/SKILL.md
skills/.curated/figma-generate-design/SKILL.md
skills/.curated/figma-use/SKILL.md
skills/.curated/hatch-pet/SKILL.md
skills/.curated/security-ownership-map/SKILL.md
skills/.curated/winui-app/SKILL.md
skills/.system/imagegen/SKILL.md

Metadata

Files
0
Version
49f948f
Hash
f4a6cbfb
Indexed
2026-07-25 07:39

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 14:39
浙ICP备14020137号-1 $방문자$