Airflow and Workflow Orchestration

Tvingar fram modellval, idempotenta återförsök och en publiceringsgrind före DAG-kod

av vaquarkhan · vaquarkhan/data-engineering-agent-skills

Testad · Fungerar ★ 8.4/10

Airflow and Workflow Orchestration — Tvingar fram modellval, idempotenta återförsök och en publiceringsgrind före DAG-kod

Vad den gör

En design checklist för data pipeline orchestration across Airflow, MWAA, Cloud Composer, Step Functions, Azure Data Factory och Databricks Workflows. Den får dig att fix the workflow contract, orchestration model, retry idempotency, backfill path and publish gate before writing DAG code, and triggers on questions about dependencies, sensors, retries, SLAs, backfills, or which orchestrator to use.

Testrapport

Designed the same 40-tenant S3-to-Redshift pipeline twice. The cold answer reached for a stock MWAA DAG: forty S3 sensors, a Python loop building forty TaskGroups, dbt in a BashOperator, retries=3 on every task, and catchup=True for the 90-day backfill. The skill's six steps overturned five of those - it routed the workload to metadata-driven fan-out off a control table instead of copy-pasted TaskGroups, replaced the sensor fleet with an event trigger, caught that retrying a partial Redshift COPY duplicates rows, split the backfill onto its own throttled entry point with reconciliation, and reordered the run so the load lands in staging and only promotes after the quality gate. Its 'Common Rationalizations' table names the two traps the cold answer walked into verbatim. One snag: SKILL.md points at references/pipeline-orchestration-patterns.md, which lives at the repo root, not beside the skill, so a plain copy of the skill folder silently loses it.

Testad: 2026-07-30 · Claude Code 2.x (agent harness)

Installation

git clone --depth 1 https://github.com/vaquarkhan/data-engineering-agent-skills.git
mkdir -p ~/.claude/skills/airflow-and-workflow-orchestration/references
cd data-engineering-agent-skills && cp skills/airflow-and-workflow-orchestration/SKILL.md ~/.claude/skills/airflow-and-workflow-orchestration/ && cp references/pipeline-orchestration-patterns.md ~/.claude/skills/airflow-and-workflow-orchestration/references/

Kommandon och exempelprompter

  • /airflow-and-workflow-orchestrationTvingar fram modellval, idempotenta återförsök och en publiceringsgrind före DAG-kod

Skills triggas av vanliga förfrågningar — inga kommandon att memorera. Efter installationen aktiverar prompter som dessa skillen (på engelska):

  • Should I use Step Functions or MWAA for this 40-tenant ingestion pipeline?
  • Add retries and a backfill path to my Airflow DAG without duplicating rows
  • Design the dependency graph for our ingestion-to-publish data pipeline