Skip to content
Skillpedia
Deploy & cloud (DevOps)29k Β· #9604

slo-architect

What it does

This skill helps define service level objectives, which are reliability targets based on what users experience. It is for engineers who want reliability targets that the team actually believes in.

When to use it

  • βœ“When you are defining reliability targets for a new service or feature.
  • βœ“When you want to review existing reliability targets for common mistakes.
  • βœ“When you need to calculate error budgets and alert thresholds.

Skill link

https://github.com/alirezarezvani/claude-skills/blob/main/engineering/skills/slo-architect/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/alirezarezvani/claude-skills/blob/main/engineering/skills/slo-architect/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œHelp me define a reliability target for our checkout service and calculate its error budget.”

5 new skills a week. 1 minute to read.

How it works

It helps pick a measure of user experience, sets a target over a time window, calculates the error budget and suggests alert thresholds for how fast that budget is being used.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

SLO Architect

Define SLOs that mean something. Most "SLOs" in the wild are arbitrary numbers no one believes β€” 99.9% on every endpoint, no SLI definition, no error budget, no policy for what happens when budget burns. This skill enforces the discipline from Google's SRE Workbook: pick the right SLI, set a target users actually care about, calculate the error budget, wire multi-window burn-rate alerts, and have a written policy for when budget runs out.

When to use

  • Defining a new SLO for a service or feature
  • Reviewing existing SLOs for common bugs
  • Picking the right SLI (event-based vs time-window based vs request-based)
  • Computing error budgets and burn-rate alert thresholds
  • Tying SLOs to existing controls β€” feature flags abort, chaos blast radius, operator capability levels

When NOT to use

  • General observability strategy (metrics + logs + traces) β†’ use observability-designer
  • Customer-facing SLAs with legal teeth β†’ that's contract drafting, not engineering
  • Performance load testing (capacity, not reliability) β†’ use performance-profiler
  • Active incident response β†’ use incident-response

Core principle: an SLO is a promise about user experience

SLI  ⟢  measurable signal of user-perceived health (e.g., HTTP 2xx rate)
SLO  ⟢  target for the SLI over a window (e.g., 99.9% over 30 days)
SLA  ⟢  customer-facing commitment with consequences (separate concern)
EB   ⟢  error budget: 100% βˆ’ SLO target = how much "bad" you can spend
BR   ⟢  burn rate: how fast you're consuming the error budget

The four cardinal mistakes:

  1. Target too high (99.99%+ on services that can't support it) β€” every minor blip violates SLO; alerts become noise.
  2. Wrong SLI (CPU usage as proxy for user experience) β€” system can be "green" while users suffer.
  3. No error budget policy β€” burning budget means nothing if there's no agreed action.
  4. Single-window burn-rate alert β€” either too noisy (page on a 5-min spike) or too slow (notice budget exhausted after the fact).

The 3 tools below catch each of these.

Quick start

SKILL=engineering/slo-architect/skills/slo-architect

# 1. Design an SLO
python "$SKILL/scripts/slo_designer.py" \
  --service checkout-svc \
  --sli-type request-success-rate \
  --target 99.9 \
  --window-days 30

# 2. Compute error budget + multi-window burn-rate alerts
python "$SKILL/scripts/error_budget_calculator.py" \
  --target 99.9 --window-days 30

# 3. Review existing SLO definitions for common bugs
python "$SKILL/scripts/slo_review.py" --slo-doc docs/slos/

The 3 Python tools

All stdlib-only.

slo_designer.py

Generates a structured SLO definition with required fields. Refuses to render if any required field is missing (exit 1).

python scripts/slo_designer.py \
  --service checkout-svc \
  --sli-type request-success-rate \
  --target 99.9 \
  --window-days 30 \
  --owner team-checkout

SLI types supported:

  • request-success-rate β€” (total_requests - bad_requests) / total_requests
  • request-latency β€” count(requests < threshold) / total_requests
  • availability-time β€” (window - downtime) / window
  • data-freshness β€” count(data_age < threshold) / total_data_points
  • correctness β€” count(correct_outputs) / total_outputs

Output is markdown by default with all required fields filled or marked <must define>. JSON output (--format json) is consumed by slo_review.py.

error_budget_calculator.py

Given target availability + window, computes:

  • Allowed downtime in the window
  • Multi-window burn-rate thresholds per Google SRE Workbook (Chapter 5):
    • Fast burn β€” page if 2% of monthly budget consumed in 1 hour
    • Slow burn β€” page if 5% consumed in 6 hours, ticket if 10% in 3 days
  • Recommended alerting rules (PromQL-shaped output)
python scripts/error_budget_calculator.py --target 99.9 --window-days 30
python scripts/error_budget_calculator.py --target 99.95 --window-days 7 --format json

slo_review.py

Audits a directory of SLO definitions (markdown or JSON) for the common bugs.

python scripts/slo_review.py --slo-doc docs/slos/

Checks:

  • target_too_high: target β‰₯ 99.99% (sustainable only with massive engineering investment)
  • target_too_low: target ≀ 99.0% (probably wrong SLI; users will notice)
  • window_too_short: window < 7 days (statistical noise dominates)
  • window_too_long: window > 90 days (slow feedback)
  • no_sli_definition: SLI section miss
FAQ

What is an error budget?

It is the amount of failure a service can have while still meeting its target.

Is this the same as a customer SLA?

No, a customer SLA is a contract matter; this skill focuses on internal engineering targets.

Does it cover dashboards too?

Dashboards and general monitoring are covered by a separate skill; this one focuses on reliability targets.

Details

Original description by the author

Use when defining or reviewing SLOs, SLIs, error budgets or burn-rate alerts. Designs SLOs with slo_designer.py, computes budgets and multi-window burn-rate thresholds with error_budget_calculator.py and catches common SLO bugs with slo_review.py.

repo: alirezarezvani/claude-skills

Popularity

GitHub stars
29k
Ranking position
#9604
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills