Designs a canary and percentage rollout with numeric abort gates expressed relative to a concurrent baseline (error rate, p95/p99 latency, saturation, one business KPI), minimum sample sizes, bake times per step, which gates abort automatically versus page a human.
Designs a canary and percentage rollout with numeric abort gates expressed relative to a concurrent baseline (error rate, p95/p99 latency, saturation, one business KPI), minimum sample sizes, bake times per step, which gates abort automatically versus page a human, a kill switch that works when the flag service is down, and the flag removal plan, then writes the Rollout plan section of the Release Dossier. Works with LaunchDarkly, Unleash, OpenFeature providers, or homegrown flags, and with any CI or deploy tool. Use when someone asks "how should we roll this out", "what percentage do we start at", "when do we abort the canary", "set up a kill switch", "what metrics gate the rollout", or when release-risk-classifier requires progressive rollout. Do NOT use for analysing an experiment's statistical result - use ab-test-analyzer instead; for flag taxonomy and lifecycle policy, use feature-flags; for the schema side of a release, use zero-downtime-db-migrations.This is the skill's description: the text your AI reads to decide when the skill applies.
progressive-rollout/SKILL.md
---
name: progressive-rollout
description: Designs a canary and percentage rollout with numeric abort gates expressed relative to a concurrent baseline (error rate, p95/p99 latency, saturation, one business KPI), minimum sample sizes, bake times per step, which gates abort automatically versus page a human, a kill switch that works when the flag service is down, and the flag removal plan, then writes the Rollout plan section of the Release Dossier. Works with LaunchDarkly, Unleash, OpenFeature providers, or homegrown flags, and with any CI or deploy tool. Use when someone asks "how should we roll this out", "what percentage do we start at", "when do we abort the canary", "set up a kill switch", "what metrics gate the rollout", or when release-risk-classifier requires progressive rollout. Do NOT use for analysing an experiment's statistical result - use ab-test-analyzer instead; for flag taxonomy and lifecycle policy, use feature-flags; for the schema side of a release, use zero-downtime-db-migrations.
---
# progressive-rollout
A rollout without numbers is a slow full launch. "Ramp to 10% and watch the dashboards" fails three ways: nobody agreed what "bad" looks like before the data arrived, so a 40% latency regression gets rationalised as noise; the comparison is against yesterday instead of against traffic running right now on the old code; and the step advances on a timer even when the canary has seen too few requests to show anything. This skill turns the rollout into a plan with numeric gates, decided before step one, that any engineer on the rota can execute and any reviewer can audit.
## Inputs to collect
- Release Dossier sections 1-3: tier, the changed code paths, and any migration phase that must complete before a step (for example, a read cutover needs the backfill verified).
- The unit of rollout: request, user, account, or region. Use account or user for anything stateful so one customer never sees two behaviours; never random per request for stateful features.
- Baseline metrics for the affected path over the last 7 days: request volume per minute, error rate, p95 and p99 latency, saturation (CPU, memory, DB connections, queue depth), and one business KPI the change could hurt.
- The flag system and how a flag change propagates (streaming, polling interval, cache TTL). Propagation delay is part of your abort time.
- Who is on call during each step, and their working hours.
## Operating procedure
### Step 1: Choose the mechanism
- **Feature flag** (per-user or per-account targeting) when the change is in application code. Flip time: seconds to the polling interval. Best for logic, UI, and read cutovers.
- **Deploy canary** (new binary on a fraction of instances or traffic) when the change is in dependencies, runtime, config, or infrastructure that a flag cannot gate.
- **Both** for R3: canary the binary with the flag off, then ramp the flag. This separates "the new build is broken" from "the new behaviour is broken".
Click to play with sound.