본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)9.5k · #12266

vercel-cli

하는 일

이 스킬은 Vercel 명령줄 도구를 써서 에이전트가 Vercel 프로젝트를 다루게 합니다. Vercel에 사이트나 앱을 올리고 배포 문제를 해결하려는 개발자를 위한 것입니다.

사용하는 경우

  • ✓터미널에서 사이트나 앱을 Vercel에 배포하고 싶을 때.
  • ✓Vercel 빌드가 실패해서 로그를 설명받아야 할 때.
  • ✓Vercel에 환경 변수를 추가하거나 도메인을 연결해야 할 때.

스킬 링크

https://github.com/openclaw/clawhub/blob/main/.agents/skills/vercel-cli/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/openclaw/clawhub/blob/main/.agents/skills/vercel-cli/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Vercel 배포가 실패했습니다. 로그를 확인하고 무엇이 잘못되었는지 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 어떤 프로젝트에 연결되어 있는지 확인하고, Vercel 명령줄 도구로 배포 로그와 설정을 읽은 뒤 가능성 높은 문제를 알려 줍니다. 실서비스 프로젝트에 영향을 주는 변경은 실행 전에 확인을 받습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Vercel CLI Skill

The Vercel CLI (vercel or vc) deploys, manages, and develops projects on the Vercel platform from the command line. Use vercel <command> --help for full flag details on any command.

The installed CLI help is the source of truth for obscure or newly added flags. If a command example here is not enough, check vercel <command> --help before acting instead of guessing.

Parse only stdout for URLs and JSON. Warnings, progress, and --help print to stderr; merge streams only when searching help text. Some help commands exit 2 after printing usage, so treat printed usage as a successful help read.

In agent/non-interactive mode, many commands report errors and required confirmations as a single JSON object on stdout with status, reason, hint, and next (runnable follow-up commands). Prefer a suggested next command over composing a retry only after confirming that it preserves the user's intended target and authorization; do not automatically run linking, authentication, or mutation follow-ups. Read commands such as list, logs, inspect, and api keep their normal output shape.

Critical: Project Linking

Project context depends on the command's working directory. Before a consequential read or mutation, run vercel project inspect --non-interactive from the intended directory and confirm the reported owner and project. This command resolves only existing context in non-interactive mode; stop on link_required or a target mismatch instead of linking automatically.

Many project-aware commands also accept --project <name-or-id> with --scope <team> for an explicit, one-command target. Confirm that target and scope preserve the user's intent before using them.

  • <cwd>/.vercel/project.json: Created by vercel link. This exact working-directory link wins over a repository link. The CLI does not generally inherit a root project.json when run from an arbitrary subdirectory.
  • <repo-root>/.vercel/repo.json: Created by vercel link --repo. The CLI selects the deepest project directory that contains the working directory.
  • Unmatched repository path: If no repo mapping contains the working directory, interactive repo resolution prompts among the configured projects. Non-interactive repo resolution currently selects the only configured project or remains unresolved when multiple choices exist. Commands that set up projects may then enter a linking flow, so non-interactive mode is not generally fail-closed.

Being inside an app directory is not proof that the intended project was selected. Check the resolved project explicitly, especially when a repo mapping does not cover that directory.

vercel whoami --format json identifies the authenticated user and effective team; plain non-TTY vercel whoami prints only the username. Neither verifies the linked project. Read-only project commands can still require login or team SAML re-authentication and open a browser/device flow. Ask the user to complete that flow deliberately before continuing.

Quick Start

npm i -g vercel
vercel login
vercel link              # single project
# OR
vercel link --repo       # monorepo
vercel pull
vercel dev        # local development
vercel deploy     # preview deployment
vercel --prod     # production deployment

Decision Tree

Use this to route to the correct reference file:

  • Deploy, redeploy, forced builds, no-cache builds, or deployment source/provenance → references/deployment.md
  • Rolling releases, deploy hooks, cron jobs, cache, git connection, Edge Config, redirects, custom environments → references/project-infra.md
  • Local development → references/local-development.md
  • Environment variables → references/environment-variables.md
  • CI/CD automation → references/ci-automation.md
  • Domains or DNS → references/domains-and-dns.md
  • Projects or teams → references/projects-and-teams.md
  • Vercel Toolbar comments (vercel comments) → references/comments.md
  • Build failures, deployment errors, logs, metrics, Speed Insights, Core Web Vitals, activity, performance, preview access, or production debugging → references/monitoring-and-debugging.md
  • Alerts, usage, contracts, billing purchases, tokens, telemetry, or CLI upgrades → references/platform-ops.md
  • Blob storage → references/storage.md
  • Container Registry (vercel vcr: repositories, images, tags, docker/podman/buildah login, push/pull) → `
자주 묻는 질문

에이전트가 잘못된 프로젝트에 배포할 수 있나요?

이 스킬은 변경 전에 연결된 프로젝트를 먼저 확인하고, 소유자와 프로젝트를 확인하도록 에이전트에게 안내합니다.

Vercel 명령줄 도구를 설치해야 하나요?

네. 이 스킬은 그 도구를 통해 작동하므로 설치되어 있고 로그인되어 있어야 합니다.

도메인과 환경 변수도 관리할 수 있나요?

네. 로그, 캐시, 예약 작업과 함께 이들도 이 스킬이 다루는 명령에 포함됩니다.

상세 정보

작성자의 원본 설명

Deploy, manage, inspect, and troubleshoot Vercel projects from the command line. Use for Vercel deployments, Vercel Toolbar comments, build failures, projects and teams, environment variables, domains and DNS, logs, metrics, Speed Insights, Core Web Vitals, request traces, usage, activity, alerts, firewall rules, cache, cron jobs, deploy hooks, Edge Config, feature flags (`vercel flags`), integrations, connectors, Blob storage, Container Registry (VCR), microfrontends, rolling releases, custom environments, Sandbox, agent/MCP setup, preview access, local development, or `vercel api` fallback.

repo: openclaw/clawhub

인기도

GitHub 스타
9.5k
순위
#12266
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬