deployingtoproduction
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "deployingtoproduction":https://skillpi.com/zh/skills/deepskill-790698fa300d8d74f5f9b6a9062c21e7aaf5a79bb5dcf39f83001d1d6ca1baae。安装前核对上游来源和版本:https://github.com/littleben/awesomeAgentskills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
自动为 Next.js 网站创建 GitHub 仓库并部署到 Vercel。适用于部署新网站、推送到生产环境、设置 CI/CD 流水线,或在提及部署、GitHub、Vercel 或上线时使用。
介绍来源: third_party · littleben · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 适合谁
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: Deploying to Production
description: Automates GitHub repository creation and Vercel deployment for Next.js websites. Use when deploying new websites, pushing to production, setting up CI/CD pipelines, or when the user mentions deployment, GitHub, Vercel, or going live.Deploying to Production
Automated deployment workflow for Next.js websites using GitHub and Vercel.
When to use this Skill
- Creating a new website and need to deploy it
- Setting up GitHub repository for version control
- Deploying to Vercel production environment
- User mentions: "deploy", "GitHub", "Vercel", "go live", "publish"
Deployment Workflow
Copy this checklist and track your progress:
Deployment Progress:
- [ ] Step 1: Pre-deployment validation (build + E-E-A-T check)
- [ ] Step 2: Create GitHub repository
- [ ] Step 3: Push code to GitHub
- [ ] Step 4: Deploy to Vercel
- [ ] Step 5: Post-deployment verification
Step 1: Pre-deployment validation
Run build and verify no errors:
cd "$PROJECT_DIR"
npm run build
CRITICAL: Only proceed if build succeeds with no errors.
Pre-deployment checklist - See CHECKLIST.md for complete list:
- [ ]
npm run buildcompletes successfully - [ ] All environment variables configured
- [ ] E-E-A-T elements present (About page, author info)
- [ ] Core Web Vitals acceptable
- [ ] SEO meta tags complete
Step 2: Create GitHub repository
Run the script to create a private GitHub repository:
bash scripts/create-github-repo.sh <project-name>
What this script does:
- Creates a private GitHub repository
- Initializes Git (if needed)
- Commits all changes
- Pushes to GitHub
If the script fails, see TROUBLESHOOTING.md.
Step 3: Verify GitHub push
Check the repository URL:
gh repo view --web
Verify all files are pushed correctly.
Step 4: Deploy to Vercel
Run the deployment script:
bash scripts/deploy-to-vercel.sh <project-name>
What this script does:
- Links the project to Vercel
- Deploys to production environment
- Returns deployment URL
If deployment fails, see TROUBLESHOOTING.md.
Step 5: Post-deployment verification
Verify deployment:
- Visit the deployment URL
- Test core functionality:
- Homepage loads correctly
- Navigation works
- Core features functional
- Check Core Web Vitals (use PageSpeed Insights)
- Verify SEO meta tags (use browser inspector)
If issues found:
- Review Vercel build logs:
vercel logs - Check environment variables in Vercel dashboard
- Verify DNS settings (if custom domain)
- Return to Step 1 and fix issues
Only mark deployment complete when all verifications pass.
Script locations
All deployment scripts are in the scripts/ directory:
create-github-repo.sh- GitHub repository creationdeploy-to-vercel.sh- Vercel deployment
Important notes
Prerequisites:
- GitHub CLI (
gh) installed and authenticated - Vercel CLI installed and authenticated
- Project must be in
/Volumes/Time/go to wild/websites/directory
Project naming convention:
- Format:
keyword-site-lang(e.g.,pdf-converter-jp) - Use lowercase and hyphens only
Environment variables:
- Configure in Vercel dashboard after first deployment
- Required variables depend on project features (database, auth, etc.)
Next steps after deployment
-
Set up monitoring:
- Add Google Analytics or Plausible
- Configure Google Search Console
- Set up Vercel Analytics
-
Configure custom domain (if needed):
- Add domain in Vercel dashboard
- Update DNS records
- Wait for SSL certificate
-
Enable automatic deployments:
- Push to
mainbranch auto-deploys to production - Push to other branches creates preview deployments
- Push to
For detailed troubleshooting, see TROUBLESHOOTING.md.
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供完整的 Next.js 网站自动化部署工作流
- 解决开发者高频刚需的部署痛点
- 涵盖从代码推送到生产验证的全流程
亮点
- 触发词覆盖完整且边界清晰
- 支持多种部署相关场景的变体表达
亮点
- 五步式清晰部署流程
- 包含明确的出口条件和验证机制
- 提供端到端完整示例
待提升项
-
引用文件缺失 原报告严重程度:轻微
SKILL.md 引用了 CHECKLIST.md、TROUBLESHOOTING.md 和 scripts/ 目录文件,但这些文件未包含在 Skill 包中
改进建议:请确保所有被引用的文件都包含在 Skill 包中,或移除对这些文件的引用
-
硬编码路径限制 原报告严重程度:轻微
Prerequisites 中指定了硬编码路径 `/Volumes/Time/go to wild/websites/`,这可能不适用于所有用户环境
改进建议:建议将路径配置改为可配置参数或环境变量,提高 Skill 的通用性
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
调用命令或脚本
先读脚本与参数,使用普通权限和限定目录;安装或执行前由使用工具再次确认。
主文档提及 · 第 52, 77 行
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。