deploy-checklist

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

/deploy-checklist

/deploy-checklist

If you see unfamiliar placeholders or need to check which tools are connected, see CONNECTORS.md.
Generate a pre-deployment checklist to verify readiness before shipping.
如果遇到不熟悉的占位符或需要查看已连接的工具,请参阅CONNECTORS.md
生成预部署清单,在发布前验证准备情况。

Usage

使用方法

/deploy-checklist $ARGUMENTS
/deploy-checklist $ARGUMENTS

Output

输出

markdown
undefined
markdown
undefined

Deploy Checklist: [Service/Release]

部署清单:[服务/版本]

Date: [Date] | Deployer: [Name]
日期:[日期] | 部署人员:[姓名]

Pre-Deploy

部署前

  • All tests passing in CI
  • Code reviewed and approved
  • No known critical bugs in release
  • Database migrations tested (if applicable)
  • Feature flags configured (if applicable)
  • Rollback plan documented
  • On-call team notified
  • CI中所有测试通过
  • 代码已评审并获得批准
  • 版本中无已知严重漏洞
  • 数据库迁移已测试(如适用)
  • Feature Flags已配置(如适用)
  • 回滚计划已记录
  • 值班团队已收到通知

Deploy

部署中

  • Deploy to staging and verify
  • Run smoke tests
  • Deploy to production (canary if available)
  • Monitor error rates and latency for 15 min
  • Verify key user flows
  • 部署到预发布环境并验证
  • 运行冒烟测试
  • 部署到生产环境(如有可用则采用金丝雀部署)
  • 监控错误率和延迟15分钟
  • 验证关键用户流程

Post-Deploy

部署后

  • Confirm metrics are nominal
  • Update release notes / changelog
  • Notify stakeholders
  • Close related tickets
  • 确认指标正常
  • 更新发布说明/变更日志
  • 通知相关人员
  • 关闭相关工单

Rollback Triggers

回滚触发条件

  • Error rate exceeds [X]%
  • P50 latency exceeds [X]ms
  • [Critical user flow] fails
undefined
  • 错误率超过[X]%
  • P50延迟超过[X]毫秒
  • [关键用户流程]失败
undefined

Customization

自定义

Tell me about your deploy and I'll customize the checklist:
  • "We use feature flags" → adds flag verification steps
  • "This includes a database migration" → adds migration-specific checks
  • "This is a breaking API change" → adds consumer notification steps
告知我你的部署需求,我会自定义清单:
  • "我们使用Feature Flags" → 添加标志验证步骤
  • "本次包含数据库迁移" → 添加迁移专属检查项
  • "这是一个破坏性API变更" → 添加消费者通知步骤

If Connectors Available

若已连接连接器

If ~~source control is connected:
  • Pull the release diff and list of changes
  • Verify all PRs are approved and merged
If ~~CI/CD is connected:
  • Check build and test status automatically
  • Verify pipeline is green before deploy
If ~~monitoring is connected:
  • Pre-fill rollback trigger thresholds from current baselines
  • Set up post-deploy metric watch
如果已连接~~版本控制
  • 拉取版本差异和变更列表
  • 验证所有PR已获批并合并
如果已连接~~CI/CD
  • 自动检查构建和测试状态
  • 部署前验证流水线状态为绿色
如果已连接~~监控
  • 从当前基线预填充回滚触发阈值
  • 设置部署后指标监控

Tips

提示

  1. Run before every deploy — Even routine ones. Checklists prevent "I forgot to..."
  2. Customize once, reuse — Tell me your stack and I'll remember your deploy process.
  3. Include rollback criteria — Decide when to roll back before you deploy, not during.
  1. 每次部署前都要运行 —— 即使是常规部署。清单可避免“我忘了……”的情况
  2. 自定义一次,重复使用 —— 告知我你的技术栈,我会记住你的部署流程。
  3. 包含回滚标准 —— 在部署前就确定回滚条件,而非部署过程中。