К основному содержанию
скилл CX Codex

sre-release-and-launch — скилл для Claude Code: релизы и запуск

Скилл sre-release-and-launch для Claude Code помогает спланировать выпуск кода и подготовить сервис к запуску. Он подключается при настройке выкатки, анализа canary или проверки production readiness.

Apache-2.0 ★ 67 обновлён 2026-10-22

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add paulip114/sre-practice-skills --skill sre-release-and-launch -a claude-code
Открыть на GitHub

Что делает sre-release-and-launch

Скилл разбирает процесс доставки кода и конфигурации в production: от воспроизводимых сборок и постепенной выкатки до анализа canary и отката. Для подготовки запуска он предлагает пройти чек-лист по зависимостям, нагрузке, отказам, мониторингу и плану отката; путь к чек-листу — references/launch-checklist.md.

Внутри описаны правила проверки конфигурации, тестирования надёжности и оценки готовности сервиса. Для canary нужно заранее определить контрольную группу, метрики и условия pass/fail; на каждом этапе выкатки проводится оценка. Откат должен быть проверен, а для запуска предусмотрен kill switch.

Какие задачи решает

  • спланировать постепенную выкатку изменения
  • сравнить canary с контрольной группой
  • проверить готовность сервиса к production
  • составить план отката и kill switch
  • оценить процесс релиза по чек-листу

Примеры запросов агенту

  • Спланируй постепенный релиз этой версии с canary и условиями отката.
  • Проверь готовность сервиса к запуску по references/launch-checklist.md.
  • Разбери наш процесс релиза: как проверять конфигурацию и откатывать изменения?

Как установить sre-release-and-launch

1Через Skills CLI (Vercel)

npx skills add paulip114/sre-practice-skills --skill sre-release-and-launch -a claude-code

2Вручную: положить файлы

~/.claude/skills/sre-release-and-launch/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/sre-release-and-launch/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о sre-release-and-launch

Как установить sre-release-and-launch в Claude Code?

Выполни npx skills add paulip114/sre-practice-skills --skill sre-release-and-launch -a claude-code. Файл скилла появится по пути ~/.claude/skills/sre-release-and-launch/SKILL.md.

Что делает sre-release-and-launch?

Помогает проектировать выпуск кода и конфигурации, постепенную выкатку с canary-анализом и подготовку сервиса к запуску. Также охватывает проверки конфигурации, надёжности и отката.

Как скилл предлагает оценивать canary?

Сравнивать небольшую часть production с контрольной группой на старой версии, используя заранее выбранные метрики и условия pass/fail. Решение оценивается на каждом этапе выкатки.

Исходный текст

SKILL.md · Apache-2.0
---
name: sre-release-and-launch
description: Use when designing how code and config reach production (hermetic builds, progressive rollouts, canary analysis, rollback, config validation, reliability testing) or preparing a service or feature for launch (launch checklist, production readiness review, SRE engagement). Based on Google SRE practice.
---

# Releases, Canarying and Launch Readiness

Change is the biggest source of outages. Make each change small, gradual, observable and reversible, and make launches repeatable and boring.

## Releases, Canarying and Configuration

Change is the biggest source of outages. Make change small, gradual, observable and reversible.

### Release engineering principles

- **Self-service** — teams release on their own cadence through a shared, automated pipeline.
- **High velocity** — frequent small releases are easier to debug and roll back than big ones.
- **Hermetic, reproducible builds** — same inputs give the same binary regardless of machine; pinned toolchains and dependencies.
- **Enforced policy** — code review, who may release, which tests must pass; all audited.
- Every release is identifiable (version visible in monitoring) and **rollback is one command**, tested regularly.

### Canarying procedure

A canary exposes a small part of production to the change and compares it against a control before going further.

1. **Choose the population**: small enough to limit damage, big enough to give signal. Representative of real traffic (regions, client types).
2. **Run a control** of the same size on the old version at the same time, so traffic patterns affect both equally. Comparing against the rest of the fleet or against "yesterday" gives noisy results.
3. **Choose evaluation metrics**: SLIs (errors, latency) plus a few health signals (crashes, CPU/memory). Prefer few, well-understood metrics; too many guarantee false alarms. Metrics should be attributable to the canary population.
4. **Choose duration**: long enough to cover warm-up and representative load; consider time-of-day effects. Faster stages for low-risk changes, slower for high-risk.
5. **Define pass/fail before starting** (e.g. canary error ratio not worse than control by more than a set margin).
6. **Stage the rollout**: e.g. 1% → 10% → 50% → 100%, with evaluation at each stage; don't spread to many failure domains at once.
7. **Automate the decision** where possible, with automatic rollback on failure.
8. **One change per canary.** Don't canary multiple changes together; you won't know which caused a regression.

Why it matters for tight SLOs: a 1% canary that breaks everything it touches burns budget ~100× slower than a full rollout, buying time to react.

Also canary **configuration pushes, flag flips, schema changes and infrastructure changes**, not just binaries.

### Configuration design

- Separate **configuration philosophy** (what the user is asked to decide) from **mechanics** (language, storage, delivery).
- Ask users for as little as possible; provide good **defaults** and make the simple case simple.
- Treat config as code: version control, review, tests, staged rollout, rollback.
- **Validate** syntactically and semantically before push (types, ranges, references exist, would this drop capacity below N?). Validation must reject empty/missing values rather than treat them as "all".
- Prefer config languages that support abstraction and checks (e.g. Jsonnet, CUE) over sprawling copy-pasted YAML once complexity grows; keep evaluation hermetic and side-effect free.
- Make the effective config **observable** at runtime (introspection endpoint), and diffable against last known good.
- Guard against catastrophic edits: caps on % of fleet or capacity a single push can affect.

### Testing for reliability

- **Unit and integration tests** in CI; **system tests** (smoke, performance, regression) before release.
- **Production tests**: probers that continuously exercise critical journeys; config tests that verify production config matches what's checked in.
- **Load/stress tests** to find breaking points (`sre-capacity-and-system-design`).
- **Disaster and failure-injection tests** to prove failover and recovery work.
- Test the **rollback** path, not just roll-forward.

### Review checklist for a release process

- [ ] Builds hermetic and reproducible; artifacts versioned and signed?
- [ ] Rollout progressive with automated canary analysis and a control?
- [ ] Rollback one step, tested, fast?
- [ ] Config changes go through the same pipeline and validation?
- [ ] Releases avoided at times with poor coverage (weekends/holidays) unless on-call is staffed?
- [ ] Version and config visible in monitoring and annotated on dashboards?

## Launch and Production Readiness

Launches are where new failure modes enter production. A repeatable checklist and a clear engagement model make them boring.

### Launch coordination

Assign a **launch coordinator** (Google calls them Launch Coordination Engineers) who owns the checklist, involves the right teams early, and has authority to delay launches that aren't ready. Size the process to the risk: a small UI change doesn't need the full review a new service does.

Work through `references/launch-checklist.md` with the owning team. Typical areas:

- **Architecture and dependencies** — request flow, every dependency, what happens when each one fails or is slow; no hidden single points of failure.
- **Capacity** — expected load at launch and growth, load tests, provisioning for peak plus loss of a failure domain, quota with dependencies.
- **Failure modes** — behavior under overload, partial failure, bad input; graceful degradation path.
- **Client behavior** — retries with backoff and jitter, no synchronized polling, rate limits.
- **Processes and automation** — deploy, rollback, scaling and failover automated; manual steps documented.
- **Development process** — code review, tests, canarying (*Canarying procedure* above).
- **External dependencies** — third parties with SLAs, fallback if they fail.
- **Monitoring and alerting** — SLIs/SLOs defined, alerts routed, dashboards built, runbooks written (`sre-slos-and-error-budgets`, `sre-monitoring-and-alerting`).
- **Security and privacy** — reviews done, data handling, abuse prevention.
- **Rollout plan** — gradual (feature flags, staged %), dark launch where useful, a tested rollback and a kill switch.

### Launch techniques that reduce risk

- **Gradual, staged rollouts** with go/no-go evaluation at each stage.
- **Feature flags** to decouple deploying code from enabling behavior.
- **Dark launches**: send real traffic to the new path without showing results to users, to test load and correctness.
- **Plan for overload and "thundering herds"** at launch time (marketing events, client auto-updates hitting simultaneously).

### Production Readiness Review (PRR)

Before SRE (or any ops-owning team) takes on a service, review it against production standards:

1. **Engage early** — ideally in design, when changes are cheap. Late engagement means retrofitting reliability.
2. **Scope** the service: purpose, architecture, dependencies, traffic, SLOs, current ops burden.
3. **Assess** against the checklist and the best-practice list in `references/production-best-practices.md`: monitoring, alerting, capacity, change management, failure handling, documentation, toil.
4. **Produce a gap list** with owners and priorities; the development team fixes blocking gaps before handover.
5. **Onboard** gradually: shadow on-call, then joint on-call, then full ownership.
6. **Keep an exit path**: if a supported service's operational load grows unacceptable (ops > 50%, repeated SLO misses without fixes), hand pager responsibility back to developers until it's fixed.

### Engagement models

Not every service needs full SRE ownership. Options range from:
- Consulting and design reviews only.
- Shared frameworks/platforms that are reliable by default (the most scalable way to spread practice).
- Embedded SRE for a period to fix specific problems.
- Full ownership of on-call and operations for critical services.

Choose based on criticality, SLO, operational load, and team capacity; review periodically.

## Sources

- SRE book ch. 8 Release Engineering — https://sre.google/sre-book/release-engineering/
- SRE book ch. 17 Testing for Reliability — https://sre.google/sre-book/testing-reliability/
- Workbook ch. 14 Configuration Design and Best Practices — https://sre.google/workbook/configuration-design/
- Workbook ch. 15 Configuration Specifics — https://sre.google/workbook/configuration-specifics/
- Workbook ch. 16 Canarying Releases — https://sre.google/workbook/canarying-releases/
- SRE book ch. 27 Reliable Product Launches at Scale — https://sre.google/sre-book/reliable-product-launches/
- SRE book ch. 32 The Evolving SRE Engagement Model — https://sre.google/sre-book/evolving-sre-engagement-model/
- SRE book Appendix B Best Practices for Production Services — https://sre.google/sre-book/service-best-practices/
- SRE book Appendix E Launch Coordination Checklist — https://sre.google/sre-book/launch-checklist/
- Workbook ch. 18 SRE Engagement Model — https://sre.google/workbook/engagement-model/
- Workbook ch. 19 SRE: Reaching Beyond Your Walls — https://sre.google/workbook/reaching-beyond/

© paulip114 · Apache-2.0 · paulip114/sre-practice-skills

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

Все скиллы по теме «DevOps и инфраструктура» →
sre-engineer https://github.com/Jeffallan Скилл sre-engineer помогает рассчитать бюджет ошибок, задать SLO, настроить алерты по четырём золотым сигналам и убрать рутину. Пригодится при настройке надёжности сервисов. CX Codex +1 5 700установок axiom-sre axiomhq Скилл axiom-sre для расследования инцидентов и продакшн-дебага: ведёт агента по гипотезам и системному триажу, умеет ходить в Axiom, Grafana, Pyroscope, Kubernetes и Slack. CX Codex +1 5 500установок observability-sre-triage elastic Скилл observability-sre-triage для Claude Code анализирует SLO, алерты, метрики APM/OTel и логи, чтобы оценить здоровье сервиса и причины деградации. Запускается при вопросах о здоровье, скорости или ошибках конкретного сервиса. CX Codex +1 1 500установок ai-sre-incident-response devops-skills Скилл ai-sre-incident-response для Claude Code, Codex, Cursor и других платформ: выстраивает SRE-процессы для инцидентов в AI-системах — падения модели, деградация качества, взрывной рост расходов, нарушения безопасности. CX Codex +1 365установок sre-expert personamanagmentlayer Скилл sre-expert для настройки практик SRE, расчёта SLO и организации процессов инцидент-менеджмента в проекте. CX Codex +1 205установок azure-sre-agent MicrosoftDocs Скилл для работы с Azure SRE Agent: интеграция с Azure DevOps, GitHub, Kusto, ServiceNow, PagerDuty, Teams, Azure Monitor и Application Insights. CX Codex +1 173установок

Из того же набора8

sre-postmortem Скилл sre-postmortem для Claude Code помогает составлять и проверять безанкерные постмортемы по методологии Google SRE. Он убирает обвинительные формулировки и формулирует задачи на исправление систем. CX Codex +1 ★ 67звёзд репо sre-data-reliability Скилл sre-data-reliability для Claude Code помогает проектировать и проверять конвейеры данных, планировщики задач, резервное копирование и восстановление. Он включается при работе с целостностью данных и SRE-практиками. CX Codex +1 ★ 67звёзд репо sre-incident-response Скилл sre-incident-response для Claude Code структурирует действия команды при авариях на проде по практикам Google IMAG. Он задаёт роли, шаблоны сводок и алгоритм быстрой локализации сбоев. CX Codex +1 ★ 67звёзд репо sre-monitoring-and-alerting Скилл sre-monitoring-and-alerting для Claude Code проектирует мониторинг и оповещения по практикам Google SRE. Включается при разборе SLO, метрик golden signals и расчёте burn rate. CX Codex +1 ★ 67звёзд репо sre-capacity-and-system-design Скилл sre-capacity-and-system-design для Claude Code помогает проектировать и проверять распределённые системы на масштабирование и устойчивость. Агент подключает его для расчётов ёмкости, балансировки нагрузки и разбора каскадных отказов. CX Codex +1 ★ 67звёзд репо sre-slos-and-error-budgets Скилл sre-slos-and-error-budgets для Claude Code помогает проектировать SLI и SLO по практикам Google SRE. Включается при согласовании error budget policy или оценке инцидентов. CX Codex +1 ★ 67звёзд репо sre-on-call-and-toil Скилл sre-on-call-and-toil для Claude Code помогает проектировать дежурства и снижать операционную нагрузку. Он подключается при настройке ротаций, разборе переработок и поиске задач для автоматизации. CX Codex +1 ★ 67звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой