/slo-implement
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
$ npx -y skills add wshobson/agents --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/slo-implement
Context preview
What this command does when you run it.
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
Command definition
slo-implement.mdSLO 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**
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 journeys2. SLI Selection and Measurement
Choose and implement appropriate SLIs:
**SLI Implementation**
class SLIImplementation:
def __init__(self):
self.sli_types = {
'availability': AvailabilitySLI,
'latency': LatencySLI,
'error_rate': ErrorRateSLI,
'throughput': ThroughputSLI,
'quality': QualitySLI
}
def implement_slis(self, service_type):
"""Implement SLIs based on service type"""
if service_type == 'api':
return self._api_slis()
elif service_type == 'web':
return self._web_slis()
elif service_type == 'batch':
return self._batch_slis()
elif service_type == 'streaming':
return self._streaming_slis()
def _api_slis(self):
"""SLIs for API services"""
return {
'availability': {
'definition': 'Percentage of successful requests',
'formula': 'successful_requests / total_requests * 100',
'implementation': '''
# Prometheus query for API availability
api_availability = """
sum(rate(http_requests_total{status!~"5..Read more
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**
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 journeys2. SLI Selection and Measurement
Choose and implement appropriate SLIs:
**SLI Implementation**
class SLIImplementation:
def __init__(self):
self.sli_types = {
'availability': AvailabilitySLI,
'latency': LatencySLI,
'error_rate': ErrorRateSLI,
'throughput': ThroughputSLI,
'quality': QualitySLI
}
def implement_slis(self, service_type):
"""Implement SLIs based on service type"""
if service_type == 'api':
return self._api_slis()
elif service_type == 'web':
return self._web_slis()
elif service_type == 'batch':
return self._batch_slis()
elif service_type == 'streaming':
return self._streaming_slis()
def _api_slis(self):
"""SLIs for API services"""
return {
'availability': {
'definition': 'Percentage of successful requests',
'formula': 'successful_requests / total_requests * 100',
'implementation': '''
# Prometheus query for API availability
api_availability = """
sum(rate(http_requests_total{status!~"5..Production-ready agentic workflow building blocks: 94 plugins, 203 agents, 175 skills, 109 commands — built for Claude Code and consumed natively by OpenAI Codex CLI, Cursor, OpenCode, Gemini CLI, and GitHub Copilot from a single Markdown source.
Repo: wshobson/agents
Other commands on wshobson-agents.
- /accessibility-audit
You are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive technology compatibility. Conduct comprehensive audits, identify barriers, provide remediation guidance, and ensure digital products are accessible to all users.
Open command - /improve-agent
Systematic improvement of existing agents through performance analysis, prompt engineering, and continuous iteration.
Open command - /multi-agent-optimize
The Multi-Agent Optimization Tool is an advanced AI-driven framework designed to holistically improve system performance through intelligent, coordinated agent-based optimization. Leveraging cutting-edge AI orchestration techniques, this tool provides a comprehensive approach to
Open command - /team-debug
Debug issues using competing hypotheses with parallel investigation by multiple agents
Open command - /team-delegate
Task delegation dashboard for managing team workload, assignments, and rebalancing
Open command - /team-feature
Develop features in parallel with multiple agents using file ownership boundaries and dependency management
Open command

