本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)33k · #8809

vercel-deploy

できること

このスキルは、ウェブサイトやアプリをVercelに公開し、確認用のリンクを渡します。プロジェクトを素早くオンラインにしたい人向けです。

使う場面

  • ✓エージェントにアプリをデプロイして、そのリンクを送ってもらいたいとき。
  • ✓公開前にサイトのプレビュー版を確認したいとき。
  • ✓プロジェクトの本番リリースを明示的に依頼したいとき。

スキルのリンク

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/vercel-deploy/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/vercel-deploy/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“プロジェクトをVercelにデプロイして、確認できるようにリンクを送ってください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントはVercelのコマンド、または代替のスクリプトでプロジェクトをパッケージ化します。ビルドの完了を待ち、プレビューのリンクを返します。本番へのデプロイは、あなたが依頼した場合だけ行います。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Vercel Deploy

Deploy any project to Vercel instantly. Always deploy as preview (not production) unless the user explicitly asks for production.

Prerequisites

  • When sandboxing blocks the deployment network calls, rerun with sandbox_permissions=require_escalated.
  • The deployment might take a few minutes. Use appropriate timeout values.

Quick Start

Just 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.

If that fails with "No existing credentials found", use the fallback method below.

Fallback (No Auth)

If CLI fails with auth error, use the deploy script:

# Deploy current directory
bash scripts/deploy.sh

# Deploy specific project
bash scripts/deploy.sh /path/to/project

# Deploy existing tarball
bash 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 deploy with escalated permissions (use sandbox_permissions=require_escalated). 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?
よくある質問

ライブのサイトに初期設定でデプロイされますか?

いいえ。本番にと明確に依頼しない限り、プレビュー版のデプロイを作成します。

Vercelにログインしていない場合はどうなりますか?

アカウントを使わずにデプロイするフォールバックのスクリプトがあり、後で所有権を申請できるリンクを返します。

デプロイにはどのくらい時間がかかりますか?

ビルドには時間がかかることがあるため、数分かかる場合があるとスキルに記載されています。

詳細

作者による元の説明

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

repo: davila7/claude-code-templates

人気

GitHubのスター
33k
ランキング
#8809
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル