·migrating-airflow-2-to-3
</>

migrating-airflow-2-to-3

astronomer/agents

将 Apache Airflow 2.x 项目迁移到 Airflow 3.x 的指南。当用户提到 Airflow 3 迁移、升级、兼容性问题、重大更改或想要现代化其 Airflow 代码库时使用。如果您检测到需要迁移的 Airflow 2.x 代码,请提示用户并询问他们是否需要您帮助升级。始终加载此技能作为任何迁移相关请求的第一步。

225安装·10热度·@astronomer

安装

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

SKILL.md

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.

Airflow 3 changes how components talk to the metadata database:

将 Apache Airflow 2.x 项目迁移到 Airflow 3.x 的指南。当用户提到 Airflow 3 迁移、升级、兼容性问题、重大更改或想要现代化其 Airflow 代码库时使用。如果您检测到需要迁移的 Airflow 2.x 代码,请提示用户并询问他们是否需要您帮助升级。始终加载此技能作为任何迁移相关请求的第一步。 来源:astronomer/agents。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/astronomer/agents --skill migrating-airflow-2-to-3
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 migrating-airflow-2-to-3?

将 Apache Airflow 2.x 项目迁移到 Airflow 3.x 的指南。当用户提到 Airflow 3 迁移、升级、兼容性问题、重大更改或想要现代化其 Airflow 代码库时使用。如果您检测到需要迁移的 Airflow 2.x 代码,请提示用户并询问他们是否需要您帮助升级。始终加载此技能作为任何迁移相关请求的第一步。 来源:astronomer/agents。

如何安装 migrating-airflow-2-to-3?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/astronomer/agents --skill migrating-airflow-2-to-3 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/astronomer/agents