Migrating Airflow 2 To 3

🌐Community
by astronomer · vlatest · Repository

This skill seamlessly migrates your existing Airflow 2 DAGs and configurations to Airflow 3, streamlining upgrades and leveraging new features.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add migrating-airflow-2-to-3 npx -- -y @trustedskills/migrating-airflow-2-to-3
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "migrating-airflow-2-to-3": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/migrating-airflow-2-to-3"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill helps users migrate Apache Airflow workflows from version 2 to version 3, including updating DAGs, plugins, and configurations for compatibility with the new version. It provides guidance on handling deprecated features, upgrading dependencies, and ensuring smooth operation in the upgraded environment.

When to use it

  • You are planning an upgrade of your Airflow instance from version 2.x to 3.x.
  • Your existing DAGs or plugins are incompatible with Airflow 3 due to changes in APIs or configurations.
  • You need assistance identifying and fixing breaking changes during the migration process.

Key capabilities

  • Detects deprecated features in Airflow 2 DAGs and suggests replacements for Airflow 3.
  • Provides step-by-step guidance on updating plugins, dependencies, and configuration files.
  • Offers best practices for testing and validating workflows post-migration.

Example prompts

  • "Help me migrate my Airflow 2 DAG to version 3."
  • "What changes do I need to make in my Airflow config file when upgrading from 2 to 3?"
  • "How can I test my migrated Airflow 3 DAGs for compatibility?"

Tips & gotchas

  • Ensure all third-party plugins are compatible with Airflow 3 before starting the migration.
  • Always back up your current Airflow setup and test migrations in a staging environment first.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
astronomer
Installs
361

🌐 Community

Passed automated security scans.