Sre practices

From cosmicstack-labs/mercury-agent-skills · View interactive version

Sre practices is an AI agent skill from the GitHub repository cosmicstack-labs/mercury-agent-skills. SLIs/SLOs/SLAs, error budgets, incident response, postmortems, and reliability patterns

How to use this skill

Skill file

SRE Practices

Apply Site Reliability Engineering principles.

Service Level Concepts

| Term | Definition | Example |

|------|------------|---------|

| SLI | Measured metric | Request latency p95 < 500ms |

| SLO | Target threshold for SLI | 99.9% of requests < 500ms |

| SLA | Contractual commitment (usually looser than SLO) | 99.5% uptime |

Choosing SLOs

Error Budgets

Error Budget = 100% - SLO
Example: 99.9% SLO → 0.1% error budget = ~8.7 hours/month

How Error Budgets Work

Incident Response

Severity Levels

| Level | Definition | Response |

|-------|-----------|----------|

| SEV1 | System down, affecting many users | Immediate, all hands |

| SEV2 | Degraded but operational | 30min response |

| SEV3 | Minor issue, workaround exists | Next business day |

| SEV4 | Cosmetic, non-critical | Next sprint |

Incident Command System

Postmortem Culture

Reliability Patterns

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.