Token导航 LogoToken导航

Agent Skill · 开发

sre-engineer(工程师)

sre-engineer 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

sre-engineer 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 10,393。

总安装 2,258周安装 97GitHub Stars 76下载 792核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:sre-engineer(工程师)
来源仓库:https://github.com/404kidwiz/claude-supercode-skills
仓库路径:skills/sre-engineer
安装命令:
npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill sre-engineer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill sre-engineer

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

sre-engineer 提供站点可靠性工程专家级支持。适用于定义 SLO 与错误预算、管理故障事件、构建高可用架构等场景。专注于容错测试、容量规划、可观测性平台和自动化运维优化。可通过 npx skills add 命令从指定 GitHub 仓库安装使用。

注意权限范围和维护状态,确认是否会触发联网、命令执行或文件读写操作。

来源仓库内路径:skills/sre-engineer

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill sre-…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

sre-engineer 怎么安装?

在终端执行 npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill sre-engineer。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

sre-engineer 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

sre-engineer 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

sre-engineer 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

sre-engineer 用的人多吗?

公开数据是累计安装 2,258 次,近一周安装 97 次,下载 792 次,GitHub 76 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

sre-engineer 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
sre-engineer

工程师 · 本页

2,25876需要联网MIT有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Site Reliability Engineer

Purpose

Provides expert site reliability engineering expertise for building and maintaining highly available, scalable, and resilient systems. Specializes in SLOs, error budgets, incident management, chaos engineering, capacity planning, and observability platforms with focus on reliability, availability, and performance.

When to Use

  • Defining and implementing SLOs (Service Level Objectives) and error budgets
  • Managing incidents from detection → resolution → post-mortem
  • Building high availability architectures (multi-region, fault tolerance)
  • Conducting chaos engineering experiments (failure injection, resilience testing)
  • Capacity planning and auto-scaling strategies
  • Implementing observability platforms (metrics, logs, traces)
  • Designing toil reduction and automation strategies

Quick Start

Invoke this skill when:

  • Defining and implementing SLOs (Service Level Objectives) and error budgets
  • Managing incidents from detection → resolution → post-mortem
  • Building high availability architectures (multi-region, fault tolerance)
  • Conducting chaos engineering experiments (failure injection, resilience testing)
  • Capacity planning and auto-scaling strategies
  • Implementing observability platforms (metrics, logs, traces)

Do NOT invoke when:

  • Only DevOps automation needed (use devops-engineer for CI/CD pipelines)
  • Application-level debugging (use debugger skill)
  • Infrastructure provisioning without reliability context (use cloud-architect)
  • Database performance tuning (use database-optimizer)
  • Security incident response (use incident-responder for security)


Core Workflows

Workflow 1: Define and Implement SLOs

Use case: New microservice needs SLO definition and monitoring

Step 1: SLI (Service Level Indicator) Selection

# Service: User Authentication API
# Critical user journey: Login flow

SLI Candidates:
1. Availability (request success rate):
   Definition: (successful_requests / total_requests) * 100
   Measurement: HTTP 2xx responses vs 5xx errors
   Rationale: Core indicator of service health

2. Latency (response time):
   Definition: P99 response time \u003c 500ms
   Measurement: Time from request received → response sent
   Rationale: User experience directly impacted by slow logins

3. Correctness (authentication accuracy):
   Definition: Valid tokens issued / authentication attempts
   Measurement: JWT validation failures within 1 hour of issuance
   Rationale: Security and functional correctness

Selected SLIs for SLO:
- Availability: 99.9% (primary SLO)
- Latency P99: 500ms (secondary SLO)

Step 2: SLO Definition Document

# Authentication Service SLO

## Service Overview
- **Service**: User Authentication API
- **Owner**: Platform Team
- **Criticality**: Tier 1 (blocks all user actions)

## SLO Commitments

### Primary SLO: Availability
- **Target**: 99.9% availability over 28-day rolling window
- **Error Budget**: 0.1% = 40.3 minutes downtime per 28 days
- **Measurement**: `(count(http_response_code=2xx) / count(http_requests)) >= 0.999`
- **Exclusions**: Planned maintenance windows, client errors (4xx)

### Secondary SLO: Latency
- **Target**: P99 latency \u003c 500ms
- **Error Budget**: 1% of requests can exceed 500ms
- **Measurement**: `histogram_quantile(0.99, http_request_duration_seconds) \u003c 0.5`
- **Measurement Window**: 5-minute sliding window

## Error Budget Policy

### Budget Remaining Actions:
- **\u003e 50%**: Normal development velocity, feature releases allowed
- **25-50%**: Slow down feature releases, prioritize reliability
- **10-25%**: Feature freeze, focus on SLO improvement
- **\u003c10%**: Incident declared, all hands on reliability

### Budget Exhausted (0%):
- Immediate feature freeze
- Rollback recent changes
- Root cause analysis required
- Executive notification

## Monitoring and Alerting

**Prometheus Alerting Rules:**

groups: - name: auth_service_slo interval: 30s rules: # Availability SLO alert - alert: AuthServiceSLOBreach expr: | ( sum(rate(http_requests_total{service="auth",code=~"2.."}[5m])) / sum(rate(http_requests_total{service="auth"}[5m])) ) < 0.999 for: 5m labels: severity: critical service: auth annotations: summary: "Auth service availability below SLO" description: "Current availability: {{ $value | humanizePercentage }}"

# Error budget burn rate alert (fast burn) - alert: AuthServiceErrorBudgetFastBurn expr: | ( 1 - ( sum(rate(http_requests_total{service="auth",code=~"2.."}[1h])) / sum(rate(http_requests_total{service="auth"}[1h])) ) ) > 14.4 * (1 - 0.999) # 2% of monthly budget in 1 hour for: 5m labels: severity: critical service: auth annotations: summary: "Auth service burning error budget at 14.4x rate" description: "At this rate, monthly budget exhausted in 2 days"

# Latency SLO alert - alert: AuthServiceLatencySLOBreach expr: | histogram_quantile(0.99, sum(rate(http_request_duration_seconds_bucket{service="auth"}[5m])) by (le) ) > 0.5 for: 5m labels: severity: warning service: auth annotations: summary: "Auth service P99 latency above SLO" description: "Current P99: {{ $value }}s (SLO: 0.5s)"


**Step 3: Grafana Dashboard**

{ "dashboard": { "title": "Auth Service SLO Dashboard", "panels": [ { "title": "30-Day Availability SLO", "targets": [{ "expr": "avg_over_time((sum(rate(http_requests_total{service=\"auth\",code=~\"2..\"}[5m])) / sum(rate(http_requests_total{service=\"auth\"}[5m])))[30d:5m])" }], "thresholds": [ {"value": 0.999, "color": "green"}, {"value": 0.995, "color": "yellow"}, {"value": 0, "color": "red"} ] }, { "title": "Error Budget Remaining", "targets": [{ "expr": "1 - ((1 - avg_over_time((sum(rate(http_requests_total{service=\"auth\",code=~\"2..\"}[5m])) / sum(rate(http_requests_total{service=\"auth\"}[5m])))[30d:5m])) / (1 - 0.999))" }], "visualization": "gauge", "thresholds": [ {"value": 0.5, "color": "green"}, {"value": 0.25, "color": "yellow"}, {"value": 0, "color": "red"} ] } ] } }


---

---

### Workflow 3: Chaos Engineering Experiment

**Use case:** Validate resilience to database failover

**Experiment Design:**

chaos-experiment-db-failover.yaml

apiVersion: chaos-mesh.org/v1alpha1 kind: PodChaos metadata: name: database-primary-kill namespace: chaos-testing spec: action: pod-kill mode: one selector: namespaces: - production labelSelectors: app: postgresql role: primary scheduler: cron: "@every 2h" # Run experiment every 2 hours duration: "0s" # Instant kill


**Hypothesis:**

Hypothesis

Steady State:

  • Application maintains 99.9% availability
  • P99 latency \u003c 500ms
  • Database queries succeed with automatic failover to replica

Perturbation:

  • Kill primary database pod (simulates AZ failure)

Expected Behavior:

  • Kubernetes detects pod failure within 10 seconds
  • Replica promoted to primary within 30 seconds
  • Application reconnects to new primary within 5 seconds
  • Total impact: \u003c45 seconds of elevated error rate (\u003c5%)
  • No data loss (synchronous replication)

Abort Conditions:

  • Error rate \u003e 20% for \u003e60 seconds
  • Manual rollback command issued
  • Customer complaints spike \u003e10x normal

**Execution Steps:**

#!/bin/bash

chaos-experiment-runner.sh

set -e

echo "=== Chaos Experiment: Database Failover ===" echo "Start time: $(date)"

Step 1: Baseline metrics (5 minutes)

echo "[1/7] Collecting baseline metrics..." START_TIME=$(date -u +%s) sleep 300

BASELINE_ERROR_RATE=$(promtool query instant \ 'sum(rate(http_requests_total{code=~"5.."}[5m])) / sum(rate(http_requests_total[5m]))' \ | jq -r '.data.result[0].value[1]')

echo "Baseline error rate: ${BASELINE_ERROR_RATE}"

Step 2: Inject failure

echo "[2/7] Injecting failure: Killing primary database pod..." kubectl delete pod -l app=postgresql,role=primary -n production

Step 3: Monitor failover

echo "[3/7] Monitoring failover process..." for i in {1..60}; do READY_PODS=$(kubectl get pods -l app=postgresql -n production \ -o jsonpath='{.items[?(@.status.conditions[?(@.type=="Ready")].status=="True")].metadata.name}' \ | wc -w)

if [ $READY_PODS -ge 1 ]; then echo "Failover completed at T+${i}s: $READY_PODS ready pods" break fi

echo "T+${i}s: Waiting for replica promotion..." sleep 1 done

Step 4: Measure impact

echo "[4/7] Measuring incident impact..." sleep 60 # Wait for metrics to stabilize

INCIDENT_ERROR_RATE=$(promtool query instant \ 'max_over_time((sum(rate(http_requests_total{code=~"5.."}[1m])) / sum(rate(http_requests_total[1m])))[5m:])' \ | jq -r '.data.result[0].value[1]')

echo "Peak error rate during incident: ${INCIDENT_ERROR_RATE}"

Step 5: Validate recovery

echo "[5/7] Validating service recovery..." for i in {1..30}; do CURRENT_ERROR_RATE=$(promtool query instant \ 'sum(rate(http_requests_total{code=~"5.."}[1m])) / sum(rate(http_requests_total[1m]))' \ | jq -r '.data.result[0].value[1]')

if (( $(echo "$CURRENT_ERROR_RATE < 0.01" | bc -l) )); then echo "Service recovered at T+$((60+i))s" break fi

sleep 1 done

Step 6: Data integrity check

echo "[6/7] Running data integrity checks..." psql -h postgres-primary-service -U app -c "SELECT COUNT(*) FROM orders WHERE created_at > NOW() - INTERVAL '10 minutes';"

Step 7: Results summary

echo "[7/7] Experiment Results:" echo "================================" echo "Baseline error rate: ${BASELINE_ERROR_RATE}" echo "Peak error rate: ${INCIDENT_ERROR_RATE}" echo "Current error rate: ${CURRENT_ERROR_RATE}" echo "Failover time: ~30-45 seconds" echo "Hypothesis validation: $([ $(echo "$INCIDENT_ERROR_RATE < 0.05" | bc -l) -eq 1 ] && echo "PASS" || echo "FAIL")" echo "================================"

Output experiment report

cat > experiment-report-$(date +%Y%m%d-%H%M%S).md <<EOF

Chaos Experiment Report: Database Failover

Experiment Details

  • Date: $(date)
  • Hypothesis: Application survives primary database failure with \u003c5% error rate
  • Perturbation: Kill primary PostgreSQL pod

Results

  • Baseline error rate: ${BASELINE_ERROR_RATE}
  • Peak error rate during failure: ${INCIDENT_ERROR_RATE}
  • Recovery time: ~45 seconds
  • Data integrity: Verified (no data loss)

Hypothesis Validation

$([ $(echo "$INCIDENT_ERROR_RATE < 0.05" | bc -l) -eq 1 ] && echo "✅ PASS - Error rate stayed below 5%" || echo "❌ FAIL - Error rate exceeded 5%")

Action Items

  1. Reduce failover time from 45s to \u003c30s (tune health check intervals)
  2. Add connection pool retry logic (reduce client-side errors)
  3. Improve monitoring alerts for database failover events

EOF

echo "Experiment report generated."


**Expected Results:**

- Failover time: 30-45 seconds
- Peak error rate: 3-4% (below 5% threshold)
- Data integrity: 100% preserved
- SLO impact: 45 seconds @ 4% error rate = 1.8 seconds error budget consumed

---

---

### ❌ Anti-Pattern 2: No Incident Command Structure

**What it looks like:**

[During P0 incident in Slack] Engineer A: "Database is down!" Engineer B: "I'm restarting it" Engineer C: "Wait, I'm also trying to restart it" Engineer A: "Should we roll back the deployment?" Engineer B: "I don't know, maybe?" Engineer C: "Who's talking to customers?" [15 minutes of chaos, uncoordinated actions]


**Why it fails:**

- No single decision maker
- Duplicate/conflicting actions
- No stakeholder communication
- Timeline not documented
- Learning opportunities lost

**Correct approach (Incident Command System):**

Incident Roles:

  1. Incident Commander (IC) - Makes decisions, coordinates
  2. Tech Lead - Investigates root cause, implements fixes
  3. Communications Lead - Updates stakeholders
  4. Scribe - Documents timeline

[Incident starts] IC: "@team P0 incident declared. I'm IC. @alice tech lead, @bob comms, @charlie scribe" IC: "@alice what's the current state?" Alice: "Database primary down, replica healthy. Investigating cause." IC: "Decision: Promote replica to primary now. @alice proceed." Bob: "Posted status page update: investigating database issue." Charlie: [Documents in timeline: T+0: Alert fired, T+2: DB primary down, T+5: Failover initiated]

IC: "Mitigation complete. @alice confirm service health." Alice: "Error rate back to 0.1%, latency normal." IC: "Incident resolved. @bob final status update. @charlie compile timeline for post-mortem."


---

---

## Quality Checklist

### SLO Implementation

- SLIs clearly defined and measurable
- Error budget calculated and tracked
- Prometheus/monitoring queries validated
- Alert thresholds set (avoid alert fatigue)
- Error budget policy documented

### Incident Response

- Runbooks exist for all critical services
- Incident command roles defined
- Communication templates ready
- On-call rotation sustainable (\u003c5 pages/week)
- Post-mortem process established (blameless)

### High Availability

- Multi-AZ deployment verified
- Automated failover tested
- RTO/RPO documented and validated
- Disaster recovery tested quarterly
- Chaos experiments run monthly

This SRE skill provides production-ready reliability engineering practices with emphasis on SLOs, incident management, and continuous improvement.

平台分布

Claude Code

31.11%
按下载量换算246

OpenCode

20.74%
按下载量换算164

Codex

17.9%
按下载量换算142

Cursor

13.52%
按下载量换算107

Gemini CLI

8.14%
按下载量换算64

windsurf

3.36%
按下载量换算27

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills