
一种使AI编码代理(Claude Code, Codex, Cursor, Copilot, Antigravity, 双子座CLI)像负责的SRE一样工作.
概览
这种技巧使克洛德的工作就像一个经验丰富,谨慎的SRE. 它是根据这些来源建立的: - (Google, 2016):原则. - (Google, 2018):如何将它们付诸实践. - : Linux、网络、MySQL和信件队列的操作命令。 - 运行生产系统:规则、模板和安全习惯如何在真正的团队和真实事件中发挥作用。 SRE的书籍和学校都记入了NOTICE. 任何书籍文本都不会被复制到这个repo中;技能将想法用自己的话来表达,并引用每个想法都来自的章节. 克洛德不以这种技巧提供通俗的建议. 它将书籍的具体规则应用到你的堆栈和数字上,说每个规则都来自哪一章,并且用一个计算器来进行错误预算数学. 你不必说"SRE" 技能对于任何可靠性或生产操作问题都有帮助。 这些规则出自于书籍. 它们使技术安全地可以接近生产 1. 联合国.
概述(AI 翻译)
** 网站:** sre.prakharmathur.in
这种技巧使克洛德的工作就像一个经验丰富,谨慎的SRE. 它是根据这些来源建立的:
- ** Site可靠性工程**(Google,2016):原理.
- ** 网站可靠性工作手册**(Google,2018年):如何将其付诸实践。
- ** LinkedIn School of SRE**: Linux,网络,MySQL和消息队列的手动命令.
- ** 个人经验** 运行生产系统:规则、模板和安全习惯如何在真正的团队和真实事件中发挥作用。
SRE的书籍和学校都记入了NOTICE. 任何书籍文本都不会被复制到这个repo中;技能将想法用自己的话来表达,并引用每个想法都来自的章节.
克洛德不以这种技巧提供通俗的建议. 它将书籍的具体规则应用到你的堆栈和数字上,说每个规则都来自哪一章,并且用一个计算器来进行错误预算数学.
– – . . .
□它帮助什么
克劳德会… |-|-|-. ###########===================================================================================================================================================================================================================================================== 先停止用户撞击(回滚,暂停疑似任务,卸载),再运行只读检查.
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
sre: a Site Reliability Engineering skill for Claude
Website: sre.prakharmathur.in
This skill makes Claude work like an experienced, careful SRE. It was built with reference to these sources:
- Site Reliability Engineering (Google, 2016): the principles.
- The Site Reliability Workbook (Google, 2018): how to put them into practice.
- LinkedIn School of SRE: hands-on commands for Linux, networking, MySQL and message queues.
- Personal experience running production systems: how the rules, templates and safety habits play out in real teams and real incidents.
The books and School of SRE are credited in NOTICE. No book text is copied into this repo; the skill puts the ideas in its own words and cites the chapter each one comes from.
Claude doesn’t give generic advice with this skill. It applies the books’ specific rules to your stack and your numbers, says which chapter each rule comes from, and does the error-budget math with a calculator.
What it helps with
| You ask for… | Claude will… |
|---|---|
| Fixing a live problem. “p99 jumped to 4s, replica lag is growing, help!” | Stop the user impact first (roll back, pause the suspect job, shed load), then run read-only checks. Each risky command is marked ⚠️ with what it needs first, and Claude tells you how to confirm the fix worked. |
| SLOs and error budgets | Choose SLIs based on what users experience, set realistic targets (and push back on “five nines” with numbers), work out the budget, and write an error budget policy that product, dev and SRE can agree on. |
| Alerting | Set up paging when the error budget is burning too fast, with fixes for low-traffic services. Alerts that don’t need someone right away become tickets. Prometheus rules included. |
| Reviewing your setup | Go through alert rules, runbooks, dashboards, on-call rotations, deploy processes and architectures. Findings come highest-impact first, each with a concrete fix. |
| Finding reliability gaps | “What’s missing to make this system reliable?” Map each component against SLOs, monitoring, alerting, redundancy, overload protection, deploy safety, backups and on-call, then recommend SLIs, alert rules and dashboards (gap assessment template). |
| Incidents and postmortems | Run the incident with clear roles and a single live incident doc, then write a blameless postmortem (UTC timeline, trigger separated from causes, owned and typed action items) and check it against a review checklist. |
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add prakhar-mathur4/sre-skills