AgentSkillsCN

deploy-checklist

针对Vercel托管的Next.js项目,在部署前进行预部署验证。在用户提及“部署”“上线”或“发布”时使用。

SKILL.md
--- frontmatter
name: deploy-checklist
description: Pre-deployment verification for Vercel-hosted Next.js projects. Use before deploying or when user mentions deploy, ship, or release.

Deploy Checklist

Before any deployment, verify:

Code Quality

  1. Run npm run typecheck — zero errors
  2. Run npm run lint — zero warnings
  3. Run npm test — all passing

Environment

  1. Check .env.example is up to date with any new variables
  2. Verify Vercel environment variables are set for production
  3. Confirm no hardcoded localhost URLs or dev API keys

Database

  1. Run npx prisma migrate status — no pending migrations
  2. Verify migration is safe (no destructive changes without confirmation)

Stripe (if SkillsFrame)

  1. Confirm webhook endpoint is registered in Stripe dashboard
  2. Verify webhook signing secret is in production env

Final

  1. Create a git tag: git tag -a v{version} -m "Release {version}"
  2. Push: git push origin main --tags

Report any failures. Do NOT proceed if any check fails.