vercel-deploy

от openai

Развёртывание приложений в Vercel в виде предварительных или рабочих сред. Поддерживает как Vercel CLI, так и резервные методы развёртывания на основе скриптов, с автоматическим определением фреймворка и упаковкой. По умолчанию всегда развёртывает как предварительную версию, если пользователь явно не запросит рабочее развёртывание. Немедленно возвращает URL предварительной версии и URL для управления развёртыванием при резервных методах. Требуется 10-минутный тайм-аут для завершения сборки; повышает сетевые разрешения только в случае блокировки исходящих соединений песочницей...

npx skills add https://github.com/openai/skills --skill vercel-deploy

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?

Больше skills от openai

release
openai
Выпустите релиз Symphony, увеличив зафиксированную версию, закоммитив её, пометив объединённый коммит тегом и проверив рабочий процесс релиза Burrito. Используйте, когда вас просят…
signing-entitlements
openai
Проверка подписи кода, прав доступа, усиленного режима выполнения и проблем с Gatekeeper для приложений macOS. Используйте, когда требуется диагностировать ошибки подписи кода, отсутствующие права доступа…
building-ai-agent-on-cloudflare
openai
Создаёт AI-агентов на Cloudflare с использованием Agents SDK, включая управление состоянием, WebSockets в реальном времени, запланированные задачи, интеграцию инструментов и чат…
epigraphdb-skill
openai
Отправляйте компактные запросы к API EpiGraphDB для получения данных по онтологии, литературе, MR, генам-лекарствам и подтверждающим путям. Используйте, когда пользователю нужны краткие сводки EpiGraphDB.
runtime-behavior-probe
openai
Планируйте и проводите исследования поведения во время выполнения с помощью временных пробных скриптов, матриц валидации, контролей состояния и отчетов, ориентированных на результаты. Используйте только когда…
deep-security-scan
openai
Используйте, когда пользователь запрашивает глубокое, исчерпывающее, многопроходное или снижающее вариативность сканирование безопасности Codex по всему репозиторию или в заданной области. Выполняйте повторные независимые…
define-security-policy
openai
Определение, проверка или обновление рекомендаций SECURITY.md для репозитория или компонента. Используется, когда пользователь хочет уточнить, что Codex Security должен проверять, что выходит за рамки…
validation
openai
Используйте, когда Codex уже находится на этапе валидации сканирования безопасности или пользователь явно просит определить, являются ли одно или несколько кандидатных уязвимостей…