sre-review
Skill1 starsChanged 7 months agoMITView on GitHub
Review code and configuration for SRE concerns — SLO/SLA coverage, observability gaps, toil, alerting blind spots, and reliability anti-patterns
1 other project uses a version of this.
Adopted by
Most recently taken up by
- carlgra/claude-skillstheir own version, first seen Nov 22, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- carlgra/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository206 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- project-healthSkill
- skill-validatorSkill
- accessibilitySkill
- agent-debugSkill
- agent-evaluateSkill
- ai-governanceSkill
- ai-system-reviewSkill
- api-docs-generateSkill
- api-examplesSkill
- api-mockSkill
- api-test-generateSkill
- api-validateSkill
- architecture-diagramSkill
- ask-mattSkill
- assumption-mapSkill
- boilerplateSkill
- brainstormSkill
- branch-finishSkill
- briefingSkill
- browser-testing-with-devtoolsSkill
- bundle-analyzeSkill
- cache-strategySkill
- canarySkill
- carefulSkill
- cavemanSkill
- changelog-autoSkill
- chaos-testSkill
- ci-setupSkill
- ci-sweepSkill
- cleanprojectSkill
- click-path-auditSkill
- codebase-designSkill
- code-review-checklistSkill
- code-tourSkill
- commitSkill
- completion-verifySkill
- complexity-reduceSkill
- component-librarySkill
- config-cleanupSkill
- config-generateSkill
- conflict-resolveSkill
- container-optimizeSkill
- context-budgetSkill
- context-engineeringSkill
- context-restoreSkill
- context-saveSkill
- continuous-learningSkill
- contributingSkill
- cost-trackSkill
- councilSkill
- create-todosSkill
- cross-modal-reviewSkill
- database-connectSkill
- db-diagramSkill
- ddd-modelSkill
- debug-root-causeSkill
- debug-sessionSkill
- debug-systematicSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 53
If no SLO definitions found, propose a minimal starting set:
- Distinctive: line 84
Missing alerts: No alert on error rate, no alert on SLO burn rate
- Very specific: line 123
Kubernetes: Check Deployment livenessProbe/readinessProbe and resource requests/limits.
- Very specific: line 132
Early exit: If --slo flag and no YAML config files exist, report the gap immediately without scanning source files.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SRE Review
Evaluate a service or change for site reliability concerns: missing observability, absent SLOs, high toil, alerting gaps, and patterns that erode error budgets.
Usage
/sre-review # review staged changes for reliability regressions
/sre-review <path> # review a service directory
/sre-review --slo # focus only on SLO/SLA coverage gaps
/sre-review --toil # identify and quantify toil sourcesBehavior
Step 1 — Detect service type and observability stack
# Identify metrics/tracing/logging libraries in use
grep -rn "prometheus\|datadog\|opentelemetry\|jaeger\|statsd\|pino\|winston\|structlog\|zap" \
--include="*.ts" --include="*.py" --include="*.go" -l . | head -20
# Find existing SLO/alert definitions
find . -name "*.yaml" -o -name "*.yml" | xargs grep -l "slo\|alert\|rule\|record" 2>/dev/null | head -10Step 2 — Check observability coverage
For each critical path (HTTP endpoints, queue consumers, scheduled jobs), verify:
| Signal | What to look for | Gap indicator |
| Metrics | Request rate, error rate, latency histogram | No counter/histogram/gauge instrumentation |
| Traces | Span creation at service boundaries | No startSpan/tracer.trace/@trace |
| Logs | Structured logging with correlation IDs | console.log, unstructured strings, no request ID |
| Health checks | /health, /ready, /live endpoints | No health endpoint registered |
Step 3 — Review SLO/SLA coverage
Check for:
- Defined availability target (e.g., 99.9%)
- Error budget burn rate alerts (fast burn: 2% in 1h; slow burn: 5% in 6h)
- Latency SLO (p50, p95, p99 thresholds)
- SLO dashboards or recording rules
If no SLO definitions found, propose a minimal starting set:
Suggested SLOs for <service>:
Availability: 99.9% (allow 43.8 min/month downtime)
Latency p95: < 500ms for /api/* endpoints
Error rate: < 0.1% of requests return 5xxStep 4 — Identify toil
Toil is manual, repetitive work that scales with service load. Flag:
- Manual steps in deployment scripts (no automation)
- Ad-hoc fixes applied more than once (visible in git log)
- Runbooks without automation links
- Cron jobs that require human verification
- Alerting rules with no automated remediation
# Find manual steps or TODOs in ops files
grep -rn "TODO\|FIXME\|manual\|manually\|hand" deploy/ ops/ scripts/ k8s/ 2>/dev/null | head -20Step 5 — Check alerting quality
For each alert rule found:
- Signal to noise: Does the alert fire on symptoms (not causes)?
- Actionability: Does the alert link to a runbook?
- Severity calibration: Is it paging the right level (P1 vs P2)?
- Missing alerts: No alert on error rate, no alert on SLO burn rate
Flag:
- Alerts with no
runbook_urlannotation - Severity: critical alerts that are informational in practice
- Missing burn-rate alerts when SLOs are defined
Step 6 — Report findings
SRE REVIEW — <service/path>
Observability Gaps (3)
src/payments/processor.ts No latency histogram on charge() — p95 invisible
src/jobs/email-worker.ts console.log only — no structured logging, no correlation ID
No /health endpoint Load balancer cannot distinguish healthy from unhealthy pods
SLO Issues (2)
No SLO definitions found — error budget burn goes undetected
Suggested starter SLOs: [see below]
Toil (2)
scripts/deploy.sh:45 Manual DB migration step before every deploy
k8s/cronjob.yaml Nightly report job requires human sign-off email
Alerting Gaps (1)
No error rate alert — 5xx spikes are invisible until users report them
Reliability Anti-patterns (1)
src/cache/redis.ts:88 Cache-aside with no stampede protection (thundering herd risk at TTL expiry)
Suggested SLOs:
Availability: 99.9% | Latency p95: 500ms | Error rate: < 0.1%Edge Cases
- No observability libraries: Recommend adding the lightest option for the detected stack (e.g.,
pinofor Node,structlogfor Python). - No staged changes: Analyze the full path provided in
$ARGUMENTS. - Kubernetes: Check Deployment
livenessProbe/readinessProbeand resourcerequests/limits. - Serverless: Adapt checks for cold-start latency, concurrency limits, and function timeout settings.
Token Optimization
Expected range: 500–1,800 tokens; 100–200 tokens (early exit, no integrations)
Patterns used: Grep-before-Read, git diff scope defaults, progressive disclosure (summary then detail per category)
Early exit: If --slo flag and no YAML config files exist, report the gap immediately without scanning source files.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

