deployment-plan skill transforms a production deployment from a high-anxiety event into a controlled, repeatable, and reversible procedure. For any service release or infrastructure change, it selects the right deployment strategy — Direct, Rolling, Blue-Green, Canary, or Feature Flag — based on your risk profile and infrastructure, writes the step-by-step execution runsheet with exact commands, defines measurable go/no-go criteria, specifies post-deployment monitoring thresholds, and documents the complete rollback procedure before a single step is executed. This is an always-core skill: DORA research shows that organisations with documented deployment plans deploy more frequently and recover more quickly from failures.
Type: Workflow · Estimated time: 2–4 hours · Standards: DORA metrics, blue-green/canary/rolling deployment strategies · Output file:
16-deployment-plan.md · Inclusion: Always-core — every non-trivial production releaseBest for
New service production deployment
Document exactly how a brand-new service will land in production, including environment specs, pipeline steps, and first-deploy verification.
Major feature release runsheet
Produce the step-by-step execution guide for a high-risk feature release — especially one that includes database migrations.
Standard deployment runsheet
Establish the reusable deployment procedure for a service that deploys frequently, so every release follows the same verified sequence.
High-risk migration or infrastructure change
Plan database schema changes, runtime upgrades, or IaC changes where the blast radius requires explicit pre-flight verification and a tested rollback.
What it produces
The skill outputs16-deployment-plan.md, a document read by the deployment engineer, the on-call responder, and post-incident reviewers:
- Release summary — what is being deployed (code / DB migration / config / infra), motivation, deployment freeze status, overall risk assessment
- IaC and multi-service coordination sections —
terraform planreview checklist, DNS TTL pre-lowering steps, deployment dependency DAG for multi-service releases - Deployment strategy selection — chosen strategy with rationale; Mermaid strategy diagram; for Canary: full promotion criteria table with metric thresholds, comparison tool, and promotion authority
- Pre-deployment go/no-go checklist — every criterion must be checked before a single deployment step begins; binary pass/fail gate
- Environment specifications — production component inventory and full deployment pipeline diagram
- Execution runsheet — numbered, checkbox-driven steps from T−30 min through go-live, covering pre-deployment, database migrations (with ordering rules), application deployment, container/Kubernetes/ECS variants, smoke tests, and feature flag activation
- Monitoring plan — key metrics table with baseline, alert threshold, and action; dashboard links; 30-minute post-deployment observation log
- Post-deployment verification automation — synthetic monitoring, canary analysis, automated rollback triggers
- Rollback plan — numbered rollback steps, estimated rollback time, rollback triggers, decision authority (no approval required), data loss assessment
- Communication plan — who gets notified, on which channel, with what message, at which event
- Post-deployment sign-off — deployment lead signature block
How to invoke it
Example scenarios
Key concepts
Deployment strategy decision matrix
The skill selects one of five strategies based on risk tolerance, downtime tolerance, and infrastructure capability:Canary deployment and promotion criteria
For canary deployments, the strategy definition includes the full promotion ladder before the deployment window opens:
Comparison thresholds are defined against measurable baselines:
Go/no-go gate
Every deployment plan includes a binary go/no-go checklist. All items must be checked before deployment begins — this is not optional, and no single item can be skipped with a “we’ll deal with it after”:- Release code-reviewed and approved by at least one senior engineer
- All automated tests pass on the release branch (CI green)
- Release deployed to staging and smoke-tested (date and tester named)
- Database backup verified (taken and confirmed restorable)
- Rollback procedure reviewed and tested on staging
- On-call engineer confirmed available for the full deployment window
- Monitoring dashboards accessible
- Feature flags set to
OFFfor any flag-based features
Database migration ordering rule
The skill enforces a critical sequence for database migrations:- Additive migrations (new tables, new nullable columns) — run before new application code deploys. Old code still works with the new schema, new code works with it too. If the deploy fails, roll back the code; the schema change is harmless.
- Destructive or breaking migrations — require a multi-phase migration strategy across multiple deployments, never a single deploy. The skill flags this and designs the appropriate sequence.
IaC and infrastructure changes
When the deployment includes Terraform, Pulumi, CloudFormation, or CDK changes, the plan applies the same rigour as application code:terraform planoutput reviewed and matched to expected changes beforeapply- Blast radius assessed: new resources created vs. resources modified vs. resources destroyed (destroying and recreating a database is not the same as updating a security group rule)
- Remote state lock confirmed for the deployment window
- IaC-specific rollback steps documented (infrastructure rollbacks often require another
apply, not a symlink swap) - Configuration drift checked before the window opens
Monitoring plan and post-deployment verification
The plan specifies 30 minutes of active monitoring after smoke tests pass, with a log table filled every 10 minutes:
Post-deployment verification automation runs synthetic user journeys every few minutes — tools like Checkly or Datadog Synthetics — so a slow-burn regression is caught before the deployment lead closes their laptop.
DORA metrics — what good looks like
The skill is informed by DORA research on high-performing engineering teams:
A written deployment plan — with a tested rollback — is the single highest-leverage change a team can make to improve MTTR.
Interview process
The skill reads all prior.engineering-docs/ documents first (business plan for uptime requirements, architecture for infrastructure topology, test strategy for CI gates, implementation plan for migration requirements). It then asks a maximum of 2–3 targeted questions via tool calls:
Output structure
Full document section map
Full document section map
Execution runsheet structure
The runsheet uses numbered, checkbox-driven steps so any engineer can execute it without additional context. Each step is a complete, verifiable action:-
5.2.1 Run migration before application code deploy:
-
5.4.1 Health check endpoint returns 200:
