agentleFS
vaquarkhanvaquarkhan/data-engineering-agent-skills/skills/orchestration-and-backfills/SKILL.md

orchestration-and-backfills

Skill49 starsChanged 6 months agoMITView on GitHub

Designs scheduling, reruns, and backfills safely for data systems. Use when changing orchestration, retries, dependency timing, historical reprocessing, or publish sequencing.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 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.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use a dry run, limited slice, or non-production environment when possible.

    line 47
  2. Distinctive:

    no idempotency strategy is documented

    line 59

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Orchestration And Backfills

Overview

Reliable data systems are shaped as much by rerun behavior as by transformation logic. This skill ensures schedules, retries, and backfills are deliberate, safe, and reversible.

When to Use

  • adding or changing a scheduled pipeline
  • designing retries or failure handling
  • introducing a new dependency chain
  • reprocessing historical data
  • modifying publish windows or cutover behavior

Workflow

  1. Define execution semantics. Specify:
    • schedule or trigger type
    • watermark behavior
    • late-arriving data policy
    • idempotency guarantees
    • retry rules
    • failure notification path
  2. Separate normal runs from backfills. Historical reprocessing should not silently behave like daily incremental runs unless that has been proven safe. For /backfill or publish-bound replay, load safe-backfill-and-replay-orchestration first and complete templates/backfill-plan.yaml before execution.
  3. Design the recovery path before rollout. Include:
    • restart behavior
    • partial failure handling
    • duplicate prevention
    • publish gating
    • rollback or pause steps
  4. Estimate cost and blast radius. Backfills can overload warehouses, queues, clusters, or downstream consumers.
  5. Prove the run strategy. Use a dry run, limited slice, or non-production environment when possible.

Common Rationalizations

RationalizationReality
"The scheduler will handle retries for us."Default retries may duplicate writes or hide real data issues.
"Backfill is just rerunning the job for older dates."Historical loads often need different concurrency, checks, and cutover rules.
"We can figure out rollback during the incident."Recovery plans created during outage pressure are usually incomplete.

Red Flags

  • no idempotency strategy is documented
  • backfill and incremental logic are conflated
  • downstream consumers are not considered during replay
  • recovery steps are absent from the plan

Verification

  • Execution, retry, and replay rules are documented
  • Backfill behavior is explicitly designed and bounded
  • A recovery path exists for partial or failed runs
  • Rollout risk and cost impact have been considered

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.