/everything-copilot-cli:deployment-canaryfrom everything-copilot-cli
Formalizes the canary phase between deployment and full rollout: defines success signals, watch windows, rollback triggers, and investigation handoffs.
Ships in everything-copilot-cli. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A release is not done when it is deployed — it is done when it survives contact with real traffic. This skill formalizes the canary phase between "ship" and "fully rolled out": define what healthy looks like, watch the right signals, and rollback fast when the evidence says to.
| Instead of deployment-canary | Use |
|---|---|
| Packaging a library with no runtime environment | release plus smoke install checks |
| Running the response to a confirmed incident that affects users | incident-response, then systematic-debugging for the root cause |
| Deciding whether to ship at all | council or launch-strategy |
Before watching dashboards, define the exact terms for success and failure:
> Prepare a canary contract for release [version/build]:
> - Scope: what percentage, which region, or which customer cohort
> - Watch window: how long the canary must stay healthy
> - Primary signals: error rate, latency, saturation, business KPI
> - Rollback triggers: exact thresholds that stop promotion
> - Owners: who decides promote / hold / rollback
At minimum, define:
Track the checks explicitly instead of keeping them in chat history:
CREATE TABLE IF NOT EXISTS canary_checks (
id TEXT PRIMARY KEY,
signal TEXT NOT NULL,
baseline TEXT,
threshold TEXT NOT NULL,
owner TEXT,
status TEXT DEFAULT 'watching', -- watching | healthy | breached | investigating | rolled_back
notes TEXT
);
INSERT INTO canary_checks (id, signal, baseline, threshold, owner, notes) VALUES
('api-errors', '5xx error rate', '<0.3%', 'rollback if >0.8% for 10m', 'oncall', 'Compare to previous release baseline'),
('api-latency', 'p95 latency', '420ms', 'hold if >650ms for 15m', 'backend', 'Use the production dashboard'),
('biz-kpi', 'checkout success rate', '97.2%', 'rollback if <96.5%', 'product', 'Business health guardrail');
If the release touches multiple subsystems, separate checks by component so one breach does not get hidden inside a blended dashboard.
Document the exact release and blast radius:
> We are starting canary for [release] at [time].
> Scope: [traffic slice / cohort / region]
> Watch for: [top 3 signals]
> Rollback if: [explicit thresholds]
Useful operational questions:
Do not watch only infrastructure graphs. Use three layers:
| Layer | Examples | Why it matters |
|---|---|---|
| System health | 5xx rate, p95 latency, queue depth, CPU, memory | Detect operational regressions quickly |
| User journey | login success, checkout completion, API success ratio | Detect failures users feel directly |
| Business guardrails | conversion, activation, payment completion | Detect silent but expensive regressions |
Prompt Copilot with the specific signals:
> Evaluate this canary using the agreed thresholds.
> Tell me whether the result is PROMOTE, HOLD, or ROLLBACK.
> If HOLD or ROLLBACK, cite the breached signals and likely blast radius.
If a signal breaches, do not immediately patch at random.
> A canary guardrail breached.
> Start an investigation summary:
> - Which signal moved first?
> - Which release change most plausibly explains it?
> - What evidence would confirm or falsify that hypothesis?
> - Should we rollback now or continue the investigation in parallel?
Use systematic-debugging for the root-cause phase once the incident is contained.
Containment first, diagnosis second.
Make the decision explicit:
PROMOTE — all required signals stayed inside thresholds for the full watch window
HOLD — no critical breach, but confidence is not high enough to expand safely
ROLLBACK — one or more hard rollback triggers fired
Decision rules:
Every canary should improve the next release:
> Summarize the canary outcome:
> - What signals were most informative?
> - Which thresholds were too loose or too strict?
> - What dashboard, alert, or rollout automation should change before the next release?
Feed the result into sprint-retro or the next release checklist.
> Run a canary review for api:v2.4.0.
> Scope: 10% traffic in us-east.
> Watch window: 45 minutes.
> Hard rollback triggers:
> - 5xx rate > 1%
> - p95 latency > baseline + 250ms
> - login success rate drops below 98%
> We enabled the new onboarding flow for 50 internal users.
> Build a canary checklist with:
> - user journey checkpoints
> - product KPI guardrails
> - rollback criteria if completion drops or support tickets spike
| Rationalization | Reality |
|---|---|
| "The deploy succeeded, so the release is good" | Deployment success says nothing about runtime correctness under real traffic. |
| "Let's just watch one dashboard" | Single dashboards hide user-facing and business regressions. |
| "We can investigate before rolling back" | If rollback criteria are met, contain first. Guessing while impact grows is not discipline. |
| "The signal is probably noisy" | Noisy signals need better thresholds, not wishful interpretation during a live canary. |
release — release preparation, tagging, and rollout handoffsprint-workflow — end-to-end delivery now including monitoringsystematic-debugging — root-cause workflow after containmentsprint-retro — fold canary lessons into the next sprintWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub drvoss/everything-copilot-cli --plugin everything-copilot-cli115 skills in this plugin
/actions-debuggingUse when a GitHub Actions workflow fails — diagnose the run log, identify the root cause, and apply a targeted fix/add-to-changelogUse when you've shipped a feature, fix, or breaking change and need to update CHANGELOG.md — follows Keep a Changelog format and syncs version numbers across package manifests./agent-governanceUse when designing or reviewing an AI agent system that needs policy-based access controls, intent classification, tool-level rate limiting, trust scoring for multi-agent workflows, or append-only audit trails.
Other plugins' skills for the same job