agentleFS
fmindfmind/dotfiles/skills/sre/SKILL.md

sre

Skill14 starsChanged 2 days agoMITView on GitHub

Design SLOs, rollouts, zero-downtime migrations, resilience defaults, runbooks, postmortems, and live incident triage.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Site Reliability Engineering

Design operable production services, safe rollouts, zero-downtime migrations, resilience defaults, operational runbooks, and blameless postmortems. Scale rigor to runtime risk: skip distributed-tracing and circuit-breaker ceremony on local CLIs or cold paths (N < 50).

Reliability & Rollout Defaults

  1. SLOs & multi-window burn-rate alerts: define user-symptom SLIs/SLOs (availability, p95/p99 latency, data freshness, queue lag) and multi-window error-budget burn-rate alerts instead of noisy raw-CPU triggers. Emit structured logs with request/trace correlation IDs and keep metric label cardinality bounded (never user_id, request_id, or raw URLs).
  2. Expand-contract N-1 zero-downtime migrations: during rolling deploys and minute-scale rollbacks, N-1 and N run concurrently against shared DBs, caches, and queues. Split breaking schema, cache, or wire changes into expand → backfill/dual-write → cutover → contract releases without hot table-locking DDL; validate required config upfront at boot and drain in-flight work on SIGTERM.
  3. Bounded resilience defaults: set explicit connect + read/deadline timeouts on every outbound HTTP, DB, RPC, or subprocess call; bound exponential retries with jitter and retry budgets (idempotent operations only, never 4xx); add circuit breakers, semaphore/worker backpressure, and DLQs with max-delivery caps on async consumers.
  4. Capacity & pool sizing: reuse pooled HTTP/DB clients sized to upstream connection limits, eliminate N+1 hot loops and eager full-dataset loads, bound in-memory cache sizes/TTLs, and benchmark optimizations against a reproducible warmed baseline (p95/p99) before adding complexity.
  5. Live incident triage: mitigate user impact first (rollback, traffic shift, feature flag, load shed) before root-cause deep dives. Run bounded read-only diagnostics (--project, --context, time window, --limit) and preserve logs/metrics/timelines before containment; never destructively mutate production state, rotate keys, or send external comms/ETAs without explicit owner approval.
  6. Verify readiness: probe live endpoints via http-probing and confirm rollback paths, alerts, and cost bounds before rollout.

Task guides

<!-- guides:start -->
  • runbook-postmortem: Write Day-2 operational runbooks, safe cutover plans, SLO alerts, and blameless incident postmortems.
<!-- guides:end -->

Documentation

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.