/data-engineering-skills:authoring-airflow-dagsfrom data-engineering-skills
Guides writing production-grade Airflow DAGs with the TaskFlow API: idempotent tasks, correct scheduling/catchup, retries/SLAs, connections/variables, and avoiding top-level code. Use when creating or reviewing DAGs, scheduling pipelines, wiring dependencies, or fixing non-idempotent tasks.
Ships in data-engineering-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
debugging-airflow-pipelines).- [ ] Make each task idempotent and parameterized by the data interval
- [ ] Keep expensive/import-heavy code inside tasks, not at module top level
- [ ] Set schedule + catchup deliberately
- [ ] Configure retries, retry_delay, and SLAs
- [ ] Wire dependencies via TaskFlow return values or >> operators
2026-01-15 interval must produce the
same result whether it runs once or is re-run. Use the data interval, not
datetime.now().catchup=True backfills every missed
interval from start_date; default to False unless you want that.retries and
retry_delay; use SLAs/alerts for lateness.TaskFlow DAG, idempotent and cleanly wired:
from airflow.decorators import dag, task
import pendulum
@dag(
schedule="@daily",
start_date=pendulum.datetime(2026, 1, 1, tz="UTC"),
catchup=False,
default_args={"retries": 3, "retry_delay": pendulum.duration(minutes=5)},
tags=["orders"],
)
def orders_pipeline():
@task
def extract(data_interval_start=None):
# Use the interval, not now(), so re-runs are deterministic.
return fetch_orders(day=data_interval_start.date())
@task
def load(rows):
# Delete-insert the partition -> idempotent on retry.
overwrite_partition("fct_orders", rows)
load(extract())
orders_pipeline()
Pass small data via XCom (return values); pass large data via storage — write to S3/GCS/warehouse and pass the path/key, never megabytes through XCom.
Use connections/variables for secrets and config (BaseHook.get_connection,
Variable.get), never hard-coded credentials.
datetime.now() inside tasks — breaks idempotency and backfills; use
data_interval_start/_end.catchup=True unintentionally — floods the cluster with historical runs on
first deploy.start_date (e.g. days_ago) — makes schedules nondeterministic;
use a fixed timestamp.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
airflow-dags, taskflow-api, data-pipelines, dag-authoring, etl
36 skills in this plugin
/building-dagster-assetsBuild Dagster pipelines using software-defined assets — asset dependencies, partitions, resources and IO managers, asset checks, and schedules/sensors. Use when creating Dagster assets or jobs, modeling data as assets, adding partitions or backfills, wiring resources/IO managers, or migrating from task-based orchestration to assets./building-dbt-modelsBuild well-structured dbt models — staging/intermediate/marts layers, ref() and source(), materializations, and incremental models with the right strategy. Use when creating or refactoring dbt models, choosing table vs view vs incremental, structuring a dbt project, or writing incremental logic./npx claudepluginhub unknown-333/awesome-data-engineering-skills --plugin data-engineering-skillsOther plugins' skills for the same job