Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

release-runbook-author

БесплатноБез исполняемых скриптовНе проверен

Use when a service is about to ship and its release steps live only in people's heads or a chat thread, or a shared release window needs its cutover order…

testlandот testland★ 18 звёзд на GitHub

Об этом скилле

release-runbook-author

What this owns, and what it does not

This owns the single-service release runbook: the ordered phases one service walks from pre-flight to post-release, the pass criteria written at each phase, and the way each phase compares what it observes against a baseline. The failure mode it addresses is a release where the steps live in someone's head, so "is it healthy?" gets answered by whoever is awake.

The cross-team sequencing problem - several interdependent services, owned by several teams, that must change over in a dependency order inside one shared window - is a separate procedure, worked in references/cutover-sequence.md. The division is clean: that procedure decides which service goes when and who may say stop for the window; this runbook is what a single service runs inside the slot it was given. If your release touches one service, you need only the runbook.

It also does not own the statistics of canary analysis. Choosing a significance test, computing effect size, and correcting for the sample-size penalty of a small traffic share belong to a dedicated statistical comparison procedure. This runbook says which phase compares what against what, and what the runbook must state in advance. It stops at the point where you need a p-value.

The rule that governs every gate

Rollback is a named human decision made on evidence. It is never an automatic metric trigger. A crossed threshold halts the phase and puts a decision in front of a person; it does not choose the recovery. Published guidance lists three distinct recoveries from a bad deployment: rolling back (undo the changes, revert to the last known working configuration), rolling forward (fix the issue mid-rollout with a hotfix), and deploying new infrastructure (stand up the last known working configuration afresh) (Azure Well-Architected, safe deployment practices). A threshold cannot pick among three options.

What automation owns is the halt: when a health alert fires, "the rollout should immediately halt" and an investigation determines the next course of action (Azure Well-Architected, safe deployment practices). So write every threshold in the runbook as a condition that produces a decision, never one that produces an action.

Baseline first: the comparison convention every phase uses

The single most common way a release runbook produces a wrong verdict is reading a production number with nothing to read it against. A 1 percent error rate is alarming for one service and normal for another, and neither the runbook nor the person on the call can tell which without a baseline.

Record the baseline before the deploy starts. For each metric in the runbook: the same query, the same aggregation, over a window at least as long as the phase you will later compare it to. Write the values into the runbook as literals before phase 1 runs, not from memory afterwards.

Then state every phase's pass criterion as two conditions, both of which must hold:

Condition Shape Catches
Absolute floor "5xx rate at or below 0.5 percent" Unacceptable regardless of what the baseline was
Delta against baseline "5xx rate at or below 1.5 times baseline" A real regression that still sits under the absolute floor

During the canary phase the comparison has a stronger form available, and the runbook should use it. The canary is defined as "a partial and time-limited deployment of a change in a service and its evaluation", where "the part of the service that receives the change is 'the canary,' and the remainder of the service is 'the control'" (Google SRE Workbook, Canarying Releases). The control is running concurrently, on the same traffic mix, at the same hour, so it removes the confounders a time-shifted baseline leaves in. The mechanism that makes it usable is per-population breakdown: "If we break down metrics by population servicing the request (the canary versus the control), we can observe the separate metrics" (Google SRE Workbook, Canarying Releases). If your dashboards cannot split by deployment version, fix that before writing a canary phase, because an aggregate number dilutes the canary's signal by exactly its traffic share.

Which comparison each phase gets:

Phase What is observed Compared against Comparison shape
1. Pre-flight Discrete facts about the build Nothing Binary pass or fail, with evidence per row
2. Smoke gate Suite result on the target environment The last green run of the same suite Absolute: zero failures
3. Canary Metrics of the canary population The
Полный SKILL.md на GitHub

Установить release-runbook-author в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.tessl-plugin/plugin.jsonreferences/anti-patterns.mdreferences/cutover-anti-patterns.mdreferences/cutover-output-template.mdreferences/cutover-sequence.mdreferences/cutover-worked-example.mdreferences/output-template.mdreferences/worked-example.md

FAQ

Что делает скилл release-runbook-author?

Use when a service is about to ship and its release steps live only in people's heads or a chat thread, or a shared release window needs its cutover order. Writes a six-phase runbook (pre-flight, smoke, canary, promote gate, rollout, verification) with baseline-relative criteria and rollback paths.

Как установить скилл release-runbook-author?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл release-runbook-author запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить release-runbook-author с