vercel-deploy
在 Vercel 上部署 Next.js 应用
当构建设置、域名和环境变量发生偏移时,Vercel 部署会失败。此技能可指导 Next.js 应用的配置、部署和故障排查。
安装前请停下并请求确认。
请审查安装计划,并在更改文件前获得用户明确同意。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "vercel-deploy" from https://skillstore.io/skills/awais68-vercel-deploy.md and its manifest at https://skillstore.io/api/skills/awais68-vercel-deploy/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“vercel-deploy”。 开发者请求帮助准备一个 Next.js 应用的首次生产部署。
预期结果:
一份分步部署检查清单,涵盖构建设置、公开变量、仅服务器端密钥、自定义域名设置和验证任务。
正在使用“vercel-deploy”。 团队报告 API 路由在本地可用,但部署后失败。
预期结果:
一份故障排查计划,用于检查重写目标、环境变量名称、部署日志、CORS 设置和后端可用性。
正在使用“vercel-deploy”。 发布经理希望获得更安全的 Vercel CI 部署指导。
预期结果:
一份 CI 部署审查,将预览发布和生产发布分开,验证令牌处理,并列出提升到生产环境前的审批点。
安全审计
高风险The skill is mostly deployment documentation, and most static hits are false positives from Markdown code fences, placeholders, and configuration examples. Confirmed risks remain around production Vercel commands, local environment pulls, package installs, and API proxy examples that can forward authorization data.
已确认安全问题 (4)
能力复核项 (11)
这些是真实的本地能力,对此技能可能是预期行为,因此需要复核,但不会按已确认恶意行为计分。
风险因素
⚡ 包含脚本 (1)
⚙️ 外部命令 (70)
🌐 网络访问 (12)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/awais68-vercel-deploy/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/awais68-vercel-deploy?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/awais68-vercel-deploy?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/awais68-vercel-deploy/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/awais68-vercel-deploy.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
Awais68. (2026). vercel-deploy security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/awais68-vercel-deploy/audits/8BibTeX 引用
@techreport{awais68-awais68-vercel-deploy-2026,
author = {Awais68},
title = {vercel-deploy security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/awais68-vercel-deploy/audits/8},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "vercel-deploy security audit report (audit version 8)"
version: "unspecified"
type: report
authors:
- name: "Awais68"
date-released: "2026-07-05"
url: "https://skillstore.io/skills/awais68-vercel-deploy/audits/8"
identifiers:
- type: other
value: "skillstore:awais68-vercel-deploy:audit:8"
description: "Skillstore immutable audit report identifier"
比较变体
3 个可安装变体每位作者的技能都保持为独立的可安装项。推荐变体按 Skillstore 证据排序。
为什么此变体排名第一
Skillstore 评分
评分依据 证据置信度: 中你能构建什么
准备新的 Vercel 发布
为 Next.js 应用创建部署设置、环境变量指导和发布检查清单。
标准化部署配置
记录 Vercel 设置、自定义域名、重定向和缓存标头,以支持团队可重复部署。
排查失败的发布
在部署失败后审查构建错误、缺失的环境变量、域名记录和路由问题。
试试这些提示
为我的 Next.js 应用创建一份 Vercel 部署检查清单。包括构建设置、环境变量、域名设置和最终验证步骤。
审查我的 Vercel 和 Next.js 部署配置。识别缺失设置、有风险的默认值,以及生产环境上线前所需的更改。
为我的 Next.js 应用设计一个安全的 Vercel API 重写方案。包括上游 URL 处理、标头、CORS 和环境变量边界。
帮助诊断我失败的 Vercel 生产部署。检查构建命令、框架设置、环境变量、重定向、域名和运行时错误。
最佳实践
- 在将更改提升到生产环境之前使用预览部署。
- 保持密钥仅限服务器端使用,并确认 .env.local 已被源代码控制忽略。
- 根据真实的生产架构验证域名、重定向和 API 重写。
避免
- 不要在未替换的情况下将占位符域名或令牌复制到生产环境。
- 不要使用 NEXT_PUBLIC 前缀暴露数据库 URL、API 密钥或服务令牌。
- 在确认目标 Vercel 项目之前,不要使用生产命令进行部署。
常见问题
此技能适用于哪些项目?
它能部署仅后端应用吗?
它会处理环境变量吗?
它能配置自定义域名吗?
它需要 Vercel CLI 访问权限吗?
生产命令应该自动运行吗?
开发者详情
作者
Awais68许可证
MIT
Skillstore 修订
r1
版本提示
作者未声明版本。
引用
5ab1d37e83436c6eef84de88573e142b94f2a4ad
维护新鲜度
2026/7/18
使用量
9 次下载 · 221 次浏览