Slo Implementation

Use when defining or implementing service level indicators, SLOs, error budgets, burn-rate alerts, reliability targets, or SRE policies.

9 stars 3 forksDevOps & Cloud

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add sandbaseai/workbuddy-skill --skill slo-implementation
Manual install
git clone --depth 1 https://github.com/sandbaseai/workbuddy-skill.git /tmp/workbuddy-skill
mkdir -p ~/.claude/skills
cp -r /tmp/workbuddy-skill/skills/slo-implementation ~/.claude/skills/slo-implementation

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# SLO Implementation

用用户可感知的 SLI 衡量可靠性,用 SLO 定义目标,用错误预算连接可靠性和交付速度。SLO 不是 SLA,也不是“99.9%”的装饰数字;必须能说明测量对象、分母、窗口、排除项、数据完整性、责任人和行动。

## 使用边界

- 开始前确认用户旅程、服务边界、依赖、SLA/合同、数据区域、owner、业务时段、SLO 窗口、成本和告警接收人。
- 默认只读检查 metrics、logs、traces、告警、部署和历史影响;在隔离/回放数据上验证查询与 burn rate。
- 不擅自修改生产 SLO、采样、告警路由、流量、发布冻结、容量或恢复策略;这些变更需要授权、变更记录和回滚方案。
- 指标 label、请求样本、错误信息和报告不得含 secret、完整 payload、个人标识或无界用户输入。

## SLA / SLO / SLI 与测量契约

SLA 是对外合同,SLO 是内部目标,SLI 是实际测量。每个 SLO 定义:用户/旅程、服务和版本范围、事件分母/分子、成功标准、时间窗口、时区、排除项、数据源、缺失数据处理、owner、review 日期和错误预算策略。

优先从用户结果选择 SLI:可用性是成功请求/有效请求,延迟是低于阈值的用户请求比例,正确性/新鲜度/持久性要使用业务结果或端到端证据。基础设施 CPU、队列和 5xx 可作为诊断信号,不能自动代表用户 SLO。明确健康检查、重试、缓存命中、批处理和部分成功是否进入分母,避免通过改分母“优化”目标。

```yaml
slos:
  - name: checkout_success
    owner: commerce
    target: 0.999
    window: 28d
    sli:
      numerator: "checkout requests with committed order or explicit safe refusal"
      denominator: "valid user checkout attempts"
    evidence: [request_metrics, order_state, trace_correlation]
    missing_data: "unknown; do not count as success"
    review_after: 2026-10-01
```

## 目标与错误预算

错误预算为 `1 - target`,但要结合窗口、流量、业务关键性、依赖、恢复能力和可靠性成本校准。目标应来自用户期望与历史基线,并用分层/地域/版本检查不能被总体平均掩盖的局部故障。记录目标假设和 review 周期,避免永久继承没有证据的 99.9/99.99。

错误预算消耗报告包含已用、剩余、流失速度、受影响用户/旅程、数据延迟和不确定性。预算策略可定义正常发布、风险变更审查、冻结非关键变更、优先修复和恢复验证,但阈值必须绑定明确 owner、例外审批、期限和解除条件,不能自动阻塞所有工程工作。

## Burn rate 与告警

用短/长窗口组合告警以同时降低噪声和漏报:快燃烧用于快速影响,慢燃烧用于持续退化;阈值来自窗口和预算消耗目标,不直接复制示例数字。告警表达式要处理零分母、低流量、指标延迟、NaN、采样和缺失,并将数据源故障与服务故障分开。
Read the full skill on GitHub

Details

Skill name
slo-implementation
Path
skills/slo-implementation/SKILL.md
License
MIT
Repo updated
8 September 2026

FAQ

What does the Slo Implementation skill do?

Use when defining or implementing service level indicators, SLOs, error budgets, burn-rate alerts, reliability targets, or SRE policies.

How do I install the Slo Implementation skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add sandbaseai/workbuddy-skill --skill slo-implementation. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Slo Implementation popular?

It lives in sandbaseai/workbuddy-skill, which has 9 GitHub stars and 3 forks.

Related skills

Browse the most popular Claude skills, all devops & cloud skills, or write your own with the skills generator.