vercel-deployment — Vercel 部署 vercel-deployment, ridedine, community, Vercel 部署, ide skills, Next.js 应用部署, 环境变量设置, 自定义域名配置, 预览部署设置, 生产部署设置, Claude Code

v1.1.0

关于此技能

适用于需要自动化将 Next.js 应用程序部署到 Vercel 的云部署代理。 Vercel 部署是指使用 Vercel 平台部署 Next.js 应用

功能特性

Next.js 应用部署
环境变量设置
自定义域名配置
预览部署
生产部署

# 核心主题

Ritenoob Ritenoob
[0]
[0]
更新于: 2/27/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 8/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution
Review Score
8/11
Quality Score
41
Canonical Locale
en
Detected Body Locale
en

适用于需要自动化将 Next.js 应用程序部署到 Vercel 的云部署代理。 Vercel 部署是指使用 Vercel 平台部署 Next.js 应用

核心价值

赋予代理处理单独的 Vercel 项目、环境变量和 web 应用程序及管理应用程序的域配置的能力,简化 PR 的预览部署和使用 Next.js 15 的主分支的生产部署。

适用 Agent 类型

适用于需要自动化将 Next.js 应用程序部署到 Vercel 的云部署代理。

赋予的主要能力 · vercel-deployment

自动化将 Next.js 应用程序部署到 Vercel
为 web 应用程序和管理应用程序配置环境变量
为生产部署设置自定义域

! 使用限制与门槛

  • 需要 Vercel 账户和项目设置
  • 仅限 Next.js 15 应用程序
  • 需要为 web 应用程序和管理应用程序进行单独的配置

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

评审后的下一步

先决定动作,再继续看上游仓库材料

Killer-Skills 的主价值不应该停在“帮你打开仓库说明”,而是先帮你判断这项技能是否值得安装、是否应该回到可信集合复核,以及是否已经进入工作流落地阶段。

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

vercel-deployment 是什么?

适用于需要自动化将 Next.js 应用程序部署到 Vercel 的云部署代理。 Vercel 部署是指使用 Vercel 平台部署 Next.js 应用

如何安装 vercel-deployment?

运行命令:npx killer-skills add Ritenoob/ridedine/vercel-deployment。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

vercel-deployment 适用于哪些场景?

典型场景包括:自动化将 Next.js 应用程序部署到 Vercel、为 web 应用程序和管理应用程序配置环境变量、为生产部署设置自定义域。

vercel-deployment 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

vercel-deployment 有哪些限制?

需要 Vercel 账户和项目设置;仅限 Next.js 15 应用程序;需要为 web 应用程序和管理应用程序进行单独的配置。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add Ritenoob/ridedine/vercel-deployment。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    vercel-deployment 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

vercel-deployment

使用 Vercel 部署 Next.js 应用,设置环境变量和自定义域名,实现预览部署和生产部署

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Vercel Deployment

Problem

RidenDine has two Next.js 15 apps (web, admin) deployed to Vercel. Each needs separate Vercel projects, environment variables, and domain configuration. Preview deployments for PRs, production deployments on main branch.

Context / Trigger Conditions

Use this skill when:

  • Deploying apps to production
  • Setting up new Vercel projects
  • Configuring environment variables
  • Debugging build failures
  • Setting up custom domains
  • Configuring preview deployments

Pattern 1: Vercel Project Setup

Create Vercel Project:

bash
1# Install Vercel CLI 2pnpm add -g vercel 3 4# Link web app 5cd apps/web 6vercel link 7 8# Link admin app 9cd apps/admin 10vercel link

Project Configuration (vercel.json):

Keep per-app vercel.json minimal to allow Vercel's Next.js builder to handle install/build.

json
1{ 2 "framework": "nextjs" 3}

Pattern 2: Environment Variables

Web App (.env.production):

bash
1NEXT_PUBLIC_SUPABASE_URL=https://<project-id>.supabase.co 2NEXT_PUBLIC_SUPABASE_ANON_KEY=<production-anon-key> 3NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_live_... 4STRIPE_SECRET_KEY=sk_live_...

Set via Vercel Dashboard:

  1. Dashboard → Project → Settings → Environment Variables
  2. Add each variable for Production, Preview, Development
  3. Redeploy to apply changes

Or via CLI:

bash
1vercel env add NEXT_PUBLIC_SUPABASE_URL production 2vercel env add STRIPE_SECRET_KEY production

Pattern 3: Deployment

Automatic Deployment:

bash
1# Push to main → production deployment 2git push origin main 3 4# Push to feature branch → preview deployment 5git push origin feature/new-feature

Manual Deployment:

bash
1cd apps/web 2vercel --prod # Deploy to production 3vercel # Deploy to preview

Pattern 4: Build Configuration

pnpm Monorepo Support:

json
1// apps/web/package.json 2{ 3 "scripts": { 4 "build": "next build", 5 "dev": "next dev", 6 "start": "next start" 7 } 8}

Install Command (vercel.json):

Do not set this in per-app vercel.json. Leave install commands blank so Vercel runs pnpm from the repo root.

Pattern 5: Monorepo Root Directory Configuration (CRITICAL)

Problem: "No Next.js version detected" error

When deploying from a monorepo subdirectory, Vercel looks for next in the repository root's package.json. It cannot be configured via vercel.json alone.

Solution: Set Root Directory via Dashboard

  1. Deploy once (will fail with "No Next.js version detected")
  2. Go to Vercel Dashboard → Project → Settings → General
  3. Find "Root Directory" section → Click "Edit"
  4. Set to subdirectory path: apps/admin or apps/web
  5. Click "Save"
  6. Redeploy from Deployments tab

Alternative: GitHub Integration (Recommended for Free Tier)

GitHub integration auto-detects monorepo structure:

  1. Go to https://vercel.com/new
  2. Import GitHub repository
  3. Vercel shows "Multiple apps detected"
  4. Configure each app:
    • Name: admin / web
    • Root Directory: apps/admin / apps/web
    • Framework: Next.js (auto-detected)
    • Build Command: (leave blank)
    • Install Command: (leave blank)
  5. Deploy both projects

Free Tier Strategy:

  • Separate projects (admin + web) - Recommended

    • 2 projects = 2 separate domains
    • Independent deployments
    • Easier environment variable management
    • Both deployments count toward free tier quota
  • Single project with routing - NOT recommended

    • Complex routing configuration
    • Harder to manage separate domains
    • No benefit on free tier

Debugging Build Failures

Issue: "No Next.js version detected"

Cause: Root Directory not configured for monorepo

Fix: Set Root Directory to subdirectory path via Vercel dashboard (see Pattern 5)

Issue: Module not found

Fix: Verify workspace dependencies installed, check tsconfig paths

Issue: Environment variable undefined

Fix: Add to Vercel dashboard, redeploy

Issue: Build timeout

Fix: Optimize build time, increase timeout in Vercel settings

References

相关技能

寻找 vercel-deployment 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

为prompts.chat的信息反馈系统生成可定制的插件小部件

149.6k
0
AI

flags

Logo of vercel
vercel

React 框架

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

Python中具有强大GPU加速的张量和动态神经网络

98.6k
0
开发者工具