Sre Data Reliability logo

Sre Data Reliability

Community
paulip114
sre-data-reliability

Use when designing, operating or reviewing data pipelines, scheduled/cron jobs, backups and restores, or data integrity protections — pipeline SLOs, idempotency, handling stragglers and hot spots, distributed cron, defense in depth against data loss, and recovery testing. Based on Google SRE practice.

Overview

Publisherpaulip114
Repositorysre-practice-skills
Skill namesre-data-reliability
Stars
64
Forks
19
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by paulip114 on GitHub. Read the source before you install it.

Installation

Install the Sre Data Reliability AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/paulip114/sre-practice-skills/tree/main/sre-data-reliability
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/paulip114/sre-practice-skills.git /tmp/sre-practice-skills
mkdir -p .claude/skills
cp -r /tmp/sre-practice-skills/sre-data-reliability .claude/skills/sre-data-reliability
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Sre Data Reliability in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Sre Data Reliability on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Sre Data Reliability is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Data Pipelines, Scheduled Jobs and Data Integrity

Data integrity: what users need is restores, not backups

Users judge you by whether their data is there and correct when they ask for it. A backup that has never been restored is a hope, not a plan.

Threat model

Data loss comes from many combinations of:

  • Root cause: user error, application bugs, operator/automation error, infrastructure failure, malicious action, migration bugs.
  • Scope: wide (many entities) vs. narrow (one user/object).
  • Rate: sudden (big bang) vs. slow and creeping (a bug corrupting a little data each day for months).

Slow, creeping corruption is the most dangerous: by the time it's noticed, it's in every recent backup and replica.

Defense in depth

  1. First layer — soft deletion / undo: deleted data goes to a trash/tombstone state for a retention period (days to weeks) before purge; users and support can undo. Protects against user and application errors.
  2. Second layer — backups and recovery: versioned backups with retention long enough to catch slow corruption, stored in a separate failure domain and administrative domain (so the same bug or operator mistake can't delete both). Replication is not a backup — it faithfully replicates corruption and deletes.
  3. Third layer — early detection: continuous out-of-band validation that checks data invariants (referential integrity, counts, checksums, business rules) and alerts on drift. Detection time is what bounds how far back you need to restore.

Recovery

  • Define RPO (how much data loss is tolerable) and RTO (how fast you must recover) per dataset, and design backups to meet them.
  • Test restores continuously and automatically, end to end, from real backups; measure time to restore. Alert when a restore test fails.
  • Support partial/point restores (one user, one table, one time range), not just "restore everything".
  • Keep tooling and runbooks for recovery as production-grade as serving code.

Data pipelines

Design

  • Prefer continuous/streaming or frequent small batches over huge periodic batches when freshness matters; big periodic jobs create load spikes ("thundering herds") and long recovery after failure.
  • Make every stage idempotent and re-runnable; write outputs atomically (write then rename/commit).
  • Define pipeline SLOs: freshness, correctness, coverage/completeness, and end-to-end latency (sre-slos-and-error-budgets).
  • Handle stragglers and hot spots: split work into many small shards, rebalance dynamically, avoid skewed keys.
  • Schema changes and migrations: versioned schemas, backward/forward compatible readers, dual-writes and backfills staged and verified.
  • Isolate pipelines by priority so a large low-priority backfill can't starve a critical job.
  • Plan dependencies: know upstream sources, their SLOs, and what happens when they are late or bad; validate inputs and quarantine bad records instead of failing whole runs or silently passing garbage.

Operating

  • Monitor: freshness/lag at each stage, throughput, backlog, error/quarantine counts, data quality checks.
  • Alert on SLO (e.g. "data older than X for > Y% of reads"), not on every task failure.
  • Keep runbooks for: reprocessing a time range, skipping/quarantining poison inputs, backfills, and rolling back a bad output version.
  • Canary pipeline code and config changes on a subset of data and compare output against the previous version before full rollout.

Distributed cron / scheduled jobs

  • Run the scheduler itself redundantly with leader election via a consensus system, so one machine's failure doesn't skip or double-run jobs.
  • Persist launch state durably: record intent before launching and success after, so a new leader can tell whether a job ran.
  • Make jobs idempotent or have them check for prior completion; decide explicitly whether a missed run should be skipped or run late, and whether a double run is acceptable.
  • Spread start times (jitter, hashed minutes) to avoid everyone running at :00 and overloading shared systems.
  • Monitor for missed runs, overruns (job still running at next start), and failures.

Review checklist

  • RPO/RTO defined per dataset; backups meet them?
  • Backups in separate failure + administrative domain; retention covers slow corruption?
  • Soft-delete / undo for user-facing deletions?
  • Automated, end-to-end restore tests with alerting?
  • Out-of-band data validation running?
  • Pipeline stages idempotent, atomic outputs, freshness/correctness SLOs?
  • Scheduled jobs survive scheduler failure without skipping or double-running?

Sources

Frequently asked questions

What does the Sre Data Reliability AI skill do?

Use when designing, operating or reviewing data pipelines, scheduled/cron jobs, backups and restores, or data integrity protections — pipeline SLOs, idempotency, handling stragglers and hot spots, distributed cron, defense in depth against data loss, and recovery testing. Based on Google SRE practice.

Why use Sre Data Reliability on TypingMind?

Because you install it once and use it with any model. Sre Data Reliability is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Sre Data Reliability in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/paulip114/sre-practice-skills/tree/main/sre-data-reliability. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Sre Data Reliability?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Sre Data Reliability?

As many as you like. As long as a model supports skills, you can use Sre Data Reliability with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Sre Data Reliability AI skill free?

Yes. It is published on GitHub by paulip114 under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇