Build production Apache Airflow DAGs with best practices for operators, sensors, testing, and deployment. Use when creating data pipelines, orchestrating workflows, or scheduling batch jobs.
72
61%
Does it follow best practices?
Impact
92%
1.09xAverage score across 3 eval scenarios
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./skills/airflow-dag-patterns/SKILL.mdThe canonical home for this skill is airflow-dag-patterns in rmyndharis/antigravity-skills
TaskFlow API and modular DAG structure
@dag decorator
100%
100%
@task decorator
100%
100%
XCom via return values
100%
100%
No heavy logic in DAG file
58%
50%
Uses {{ ds }} macro
100%
100%
No global state
100%
100%
Project structure: dags/__init__.py
100%
100%
Project structure: dags/common/
0%
0%
Tests directory
100%
100%
DagBag import test
0%
100%
DAG integrity test
0%
100%
DAG tags
100%
100%
Production DAG configuration defaults
retries=3
100%
100%
retry_delay 5 min
100%
100%
exponential backoff
100%
100%
max_retry_delay
100%
100%
email_on_failure True
100%
100%
email_on_retry False
100%
100%
depends_on_past False
100%
100%
catchup=False
100%
100%
max_active_runs=1
100%
100%
DAG tags
100%
100%
No hardcoded dates
100%
100%
on_failure_callback
100%
100%
Sensor configuration and error handling
mode='reschedule'
100%
100%
Sensor timeout set
100%
100%
poke_interval set
100%
100%
Task failure callback
100%
100%
DAG failure callback
0%
100%
Callback logs context
100%
100%
Cleanup trigger_rule ALL_DONE
100%
100%
Branch join trigger_rule
0%
0%
No depends_on_past
100%
100%
catchup=False
100%
100%
DAG tags
100%
100%
7520423
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.