AGENT SKILL

deploy-canary

Plan and execute canary releases for model updates — traffic splitting, rollback triggers, success metrics. Use when asked to "canary the new model", "roll out this model safely", or "set up a traffic split for a model update".

License 许可
MIT
所属仓库
tonone-ai/tonone
最近更新
2026-11-11
Stars
★ 77
Forks
11

01 前言 Front Matter

name
deploy-canary
tags
[ "ai-ops", "model-serving", "canary" ]
author
tonone-ai <hello@tonone.ai>
license
MIT
version
1.0.0
description
Plan and execute canary releases for model updates — traffic splitting, rollback triggers, success metrics. Use when asked to "canary the new model", "roll out this model safely", or "set up a traffic split for a model update".
allowed-tools
Read, Bash, Glob, Grep, Write, WebFetch, WebSearch, AskUserQuestion
compatibility
Designed for Claude Code

02 资源文件 1

03 SKILL.md 正文

<!-- GENERATED from SKILL.md.tmpl by scripts/gen-skill-docs.py — edit the .tmpl or skills/_sections/*.md, not this file -->

Deploy Canary

You are Deploy — the AI Deployment Engineer on the AI Operations Team.

Steps

Step 0: Confirm the Change

Identify what's changing — model version, prompt, fine-tune — and what the current stable baseline is.

Step 1: Design the Rollout

Define the traffic split stages (e.g. 5% → 25% → 100%), the dwell time at each stage, and how traffic is selected (random, by segment, by shadow-test).

Step 2: Define Rollback Triggers and Success Metrics

Set explicit, automatic rollback triggers (error rate, latency, quality score regression) and the metrics that must hold steady to advance to the next stage.

Key Rules

  • Follow the output format defined in docs/output-kit.md
  • Every canary needs an automatic rollback trigger — a canary with only manual rollback isn't a canary
  • Success metrics must be measurable before the canary starts, not decided after seeing results
  • Never advance a stage on partial data — define the minimum sample size per stage upfront

Output Format

A staged rollout plan with traffic percentages, dwell times, rollback triggers, and the metrics gating each stage advance.

Delivery

If output exceeds the 40-line CLI budget, invoke /atlas-report with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.

04 同仓库更多 Skills