vercel
Use for Vercel operations — deploy to production or preview (or roll back), view, filter, or debug deployment logs, or check project status (deployments, domains, env vars, config). Replaces /vercel-deploy, /vercel-logs, /vercel-status.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- vercel
- requires
- [ { "cli": "vercel", "reason": "Vercel CLI for deployments, logs, and project inspection" } ]
- description
- Use for Vercel operations — deploy to production or preview (or roll back), view, filter, or debug deployment logs, or check project status (deployments, domains, env vars, config). Replaces /vercel-deploy, /vercel-logs, /vercel-status.
- argument-hint
- [deploy|logs|status] [args]
- user-invocable
- true
02 资源文件 3
03 SKILL.md 正文
Vercel
Codex: Read
../_shared/codex-tools.mdbefore following this skill. Apply its tool, root and dispatch mappings throughout.
One engine for Vercel — deploy, logs, and status as verb modes over the vercel CLI. Shared behavior lives in ../_shared/infra-cli-contract.md; this file supplies only routing and the Vercel deltas.
Mode dispatch (contract §3)
Arguments to dispatch (first token = verb, the rest belong to the verb): $ARGUMENTS
No verb token → infer only when the request wording is unambiguous (e.g. "pull the deployment logs" → logs); otherwise print this table and stop — never guess a destructive verb.
| Verb | When | Depth file |
|---|---|---|
deploy |
Deploy to production or preview; update an existing deployment; roll back | deploy.md |
logs |
View, filter, or debug deployment logs | logs.md |
status |
Project overview — deployments, domains, env vars, config | status.md |
For the selected verb, read ONLY its depth file in this skill directory and follow it exactly — never load another verb's depth (contract §1, §3).
Pre-flight deltas (contract §4)
Run the ladder before any verb, stopping at the first failure with concrete guidance:
- CLI installed —
vercel --version. No fallback command, no minimum-version gate. On failure: install withnpm install -g vercel. - Authenticated — non-interactive; never the device-code flow. Bare
vercel whoami(andvercel whoami --token "") fall into the interactive device-code login, which blocks forever in an unattended/tmux context (#216). Probe without it:$VERCEL_TOKENnon-empty →vercel whoami(the CLI takes its token fromVERCEL_TOKENwhen no--tokenis given, so the token stays off the command line; it rejects an invalid one at once); empty or unset →timeout 10 vercel whoami(a bound, so a device-code fall-through can't hang — a storedvercel loginreturns in ~1s, an unauthenticated probe is killed at 10s). On failure, stop:Vercel not authenticated — set VERCEL_TOKEN for headless use, or run vercel login interactively. - Target discovery — the linked project: check
.vercel/project.json(project is linked), thenvercel.jsonat the repo root. If neither resolves it, have the user runvercel link, and ask which project only if discovery still fails.
Execution, output, and failure conventions are contract §5–§7; the depth files assume them. deploy is this engine's destructive verb — its confirmation gate lives in deploy.md; logs and status are read-only and never gate.
04 同仓库更多 Skills
example-review
Use when you want to review pull requests with detailed, actionable feedback on code quality, correctness, and maintainability.
bad-skill
Too short
worktree
Use when starting feature work that needs isolation from the current workspace, or when running multiple Claude sessions in parallel on different branches — creates and manages git worktrees. For fetching latest main into every existing worktree and branch across your sibling repos, use /claudna:sync-branches instead.
weigh-development-paths
Use when at a development junction with multiple viable approaches — architecture choices, refactoring strategies, where to put new code, or which pattern to follow. Triggers on 'which approach', 'how should I', 'Option A vs B', or any point where the next step isn't obvious and the wrong choice creates rework.
verify-completion
Use when about to claim work is complete, fixed, or passing -- requires running verification commands and confirming output before making any success claims.
using-claudna
Use to verify clauDNA installation is healthy — hooks, skills and capture — or orient at conversation start and choose an installed skill for a task. For discovering third-party skills from the public ecosystem, use /claudna:find-skills. Replaces /skill-health.