Skip to content
Data
Command

/check-airflow-compat

Verify code works with both Airflow 2.x and 3.x

From plugin
data
4193 skills3 commands
Install
> /plugin marketplace add astronomer/agents
> /plugin install astronomer-data@astronomer

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/check-airflow-compat

Context preview

What this command does when you run it.

Verify code works with both Airflow 2.x and 3.x

Command definition

check-airflow-compat.md
description: Verify code works with both Airflow 2.x and 3.x
allowed-tools: Bash(grep:*), Bash(make test:*), Bash(make test-integration:*)

Check if recent code changes are compatible with both Airflow versions.

Check for Issues

1. Look for hardcoded API paths outside adapters: !`grep -rn "api/v1\|api/v2" src/astro_airflow_mcp/*.py | grep -v adapters`

2. Check field normalization in adapters: !`grep -n "execution_date\|logical_date\|datasets\|assets" src/astro_airflow_mcp/adapters/*.py`

Key Differences

| Airflow 2.x | Airflow 3.x | |-------------|-------------| | `/api/v1` | `/api/v2` | | `execution_date` | `logical_date` | | `datasets` | `assets` | | Basic auth | OAuth2/JWT |

Run Tests

make test
make test-integration-v2
make test-integration-v3
Ships withdata

AI agent tooling for data engineering workflows. Includes an MCP server for Airflow, a CLI tool (af) for interacting with Airflow from your terminal, and skills that extend AI coding agents with specialized capabilities for working with Airflow and data

Get the whole plugin