Airflow 2 to 3 Migration This skill helps migrate Airflow 2.x DAG code to Airflow 3.x , focusing on code changes (imports, operators, hooks, context, API usage). Important : Before migrating to Airflow 3, strongly recommend upgrading to Airflow 2.11 first, then to at least Airflow 3.0.11 (ideally directly to 3.1). Other upgrade paths would make rollbacks impossible. See: https://www.astronomer.io/docs/astro/airflow3/upgrade-af3#upgrade-your-airflow-2-deployment-to-airflow-3. Additionally, early 3.0 versions have many bugs - 3.1 provides a much better experience. Migration at a Glance 1. Run R…