Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Airflow Orchestration?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/adityaaatiwari-airflow-orchestration)
---
description: Build idempotent Airflow DAGs with logical date partitioning, bounded sensors, safe backfills, and clean dependency isolation
profile: standard
tags: data, python, pipelines, airflow
---
# Airflow orchestration
Use when authoring or debugging Apache Airflow DAGs, operators, sensors, and scheduled ETL jobs.
## Scheduling and idempotency
- Parameterize reads and writes strictly by execution interval (`data_interval_start`, `data_interval_end`) rather than calling `datetime.now()` inside tasks, ensuring deterministic retries and historical backfills.
- Keep top-level DAG files lightweight: avoid database queries, network calls, or heavy library imports outside tasks so the Airflow scheduler parses files quickly without timeouts.
- Write outputs atomically (`DELETE` partition + `INSERT` or staging table swap) so partial task failures leave zero duplicate rows on retry.
## Concurrency and sensors
- Use `deferrable=True` (or `mode="reschedule"`) plus explicit `timeout` on Sensors instead of `poke` mode so waiting tasks do not tie up worker slots indefinitely.
- Configure `max_active_runs`, task `retries`, `retry_delay`, `execution_timeout`, and resource `pool` limits on memory/DB-heavy tasks.
## Verify
Run DAG import validation (`pytest` checking `DagBag().import_errors == {}`), dry-run task tests on isolated temp partitions, and test re-running the same logical date twice.