Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

dag-orchestration-patterns

Skill by revfactory

Provides a guide to Apache Airflow DAG orchestration patterns for data pipelines. It covers ELT, fan-out and fan-in, partition replacement, retry settings, backfills, and failure alerts.

  • Score 57
  • 1.3k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install dag-orchestration-patterns

Built from the published package, never by AI.

git clone --depth 1 https://github.com/revfactory/harness-100 /tmp/harness-100 && mkdir -p ~/.claude/skills && cp -r /tmp/harness-100/en/27-data-pipeline/.claude/skills/dag-orchestration-patterns ~/.claude/skills/dag-orchestration-patterns

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install dag-orchestration-patterns in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a guide to pipeline orchestration patterns for Apache Airflow DAGs. It covers an extract-load-transform pattern, fan-out and fan-in with parallel extract tasks, and a file sensor that waits for data. It also covers partition replacement and MERGE or upsert SQL, plus retry settings, backfill safety, cross-DAG dependencies, and failure alerts.

Each section gives Python or SQL snippets for Airflow operators and settings. These include retries, max_active_runs, ExternalTaskSensor, and Dataset scheduling in Airflow 2.4 and later. The source is written for data engineers who build and schedule data pipelines. It is a reference of code examples rather than an installable package.

Written from the project's SKILL.md and checked against it.

What it can do

  • ELT patternShows an extract, load raw, transform, quality check, and notify DAG sequence.
  • Fan-out and fan-inRuns parallel extract tasks for several sources, then merges them before transformation.
  • File sensorWaits for a file in an S3 bucket using an S3KeySensor with a timeout and poke interval.
  • Partition replacementDeletes and reinserts a date partition so reruns produce the same result.
  • MERGE and upsertProvides a MERGE statement that updates matched rows and inserts new ones.
  • Retry strategySets retries, exponential backoff, and execution timeout, with per-type retry guidance.
  • Backfill safetySets catchup to False and max_active_runs to 1, and shows a backfill command.
  • Cross-DAG dependenciesUses ExternalTaskSensor to wait for a task in another DAG.
  • Dataset schedulingSchedules a consumer DAG from a producer's outlet dataset, using Airflow 2.4 or later.
  • Failure alertsSends a Slack message from a failure callback and lists alert routing by event type.

What you need

  • Apache Airflow
  • Python
  • Airflow 2.4 or later for Dataset scheduling

Try asking

  • Show me the ELT DAG pattern for loading orders data with Airflow
  • Set up Airflow retry settings for a database task with backoff
  • Write a failure callback that sends a Slack alert for failed DAG tasks

Good to know

  • Provides code snippets and guidance, not a tested or installable package
  • Dataset scheduling requires Airflow 2.4 or later
  • Alert routing is described as a table, with no implementation of PagerDuty calls shown

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: en/27-data-pipeline/.claude/skills/dag-orchestration-patterns/skill.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to dag-orchestration-patterns

All alternatives →
kaggle-cliKaggle
94

Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.

AAA Skill 7.7k
bigquery-bigframesgoogle
94

Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.

AAA Skill 25k
data-loadingmicrosoft
94

Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.

AAA Skill 18k
data-manager-api-setupgoogle
94

Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.

AAA Skill 25k
managed-airflow-dag-authoringgoogle
94

Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.

AAA Skill 25k
data-feedsdavila7
94

Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.

AAA Skill 34k

Compare with kaggle-cli, bigquery-bigframes or data-loading

dag-orchestration-patterns: common questions

Which Airflow version does the Dataset pattern need?

The source says Dataset scheduling requires Airflow 2.4 or later.

How does the guide handle failed tasks?

It shows a failure callback that sends a Slack message. An alert table lists Slack and PagerDuty for P0 failures.

How should backfills be run safely?

The source sets catchup to False and max_active_runs to 1. It also shows an airflow dags backfill command with a date range.

How do I install dag-orchestration-patterns?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is dag-orchestration-patterns free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is dag-orchestration-patterns safe to use?

It scores 57 of 100. Grades: maintenance D, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to dag-orchestration-patterns?

Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.

dag-orchestration-patterns Install

Add to stack

Loading.