Safe Backfill And Replay Orchestration logo

Safe Backfill And Replay Orchestration

Community
vaquarkhan
safe-backfill-and-replay-orchestration

Forces replay-safe rollout plans, reconciliation gates, and rollback paths before executing any data backfill or historical reprocessing. Use when running /backfill, rerunning pipelines, repairing publish windows, or any work that risks double-counting or downstream corruption.

Overview

Publishervaquarkhan
Repositorydata-engineering-agent-skills
Skill namesafe-backfill-and-replay-orchestration
Stars
60
Forks
8
Bundled files
Instructions only
LicenseMIT
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 vaquarkhan on GitHub. Read the source before you install it.

Installation

Install the Safe Backfill And Replay Orchestration 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/vaquarkhan/data-engineering-agent-skills/tree/main/skills/safe-backfill-and-replay-orchestration
  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/vaquarkhan/data-engineering-agent-skills.git /tmp/data-engineering-agent-skills
mkdir -p .claude/skills
cp -r /tmp/data-engineering-agent-skills/skills/safe-backfill-and-replay-orchestration .claude/skills/safe-backfill-and-replay-orchestration
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Safe Backfill And Replay Orchestration 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 Safe Backfill And Replay Orchestration 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 Safe Backfill And Replay Orchestration 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.

Safe Backfill And Replay Orchestration

Overview

Backfills are among the highest-risk data engineering operations. Agents that rerun jobs without bounded windows, publish gates, or reconciliation checks routinely cause double-counting, corrupted metrics, and downstream trust loss. This skill blocks execution until a written replay plan, rollback path, and validation gates exist.

When to Use

  • running /backfill or any historical reprocessing request
  • repairing a failed or partial publish window
  • replaying events or partitions after an incident
  • changing transformation logic that requires recomputation
  • cutting over to new pipeline behavior with overlapping data windows

Always load this skill before orchestration-and-backfills execution steps. Treat plan approval as a hard gate, not a suggestion.

Workflow

  1. Stop before execution. Do not trigger reruns, delete partitions, or open publish paths until the replay plan is drafted and reviewed.

  2. Run the backfill guard hook when available. Execute hooks/backfill-guard.sh or hooks/backfill-guard.ps1 before planning destructive or wide-impact replay work.

  3. Draft the replay plan from templates/backfill-plan.yaml. Require explicit values for:

    • affected time window and partitions
    • source of truth and downstream targets
    • execution mode (replay, merge, overwrite) and idempotency proof
    • publish pause state and downstream notifications
    • rollback strategy in plain language
    • validation checks with thresholds
    • required approvals
  4. Separate incremental from backfill semantics. Confirm:

    • concurrency limits differ from daily runs when needed
    • watermark or cursor behavior will not skip or duplicate late data
    • metric definitions remain comparable across the replay window
    • downstream consumers know publish is paused
  5. Define reconciliation gates before reopening publish. Load data-reconciliation-and-financial-controls when correctness must be proven. Minimum gates:

    • row count or volume parity within threshold
    • duplicate check on business keys
    • metric reconciliation for business-critical aggregates
    • contract checks on schema and nullability
  6. Load companion skills by scenario.

    • cutover or dual-run: data-migration-and-platform-cutover
    • incident-driven replay: incident-triage-and-pipeline-recovery
    • schedule or dependency changes: orchestration-and-backfills
  7. Execute in bounded slices. Order of operations:

    • dry run or single-partition proof when possible
    • expand to full window only after slice reconciliation passes
    • reopen publish only after all gates pass
    • record evidence in templates/release-gate-evidence.yaml when publish-bound

Replay Plan Checklist

Copy and track before any execution:

text
Backfill gate:
- [ ] templates/backfill-plan.yaml drafted with owner and reason
- [ ] affected window and partitions bounded
- [ ] publish paused and downstream owners notified
- [ ] idempotent write strategy documented
- [ ] rollback strategy documented
- [ ] reconciliation checks defined with thresholds
- [ ] approvals captured
- [ ] dry run or slice proof completed
- [ ] full window reconciliation passed
- [ ] publish reopened only after evidence recorded

Common Rationalizations

RationalizationReality
"It is faster to rerun now and reconcile later."Late reconciliation still leaves corrupted dashboards and irreversible downstream actions.
"The job is idempotent so a full rerun is safe."Idempotency at the job level does not guarantee metric or aggregate correctness across windows.
"We only need to backfill one day."Even small windows can duplicate keys, break slowly changing dimensions, or violate publish contracts.
"Rollback can be improvised if metrics look wrong."Rollback under pressure is slow, incomplete, and often worsens blast radius.

Red Flags

  • execution starts without a completed backfill plan template
  • no publish pause for downstream consumers
  • reconciliation thresholds are undefined
  • backfill and incremental code paths are conflated
  • no bounded slice proof before full-window replay
  • rollback strategy is missing or untested

Verification

  • templates/backfill-plan.yaml is complete and approved
  • Publish is paused and stakeholders are notified
  • Idempotency and write strategy are explicit at target grain
  • Reconciliation gates passed before publish reopen
  • Recovery evidence is recorded for audit and future incidents

Frequently asked questions

What does the Safe Backfill And Replay Orchestration AI skill do?

Forces replay-safe rollout plans, reconciliation gates, and rollback paths before executing any data backfill or historical reprocessing. Use when running /backfill, rerunning pipelines, repairing publish windows, or any work that risks double-counting or downstream corruption.

Why use Safe Backfill And Replay Orchestration on TypingMind?

Because you install it once and use it with any model. Safe Backfill And Replay Orchestration 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 Safe Backfill And Replay Orchestration in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/vaquarkhan/data-engineering-agent-skills/tree/main/skills/safe-backfill-and-replay-orchestration. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Safe Backfill And Replay Orchestration?

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 Safe Backfill And Replay Orchestration?

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

Is the Safe Backfill And Replay Orchestration AI skill free?

Yes. It is published on GitHub by vaquarkhan under the MIT 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 👇