deployment-strategy-canary
Design canary rollout strategy with progressive traffic steps, guardrail metrics, and automated stop/rollback decisions. Use when releases need incremental risk containment and evidence-based promotion gates; do not use for full-environment cutover planning where blue-green is required.
Works with
--- name: deployment-strategy-canary description: Design canary rollout strategy with progressive traffic steps, guardrail metrics, and automated stop/rollback decisions. Use when releases need incremental risk containment and evidence-based promotion gates; do not use for full-environment cutover planning where blue-green is required. license: Apache-2.0 --- # Deployment Strategy Canary ## Overview Use this skill to release changes gradually while measuring real-user impact before broad rollout. ## Scope Boundaries - Use this skill when the task matches the trigger condition described in `description`. - Do not use this skill when the primary task falls outside this skill's domain. ## Shared References - Promotion and stop decision rules: - `references/canary-promotion-rules.md` ## Templates And Assets - Rollout plan template: - `assets/canary-rollout-plan-template.md` - Guardrail matrix template: - `assets/canary-guardrail-matrix-template.csv` ## Inputs To Gather - Critical SLOs and business guardrail metrics. - Traffic segmentation options (region, tenant, cohort). - Maximum acceptable degradation and rollback thresholds. - Release window and incident response readiness. ## Deliverables - Canary progression plan (percentage/time/gates). - Guardrail matrix and promotion rules. - Automatic stop/rollback policy. - Post-promotion verification and observation window plan. ## Quick Progression Example - Steps: 1% -> 5% -> 20% -> 50% -> 100%. - Hold at each step for fixed minimum time and metric stability checks. - Auto-rollback if error rate rises > threshold or SLO drops below floor. ## Quality Standard - Promotion gates are objective and pre-registered. - Guardrails include technical and business impact signals. - Rollback automation/authority is clearly defined. - Segment choice avoids exposing highest-risk cohorts first. ## Workflow 1. Define canary audience and progression steps in `assets/canary-rollout-plan-template.md`. 2. Set promotion and rollback criteria for each step using `assets/canary-guardrail-matrix-template.csv`. 3. Deploy canary and monitor guardrails in real time. 4. Promote only when criteria pass under `references/canary-promotion-rules.md`; otherwise stop/rollback. 5. Complete rollout and run post-release verification. ## Failure Conditions - Stop when promotion criteria are ambiguous or non-measurable. - Stop when telemetry cannot detect regressions quickly. - Escalate when rollback path is manual-only for high-criticality services.
More Deployment & CI/CD skills
azure-enterprise-infra-planner
microsoft/azure-skills
Architect and provision enterprise Azure infrastructure from workload descriptions. For cloud architects and platform engineers planning networking, identity, security, compliance, and multi-resource topologies with WAF alignment. Generates Bicep or Terraform directly (no azd). WHEN: 'plan Azure infrastructure', 'architect Azure landing zone', 'design hub-spoke network', 'plan multi-region DR topology', 'set up VNets firewalls and private endpoints', 'subscription-scope Bicep deployment', 'Azure Backup for VM workloads'. PREFER azure-prepare FOR app-centric workflows.
azure-kubernetes-app-deploy
microsoft/azure-skills
Use when deploying an existing web application or API to an already-running Azure Kubernetes Service cluster. Detects the framework, generates a Dockerfile and Kubernetes manifests, validates against AKS Deployment Safeguards, and deploys with verification. WHEN: deploy app to AKS, deploy to existing AKS cluster, containerize app for Kubernetes, generate K8s manifests for Azure, set up CI/CD for AKS, my AKS deployment is failing safeguard checks, I have a Django/Express/Spring Boot app to run on AKS. DO NOT USE FOR: creating or provisioning an AKS cluster (use azure-kubernetes), assessing migration to AKS Automatic (use azure-kubernetes-automatic-readiness), or deploying to non-AKS targets like Web Apps, Container Apps, or Functions.
finetuning
microsoft/azure-skills
Fine-tune models on Microsoft Foundry using SFT (supervised), DPO (preference), or RFT (reinforcement with graders). Covers dataset preparation, training job submission, deployment, and evaluation. USE FOR: fine-tune, SFT, DPO, RFT, training data, grader, distillation, fine-tuned model, training job, large file upload, calibrate grader, deploy fine-tuned model, evaluate fine-tuned model. DO NOT USE FOR: general model deployment without fine-tuning (use deploy-model), agent creation (use agents), prompt optimization without training (use prompt-optimizer).

