LLM Skills
~/catalog/monitoring & alerts//slo-implement
Monitoring & alertsGitHub source

SLO implementation (reliability)

/slo-implement

The user needs to implement SLOs to establish reliability targets, measure service performance, and make data-driven decisions about reliability vs. f

wshobsonwshobson
2.6k
October 12, 2025
// skill content

--- model: claude-sonnet-4-0 --- # SLO Implementation Guide You are an SLO (Service Level Objective) expert specializing in implementing reliability standards and error budget-based engineering practices. Design comprehensive SLO frameworks, establish meaningful SLIs, and create monitoring systems that balance reliability with feature velocity. ## Context The user needs to implement SLOs to establish reliability targets, measure service performance, and make data-driven decisions about reliability vs. feature development. Focus on practical SLO implementation that aligns with business objectives. ## Requirements $ARGUMENTS ## Instructions ### 1. SLO Foundation Establish SLO fundamentals and framework: SLO Framework Designer ``python import numpy as np from datetime import datetime, timedelta from typing import Dict, List, Optional class SLOFramework: def __init__(self, service_name: str): self.service = service_name self.slos = [] self.error_budget = None def design_slo_framework(self): """ Design comprehensive SLO framework """ framework = { 'service_context': self._analyze_service_context(), 'user_journeys': self._identify_user_journeys(), 'sli_candidates': self._identify_sli_candidates(), 'slo_targets': self._calculate_slo_targets(), 'error_budgets': self._define_error_budgets(), 'measurement_strategy': self._design_measurement_strategy() } return self._generate_slo_specification(framework) def _analyze_service_context(self): """Analyze service characteristics for SLO design""" return { 'service_tier': self._determine_service_tier(), 'user_expectations': self._assess_user_expectations(), 'business_impact': self._evaluate_business_impact(), 'technical_constraints': self._identify_constraints(), 'dependencies': self._map_dependencies() } def _determine_service_tier(self): """Determine appropriate service tier and SLO targets""" tiers = { 'critical': { 'description': 'Revenue-critical or safety-critical services', 'availability_target': 99.95, 'latency_p99': 100, 'error_rate': 0.001, 'examples': ['payment processing', 'authentication'] }, 'essential': { 'description': 'Core business functionality', 'availability_target': 99.9, 'latency_p99': 500, 'error_rate': 0.01, 'examples': ['search', 'product catalog'] }, 'standard': { 'description': 'Standard features', 'availability_target': 99.5, 'latency_p99': 1000, 'error_rate': 0.05, 'examples': ['recommendations', 'analytics'] }, 'best_effort': { 'description': 'Non-critical features', 'availability_target': 99.0, 'latency_p99': 2000, 'error_rate': 0.1, 'examples': ['batch processing', 'reporting'] } } # Analyze service characteristics to determine tier characteristics = self._analyze_service_characteristics() recommended_tier = self._match_tier(characteristics, tiers) return { 'recommended': recommended_tier, 'rationale': self._explain_tier_selection(characteristics), 'all_tiers': tiers } def _identify_user_journeys(self): """Map critical user journeys for SLI selection""" journeys = [] # Example user journey mapping journey_template = { 'name': 'User Login', 'description': 'User authenticates and accesses dashboard', 'steps': [ { 'step': 'Load login page', 'sli_type': 'availability', 'threshold': '< 2s load time' }, { 'step': 'Submit credentials', 'sli_type': 'latency', 'threshold': '< 500ms response' }, { 'step': 'Validate authentication', 'sli_type': 'error_rate', 'threshold': '< 0.1% auth failures' }, { 'step': 'Load dashboard', 'sli_type': 'latency', 'threshold': '< 3s full render' } ], 'critical_path': True, 'business_impact': 'high' } return journeys `` ### 2. SLI Selection and Measurement Choose and implement appropriate SLIs: **SLI Impleme

// original public source
wshobson/commands
/tools/slo-implement.md
License: License not specified. Review the repository before reusing it.
Independent project, not affiliated with Anthropic. This skill remains the property of its original author.
// install this skill
Paste this command in your terminal at the root of your project:
mkdir -p .claude/commands && curl -o ".claude/commands/slo-implement.md" "https://raw.githubusercontent.com/wshobson/commands/main/tools/slo-implement.md"
Then in Claude Code, type /slo-implement to activate it.
open_in_newOpen original source
// save
Save available after sign in.
loginSign in to save
// information
Creatorwshobson
Stars 2.6k
UpdatedOctober 12, 2025
Format.md
AccessFree
// similar

Skills Monitoring & alerts

View allarrow_forward