vercel-deploy — скилл для Claude Code: деплой на Vercel
Скилл пакует проект, сам определяет фреймворк и выкладывает его на Vercel. На выходе — ссылка на превью и ссылка для переноса деплоя в свой аккаунт.
npx skills add bytedance/deer-flow --skill vercel-deploy -a claude-codeЧто делает vercel-deploy
Скилл запускает bash /mnt/skills/public/vercel-deploy/scripts/deploy.sh [path]. В аргументе можно передать папку проекта или готовый .tgz, по умолчанию берётся текущая директория. Скрипт собирает архив без node_modules и .git, смотрит package.json и определяет фреймворк сам — от Next.js и Nuxt до Express и Hono. У статических HTML-проектов без package.json фреймворк остаётся пустым, а одиночный .html не с именем index.html переименовывается, чтобы страница открывалась по корневому адресу.
Авторизация не нужна. После загрузки скрипт печатает Preview URL и Claim URL, а в stdout кладёт JSON с previewUrl, claimUrl, deploymentId и projectId — удобно, если результат разбирает другой скрипт. Превью живёт до тех пор, пока деплой не привязан к аккаунту, так что Claim URL стоит сохранить сразу.
На claude.ai деплой часто падает из-за сетевых ограничений. Тогда в настройках capabilities нужно разрешить домен *.vercel.com и повторить запуск. В Claude, Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode скилл ставится из репозитория bytedance/deer-flow.
Какие задачи решает
- выложить проект на Vercel одной командой
- получить ссылку на превью для показа заказчику
- задеплоить статический HTML без сборки
- перенести деплой в свой аккаунт Vercel
- отдать результат деплоя в JSON для другого скрипта
Примеры запросов агенту
- Задеплой мой проект на Vercel и дай ссылку
- Сделай превью-деплой папки
./frontend - Выложи этот сайт в прод и покажи Claim URL
Как установить vercel-deploy
1Через Skills CLI (Vercel)
npx skills add bytedance/deer-flow --skill vercel-deploy -a claude-code2Вручную: положить файлы
~/.claude/skills/vercel-deploy/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/vercel-deploy/
1Через Skills CLI (Vercel)
npx skills add bytedance/deer-flow --skill vercel-deploy -a codex2Вручную: положить файлы
.agents/skills/vercel-deploy/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add bytedance/deer-flow --skill vercel-deploy -a cursor2Вручную: положить файлы
.cursor/skills/vercel-deploy/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install bytedance/deer-flow vercel-deploy2Вручную: положить файлы
.github/skills/vercel-deploy/SKILL.md1Через Skills CLI (Vercel)
npx skills add bytedance/deer-flow --skill vercel-deploy -a gemini-cli2Командой платформы
gemini skills install https://github.com/bytedance/deer-flow --path skills/public/vercel-deployВручную: положить файлы
.devin/skills/vercel-deploy/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add bytedance/deer-flow --skill vercel-deploy -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о vercel-deploy
Как установить vercel-deploy в Claude Code?
Выполните npx skills add bytedance/deer-flow --skill vercel-deploy -a claude-code. После этого файл скилла окажется в ~/.claude/skills/vercel-deploy/SKILL.md.
Что делает vercel-deploy?
Пакует проект в tarball, определяет фреймворк по package.json, загружает сборку на Vercel и возвращает Preview URL вместе с Claim URL для переноса деплоя в аккаунт.
Нужен ли аккаунт Vercel или токен?
Нет, авторизация не требуется. Ссылка Claim URL нужна только если вы захотите забрать деплой себе.
Исходный текст
SKILL.md · MIT
---
name: vercel-deploy
description: Deploy applications and websites to Vercel. Use this skill when the user requests deployment actions such as "Deploy my app", "Deploy this to production", "Create a preview deployment", "Deploy and give me the link", or "Push this live". No authentication required - returns preview URL and claimable deployment link.
metadata:
author: vercel
version: "1.0.0"
---
# Vercel Deploy
Deploy any project to Vercel instantly. No authentication required.
## How It Works
1. Packages your project into a tarball (excludes `node_modules` and `.git`)
2. Auto-detects framework from `package.json`
3. Uploads to deployment service
4. Returns **Preview URL** (live site) and **Claim URL** (transfer to your Vercel account)
## Usage
```bash
bash /mnt/skills/public/vercel-deploy/scripts/deploy.sh [path]
```
**Arguments:**
- `path` - Directory to deploy, or a `.tgz` file (defaults to current directory)
**Examples:**
```bash
# Deploy current directory
bash /mnt/skills/public/vercel-deploy/scripts/deploy.sh
# Deploy specific project
bash /mnt/skills/public/vercel-deploy/scripts/deploy.sh /path/to/project
# Deploy existing tarball
bash /mnt/skills/public/vercel-deploy/scripts/deploy.sh /path/to/project.tgz
```
## Output
```
Preparing deployment...
Detected framework: nextjs
Creating deployment package...
Deploying...
✓ Deployment successful!
Preview URL: https://skill-deploy-abc123.vercel.app
Claim URL: https://vercel.com/claim-deployment?code=...
```
The script also outputs JSON to stdout for programmatic use:
```json
{
"previewUrl": "https://skill-deploy-abc123.vercel.app",
"claimUrl": "https://vercel.com/claim-deployment?code=...",
"deploymentId": "dpl_...",
"projectId": "prj_..."
}
```
## Framework Detection
The script auto-detects frameworks from `package.json`. Supported frameworks include:
- **React**: Next.js, Gatsby, Create React App, Remix, React Router
- **Vue**: Nuxt, Vitepress, Vuepress, Gridsome
- **Svelte**: SvelteKit, Svelte, Sapper
- **Other Frontend**: Astro, Solid Start, Angular, Ember, Preact, Docusaurus
- **Backend**: Express, Hono, Fastify, NestJS, Elysia, h3, Nitro
- **Build Tools**: Vite, Parcel
- **And more**: Blitz, Hydrogen, RedwoodJS, Storybook, Sanity, etc.
For static HTML projects (no `package.json`), framework is set to `null`.
## Static HTML Projects
For projects without a `package.json`:
- If there's a single `.html` file not named `index.html`, it gets renamed automatically
- This ensures the page is served at the root URL (`/`)
## Present Results to User
Always show both URLs:
```
✓ Deployment successful!
- [Preview URL](https://skill-deploy-abc123.vercel.app)
- [Claim URL](https://vercel.com/claim-deployment?code=...)
View your site at the Preview URL.
To transfer this deployment to your Vercel account, visit the Claim URL.
```
## Troubleshooting
### Network Restriction Error
If deployment fails due to network restrictions (common on claude.ai), tell the user:
```
Deployment failed due to network restrictions. To fix this:
1. Go to https://claude.ai/settings/capabilities
2. Add *.vercel.com to the allowed domains
3. Try deploying again
```
© vercel · MIT · bytedance/deer-flow