[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CCF2GQRR49T2QQ15PW01J7":3,"skill-same:01M7CCF2GQRR49T2QQ15PW01J7":61},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M7CCF2GQRR49T2QQ15PW01J7","sre-engineer",null,"Defines service level objectives, creates error budget policies, designs incident response procedures, develops capacity models, and produces monitoring configurations and automation scripts for production systems. Use when defining SLIs\u002FSLOs, managing error budgets, building reliable systems at scale, incident management, chaos engineering, toil reduction, or capacity planning.","om-scogo\u002Fskillsh-scraper","om-scogo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160466840?v=4","01M79AWB6DFVCQ7RK70CS34B96","Om Achrekar","01M79AWB6ZM9SKR8KDH1WSSM22",0,"MIT","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fjeffallan-claude-skills\u002Fsre-engineer\u002FSkill.md",[],[],"2026-11-15 14:19:17",false,"---\nname: sre-engineer\ndescription: Defines service level objectives, creates error budget policies, designs incident response procedures, develops capacity models, and produces monitoring configurations and automation scripts for production systems. Use when defining SLIs\u002FSLOs, managing error budgets, building reliable systems at scale, incident management, chaos engineering, toil reduction, or capacity planning.\nlicense: MIT\nmetadata:\n  author: https:\u002F\u002Fgithub.com\u002FJeffallan\n  version: \"1.1.0\"\n  domain: devops\n  triggers: SRE, site reliability, SLO, SLI, error budget, incident management, chaos engineering, toil reduction, on-call, MTTR\n  role: specialist\n  scope: implementation\n  output-format: code\n  related-skills: devops-engineer, cloud-architect, kubernetes-specialist\n---\n\n# SRE Engineer\n\n## Core Workflow\n\n1. **Assess reliability** - Review architecture, SLOs, incidents, toil levels\n2. **Define SLOs** - Identify meaningful SLIs and set appropriate targets\n3. **Verify alignment** - Confirm SLO targets reflect user expectations before proceeding\n4. **Implement monitoring** - Build golden signal dashboards and alerting\n5. **Automate toil** - Identify repetitive tasks and build automation\n6. **Test resilience** - Design and execute chaos experiments; verify recovery meets RTO\u002FRPO targets before marking the experiment complete; validate recovery behavior end-to-end\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| SLO\u002FSLI | `references\u002Fslo-sli-management.md` | Defining SLOs, calculating error budgets |\n| Error Budgets | `references\u002Ferror-budget-policy.md` | Managing budgets, burn rates, policies |\n| Monitoring | `references\u002Fmonitoring-alerting.md` | Golden signals, alert design, dashboards |\n| Automation | `references\u002Fautomation-toil.md` | Toil reduction, automation patterns |\n| Incidents | `references\u002Fincident-chaos.md` | Incident response, chaos engineering |\n\n## Constraints\n\n### MUST DO\n- Define quantitative SLOs (e.g., 99.9% availability)\n- Calculate error budgets from SLO targets\n- Monitor golden signals (latency, traffic, errors, saturation)\n- Write blameless postmortems for all incidents\n- Measure toil and track reduction progress\n- Automate repetitive operational tasks\n- Test failure scenarios with chaos engineering\n- Balance reliability with feature velocity\n\n### MUST NOT DO\n- Set SLOs without user impact justification\n- Alert on symptoms without actionable runbooks\n- Tolerate >50% toil without automation plan\n- Skip postmortems or assign blame\n- Implement manual processes for recurring tasks\n- Deploy without capacity planning\n- Ignore error budget exhaustion\n- Build systems that can't degrade gracefully\n\n## Output Templates\n\nWhen implementing SRE practices, provide:\n1. SLO definitions with SLI measurements and targets\n2. Monitoring\u002Falerting configuration (Prometheus, etc.)\n3. Automation scripts (Python, Go, Terraform)\n4. Runbooks with clear remediation steps\n5. Brief explanation of reliability impact\n\n## Concrete Examples\n\n### SLO Definition & Error Budget Calculation\n\n```\n# 99.9% availability SLO over a 30-day window\n# Allowed downtime: (1 - 0.999) * 30 * 24 * 60 = 43.2 minutes\u002Fmonth\n# Error budget (request-based): 0.001 * total_requests\n\n# Example: 10M requests\u002Fmonth → 10,000 error budget requests\n# If 5,000 errors consumed in week 1 → 50% budget burned in 25% of window\n# → Trigger error budget policy: freeze non-critical releases\n```\n\n### Prometheus SLO Alerting Rule (Multiwindow Burn Rate)\n\n```yaml\ngroups:\n  - name: slo_availability\n    rules:\n      # Fast burn: 2% budget in 1h (14.4x burn rate)\n      - alert: HighErrorBudgetBurn\n        expr: |\n          (\n            sum(rate(http_requests_total{status=~\"5..\"}[1h]))\n            \u002F\n            sum(rate(http_requests_total[1h]))\n          ) > 0.014400\n          and\n          (\n            sum(rate(http_requests_total{status=~\"5..\"}[5m]))\n            \u002F\n            sum(rate(http_requests_total[5m]))\n          ) > 0.014400\n        for: 2m\n        labels:\n          severity: critical\n        annotations:\n          summary: \"High error budget burn rate detected\"\n          runbook: \"https:\u002F\u002Fwiki.internal\u002Frunbooks\u002Fhigh-error-burn\"\n\n      # Slow burn: 5% budget in 6h (1x burn rate sustained)\n      - alert: SlowErrorBudgetBurn\n        expr: |\n          (\n            sum(rate(http_requests_total{status=~\"5..\"}[6h]))\n            \u002F\n            sum(rate(http_requests_total[6h]))\n          ) > 0.001\n        for: 15m\n        labels:\n          severity: warning\n        annotations:\n          summary: \"Sustained error budget consumption\"\n          runbook: \"https:\u002F\u002Fwiki.internal\u002Frunbooks\u002Fslow-error-burn\"\n```\n\n### PromQL Golden Signal Queries\n\n```promql\n# Latency — 99th percentile request duration\nhistogram_quantile(0.99, sum(rate(http_request_duration_seconds_bucket[5m])) by (le, service))\n\n# Traffic — requests per second by service\nsum(rate(http_requests_total[5m])) by (service)\n\n# Errors — error rate ratio\nsum(rate(http_requests_total{status=~\"5..\"}[5m])) by (service)\n  \u002F\nsum(rate(http_requests_total[5m])) by (service)\n\n# Saturation — CPU throttling ratio\nsum(rate(container_cpu_cfs_throttled_seconds_total[5m])) by (pod)\n  \u002F\nsum(rate(container_cpu_cfs_periods_total[5m])) by (pod)\n```\n\n### Toil Automation Script (Python)\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"Auto-remediation: restart pods exceeding error threshold.\"\"\"\nimport subprocess, sys, json\n\nERROR_THRESHOLD = 0.05  # 5% error rate triggers restart\n\ndef get_error_rate(service: str) -> float:\n    \"\"\"Query Prometheus for current error rate.\"\"\"\n    import urllib.request\n    query = f'sum(rate(http_requests_total{{status=~\"5..\",service=\"{service}\"}}[5m])) \u002F sum(rate(http_requests_total{{service=\"{service}\"}}[5m]))'\n    url = f\"http:\u002F\u002Fprometheus:9090\u002Fapi\u002Fv1\u002Fquery?query={urllib.request.quote(query)}\"\n    with urllib.request.urlopen(url) as resp:\n        data = json.load(resp)\n    results = data[\"data\"][\"result\"]\n    return float(results[0][\"value\"][1]) if results else 0.0\n\ndef restart_deployment(namespace: str, deployment: str) -> None:\n    subprocess.run(\n        [\"kubectl\", \"rollout\", \"restart\", f\"deployment\u002F{deployment}\", \"-n\", namespace],\n        check=True\n    )\n    print(f\"Restarted {namespace}\u002F{deployment}\")\n\nif __name__ == \"__main__\":\n    service, namespace, deployment = sys.argv[1], sys.argv[2], sys.argv[3]\n    rate = get_error_rate(service)\n    print(f\"Error rate for {service}: {rate:.2%}\")\n    if rate > ERROR_THRESHOLD:\n        restart_deployment(namespace, deployment)\n    else:\n        print(\"Within SLO threshold — no action required\")\n```\n\n[Documentation](https:\u002F\u002Fjeffallan.github.io\u002Fclaude-skills\u002Fskills\u002Fdevops\u002Fsre-engineer\u002F)\n","# SRE Engineer\n\n## Core Workflow\n\n1. **Assess reliability** - Review architecture, SLOs, incidents, toil levels\n2. **Define SLOs** - Identify meaningful SLIs and set appropriate targets\n3. **Verify alignment** - Confirm SLO targets reflect user expectations before proceeding\n4. **Implement monitoring** - Build golden signal dashboards and alerting\n5. **Automate toil** - Identify repetitive tasks and build automation\n6. **Test resilience** - Design and execute chaos experiments; verify recovery meets RTO\u002FRPO targets before marking the experiment complete; validate recovery behavior end-to-end\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| SLO\u002FSLI | `references\u002Fslo-sli-management.md` | Defining SLOs, calculating error budgets |\n| Error Budgets | `references\u002Ferror-budget-policy.md` | Managing budgets, burn rates, policies |\n| Monitoring | `references\u002Fmonitoring-alerting.md` | Golden signals, alert design, dashboards |\n| Automation | `references\u002Fautomation-toil.md` | Toil reduction, automation patterns |\n| Incidents | `references\u002Fincident-chaos.md` | Incident response, chaos engineering |\n\n## Constraints\n\n### MUST DO\n- Define quantitative SLOs (e.g., 99.9% availability)\n- Calculate error budgets from SLO targets\n- Monitor golden signals (latency, traffic, errors, saturation)\n- Write blameless postmortems for all incidents\n- Measure toil and track reduction progress\n- Automate repetitive operational tasks\n- Test failure scenarios with chaos engineering\n- Balance reliability with feature velocity\n\n### MUST NOT DO\n- Set SLOs without user impact justification\n- Alert on symptoms without actionable runbooks\n- Tolerate >50% toil without automation plan\n- Skip postmortems or assign blame\n- Implement manual processes for recurring tasks\n- Deploy without capacity planning\n- Ignore error budget exhaustion\n- Build systems that can't degrade gracefully\n\n## Output Templates\n\nWhen implementing SRE practices, provide:\n1. SLO definitions with SLI measurements and targets\n2. Monitoring\u002Falerting configuration (Prometheus, etc.)\n3. Automation scripts (Python, Go, Terraform)\n4. Runbooks with clear remediation steps\n5. Brief explanation of reliability impact\n\n## Concrete Examples\n\n### SLO Definition & Error Budget Calculation\n\n```\n# 99.9% availability SLO over a 30-day window\n# Allowed downtime: (1 - 0.999) * 30 * 24 * 60 = 43.2 minutes\u002Fmonth\n# Error budget (request-based): 0.001 * total_requests\n\n# Example: 10M requests\u002Fmonth → 10,000 error budget requests\n# If 5,000 errors consumed in week 1 → 50% budget burned in 25% of window\n# → Trigger error budget policy: freeze non-critical releases\n```\n\n### Prometheus SLO Alerting Rule (Multiwindow Burn Rate)\n\n```yaml\ngroups:\n  - name: slo_availability\n    rules:\n      # Fast burn: 2% budget in 1h (14.4x burn rate)\n      - alert: HighErrorBudgetBurn\n        expr: |\n          (\n            sum(rate(http_requests_total{status=~\"5..\"}[1h]))\n            \u002F\n            sum(rate(http_requests_total[1h]))\n          ) > 0.014400\n          and\n          (\n            sum(rate(http_requests_total{status=~\"5..\"}[5m]))\n            \u002F\n            sum(rate(http_requests_total[5m]))\n          ) > 0.014400\n        for: 2m\n        labels:\n          severity: critical\n        annotations:\n          summary: \"High error budget burn rate detected\"\n          runbook: \"https:\u002F\u002Fwiki.internal\u002Frunbooks\u002Fhigh-error-burn\"\n\n      # Slow burn: 5% budget in 6h (1x burn rate sustained)\n      - alert: SlowErrorBudgetBurn\n        expr: |\n          (\n            sum(rate(http_requests_total{status=~\"5..\"}[6h]))\n            \u002F\n            sum(rate(http_requests_total[6h]))\n          ) > 0.001\n        for: 15m\n        labels:\n          severity: warning\n        annotations:\n          summary: \"Sustained error budget consumption\"\n          runbook: \"https:\u002F\u002Fwiki.internal\u002Frunbooks\u002Fslow-error-burn\"\n```\n\n### PromQL Golden Signal Queries\n\n```promql\n# Latency — 99th percentile request duration\nhistogram_quantile(0.99, sum(rate(http_request_duration_seconds_bucket[5m])) by (le, service))\n\n# Traffic — requests per second by service\nsum(rate(http_requests_total[5m])) by (service)\n\n# Errors — error rate ratio\nsum(rate(http_requests_total{status=~\"5..\"}[5m])) by (service)\n  \u002F\nsum(rate(http_requests_total[5m])) by (service)\n\n# Saturation — CPU throttling ratio\nsum(rate(container_cpu_cfs_throttled_seconds_total[5m])) by (pod)\n  \u002F\nsum(rate(container_cpu_cfs_periods_total[5m])) by (pod)\n```\n\n### Toil Automation Script (Python)\n\n```python\n#!\u002Fusr\u002Fbin\u002Fenv python3\n\"\"\"Auto-remediation: restart pods exceeding error threshold.\"\"\"\nimport subprocess, sys, json\n\nERROR_THRESHOLD = 0.05  # 5% error rate triggers restart\n\ndef get_error_rate(service: str) -> float:\n    \"\"\"Query Prometheus for current error rate.\"\"\"\n    import urllib.request\n    query = f'sum(rate(http_requests_total{{status=~\"5..\",service=\"{service}\"}}[5m])) \u002F sum(rate(http_requests_total{{service=\"{service}\"}}[5m]))'\n    url = f\"http:\u002F\u002Fprometheus:9090\u002Fapi\u002Fv1\u002Fquery?query={urllib.request.quote(query)}\"\n    with urllib.request.urlopen(url) as resp:\n        data = json.load(resp)\n    results = data[\"data\"][\"result\"]\n    return float(results[0][\"value\"][1]) if results else 0.0\n\ndef restart_deployment(namespace: str, deployment: str) -> None:\n    subprocess.run(\n        [\"kubectl\", \"rollout\", \"restart\", f\"deployment\u002F{deployment}\", \"-n\", namespace],\n        check=True\n    )\n    print(f\"Restarted {namespace}\u002F{deployment}\")\n\nif __name__ == \"__main__\":\n    service, namespace, deployment = sys.argv[1], sys.argv[2], sys.argv[3]\n    rate = get_error_rate(service)\n    print(f\"Error rate for {service}: {rate:.2%}\")\n    if rate > ERROR_THRESHOLD:\n        restart_deployment(namespace, deployment)\n    else:\n        print(\"Within SLO threshold — no action required\")\n```\n\n[Documentation](https:\u002F\u002Fjeffallan.github.io\u002Fclaude-skills\u002Fskills\u002Fdevops\u002Fsre-engineer\u002F)\n",{"name":5,"license":15,"metadata":24,"description":7},{"role":25,"scope":26,"author":27,"domain":28,"version":29,"triggers":30,"output-format":31,"related-skills":32},"specialist","implementation","https:\u002F\u002Fgithub.com\u002FJeffallan","devops","1.1.0","SRE, site reliability, SLO, SLI, error budget, incident management, chaos engineering, toil reduction, on-call, MTTR","code","devops-engineer, cloud-architect, kubernetes-specialist","main","8859218955d9504cd18b59e7892100718039d3b4","data\u002Fskills\u002Fjeffallan-claude-skills\u002Fsre-engineer",1,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper","https:\u002F\u002Fgithub.com\u002Fom-scogo","SDE-1 @ Scogo ","2026-07-18 12:22:46",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add om-scogo\u002Fskillsh-scraper --skill sre-engineer",{"tool":47,"command":48},"bunx","bunx skills add om-scogo\u002Fskillsh-scraper --skill sre-engineer",{"tool":50,"command":51},"pnpm","pnpm dlx skills add om-scogo\u002Fskillsh-scraper --skill sre-engineer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fjeffallan-claude-skills\u002Fsre-engineer\u002FSkill.md",true,[55],{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"metadata.json","REFERENCE","参考文档",448,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fjeffallan-claude-skills\u002Fsre-engineer\u002Fmetadata.json",[62,69,74,81,86,93],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7D6MC9FAAEV4CMNYX8W7JTG","arxiv-search","Search arXiv physics, math, and computer science preprints using natural language queries. Powered by Valyu semantic search.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002Fskills\u002Farxiv-search\u002FSKILL.md",[],[],{"skillNo":70,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7D6M85CKKN87TA98VCQV4H7","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002FSkill.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7D4ZTCS4DR3CE4JY06X84T2","working-with-legacy-code","Safely change and test untested codebases using Feathers' \"Working Effectively with Legacy Code\". Use when the user mentions \"legacy code\", \"no tests\", \"untested codebase\", \"how do I test this\", \"seams\", \"characterization tests\", \"golden master\", \"sprout method\", \"afraid to change this code\", \"monster method\", \"dependency breaking\", or \"inherited a messy codebase\". Also trigger when changing code without tests safely, getting a class under test when constructors, statics, or singletons block it, adding features to tangled modules, or planning incremental test coverage for an old codebase. Covers the legacy-code change algorithm, seams, characterization tests, sprout\u002Fwrap, and dependency-breaking techniques. For refactoring code that already has tests, see refactoring-patterns. For day-to-day code quality, see clean-code.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002Fworking-with-legacy-code\u002FSKILL.md",[],[],{"skillNo":82,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7D4ZHZKJD2RSNGAF63V14P4","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002FSkill.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7D4ZB4CJBFW5JE67CPH2QRV","web-typography","Select, pair, and implement typefaces for web projects. Use when the user mentions \"font pairing\", \"which typeface\", \"line height\", \"responsive typography\", \"web font loading\", \"type hierarchy\", \"variable fonts\", \"FOUT\u002FFOIT\", \"typographic scale\", or \"the text is hard to read\". Also trigger when choosing between system fonts and web fonts, optimizing font-loading performance, or designing readable long-form content. Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002Fweb-typography\u002FSKILL.md",[],[],{"skillNo":94,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7D4Z4MVYVY3NMJ18BNV6WNA","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002FSkill.md",[],[]]