Skip to main content
Back to registry

migrating-airflow-2-to-3

astronomer/agents

This skill helps migrate Airflow 2.x DAG code to Airflow 3.x , focusing on code changes (imports, operators, hooks, context, API usage).

Installs414
Install command
npx skills add https://github.com/astronomer/agents --skill migrating-airflow-2-to-3
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
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: . Additionally, early 3.0 versions have many bugs - 3.1 provides a much better experience. Airflow 3 changes how components talk to the metadata database: Trigger implementation gotcha : If a trigger calls hooks synchronously inside the asyncio event loop, it may fail or block. Prefer calling hooks via sync_to_async(...) (or otherwise ensure hook calls are async-safe). Key code impact : Task code can still import ORM sessions/models, but any attempt to use them to talk to the metadata DB will fail with: When scanning DAGs, custom operators, and @task functions, look for: Preferred for rich metadata access patterns.

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does migrating-airflow-2-to-3 do?

This skill helps migrate Airflow 2.x DAG code to Airflow 3.x , focusing on code changes (imports, operators, hooks, context, API usage).

Is migrating-airflow-2-to-3 good?

migrating-airflow-2-to-3 does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does migrating-airflow-2-to-3 work with?

migrating-airflow-2-to-3 currently lists compatibility with codex, gemini-cli, opencode, cursor, amp, github-copilot.

What are alternatives to migrating-airflow-2-to-3?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install migrating-airflow-2-to-3?

npx skills add https://github.com/astronomer/agents --skill migrating-airflow-2-to-3

Related skills

More from astronomer/agents

Related skills

Alternatives in Software Engineering