Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
deployment-checklist【部署与运维】Run a pre and post-deployment checklist. Use when the user says "deploy to production", "deployment checklist", "release checklist", "pre-deploy checks", "is this ready to deploy", "deployment readiness", "reduce deployment risk", "change management", or is about to ship code to production and wants to reduce failure risk - even if they don't explici…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: deployment-checklist description: > Run a pre and post-deployment checklist. Use when the user says "deploy to production", "deployment checklist", "release checklist", "pre-deploy checks", "is this ready to deploy", "deployment readiness", "reduce deployment risk", "change management", or is about to ship code to production and wants to reduce failure risk
Based on "The Checklist Manifesto" by Atul Gawande and "Accelerate" by Forsgren, Humble & Kim.
Gawande's insight: checklists don't exist because people are stupid - they exist because complex, high-pressure situations cause smart people to skip steps they know matter. A pre-deployment checklist is not bureaucracy; it's the discipline that separates teams with 15% change failure rates from teams with 60%.
Accelerate's finding: high-performing teams deploy more frequently AND have lower failure rates. The checklist is what enables speed without sacrificing safety.
Run before every production deployment:
Code and testing:
TODO: fix before deploy comments in the diffDeployment mechanics:
Dependencies and coordination:
Data and migrations:
During the deploy:
Deploy log entry:
Date/time: [start] to [end]
Deployer: [name]
Change: [what was deployed, link to PR/ticket]
Result: [Success / Rolled back]
Notes: [anything unusual observed]
Run within 30 minutes of deployment:
Roll back immediately if:
Do not wait to diagnose before rolling back. Restore first, investigate after.
1. Skipping the checklist under time pressure Bad: "We need to deploy this hotfix now, no time for checks." Good: A 5-minute checklist prevents a 2-hour incident. The checklist is fastest under pressure, not slowest.
2. Deploying during peak traffic Bad: Deploying at 2pm on a Friday. Good: Deploy during low-traffic windows. Know your traffic patterns before setting deployment windows.
3. No rollback plan Bad: "If something goes wrong, we'll figure it out." Good: Rollback steps documented before every deploy. Tested quarterly.
4. Checking boxes without checking Bad: Marking checklist items as done without actually verifying them. Good: Gawande's insight: the checklist is a discipline tool, not a paperwork exercise. Each box represents a real check.