airflow-dag-authoring-and-validation
Installation
SKILL.md
Airflow DAG Authoring and Validation
Purpose
An Airflow DAG file is Python that runs on every scheduler heartbeat (to
parse the DAG structure) in addition to running each task at execution
time — a slow, broken, or non-idempotent DAG file causes problems long
before any task actually fails, by slowing down or breaking DAG parsing
across the whole scheduler. This skill covers writing DAGs that are
correct, idempotent, and fast to parse, and validating them with
airflow dags test and lint-style checks before they reach a production
scheduler — diagnosing a DAG that's already stuck or a scheduler that's
already unhealthy in production is covered separately in
airflow-scheduler-and-dag-troubleshooting.