Sre Release And Launch 标志

Sre Release And Launch

社区
paulip114
sre-release-and-launch

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.

概览

发布者paulip114
代码仓库sre-practice-skills
技能名称sre-release-and-launch
星标数
64
复刻数
19
附带文件
2
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 paulip114 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Sre Release And Launch AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/paulip114/sre-practice-skills/tree/main/sre-release-and-launch
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/paulip114/sre-practice-skills.git /tmp/sre-practice-skills
mkdir -p .claude/skills
cp -r /tmp/sre-practice-skills/sre-release-and-launch .claude/skills/sre-release-and-launch
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Sre Release And Launch,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Sre Release And Launch。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Sre Release And Launch 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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 Release And Launch AI 技能有什么作用?

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.

为什么在 TypingMind 中使用 Sre Release And Launch?

因为您只需安装一次,就能搭配任何模型使用。Sre Release And Launch 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Sre Release And Launch?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/paulip114/sre-practice-skills/tree/main/sre-release-and-launch。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Sre Release And Launch?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Sre Release And Launch 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Sre Release And Launch 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Sre Release And Launch AI 技能免费吗?

是的。paulip114 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇