Token导航 LogoToken导航TokenDH.com
运维和基础设施敏感数据github未标认证来源可访问许可证需确认审计异常

vercel-deploymentVercel 部署

Agent Skill

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

总安装

288

周安装

17

GitHub Stars

1

下载量

140
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:vercel-deployment(Vercel 部署)
来源仓库:https://github.com/alfredang/skills
仓库路径:skills/vercel-deployment
安装命令:
npx skills add https://github.com/alfredang/skills --skill vercel-deployment
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/alfredang/skills --skill vercel-deployment

简介

用于辅助云资源部署和基础设施自动化,支持 Vercel 平台一键发布。

  • 适用于 Codex、Claude、Cursor 等宿主环境,自动推断项目名称并跳过交互提示。
  • 使用时需确认目标环境、账号权限和区域设置,避免误部署。
  • 涉及生产环境操作时应先评估影响范围,防止意外中断服务。
  • vercel-deployment 属于运维和基础设施类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Vercel Deployment

Deploy to Vercel with automatic project naming from the folder name and auto-disable of Vercel Authentication after deployment.

Workflow

Phase 1: Pre-flight Checks

  1. Verify Vercel CLI is installed (vercel --version). If not: npm i -g vercel
  2. Verify authentication: vercel whoami. If not logged in: vercel login
  3. Determine project name from the current working directory folder name using basename "$(pwd)"

Phase 2: Deploy

Deploy using the --yes flag to skip interactive prompts. The project name is inferred from the folder name automatically.

Preview deployment (default):

vercel --yes

Production deployment:

vercel --yes --prod

The --yes flag auto-confirms project setup using the folder name as the project name.

Phase 3: Disable Vercel Authentication

After deployment, disable Vercel Authentication (SSO protection) so the deployment is publicly accessible without Vercel login.

Option A: Using the deploy script (preferred)

Run the bundled script which handles deployment + auth disable in one step:

# Set token for API access
export VERCEL_TOKEN="<token>"
# Optional: set team ID if using a team
export VERCEL_TEAM_ID="<team-id>"

# Preview deploy
bash scripts/deploy.sh /path/to/project

# Production deploy
bash scripts/deploy.sh /path/to/project prod

Option B: Manual API call after deploying

Use the Vercel API to disable ssoProtection on the project:

PROJECT_NAME=$(basename "$(pwd)")

curl -X PATCH "https://api.vercel.com/v9/projects/$PROJECT_NAME" \
  -H "Authorization: Bearer $VERCEL_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"ssoProtection": null}'

For team projects, append ?teamId=<TEAM_ID> to the URL.

Option C: Using Vercel CLI curl

vercel curl -X PATCH "/v9/projects/$(basename "$(pwd)")" \
  -H "Content-Type: application/json" \
  -d '{"ssoProtection": null}'

Phase 4: Verify

  1. Confirm deployment URL is accessible without Vercel login
  2. Print the deployment URL for the user

Environment Variables

VariableRequiredDescription
VERCEL_TOKENFor auth disableAPI token from https://vercel.com/account/tokens
VERCEL_TEAM_IDFor team projectsTeam ID from Vercel dashboard

Notes

  • The --yes flag uses the folder name as the project name by default
  • If VERCEL_TOKEN is not set, deployment still works but Vercel Authentication won't be auto-disabled. Inform the user they can disable it manually in: Vercel Dashboard > Project > Settings > Deployment Protection > Vercel Authentication > Off
  • Setting ssoProtection to null disables Vercel Authentication for all deployments (preview and production)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.77%
按下载量换算54

Claude

28.93%
按下载量换算41

Cursor

18.85%
按下载量换算26

Gemini CLI

9.03%
按下载量换算13

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills