ClaudeSuperPower

check-airflow-compat

Command

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

Type this in Claude Code
/check-airflow-compat
Claude can also invoke this on its own

What it tells Claude to do

26 lines

The prompt this command injects, verbatim. Worth reading before you run it.

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

```bash
make test
make test-integration-v2
make test-integration-v3
```

Shipped by 3 plugins

Installing any of these installs this command.

More than one plugin defines this name. Installing two of them together means they compete for the same invocation — pick one, or expect the later install to win.

What this can do

Capabilities declared in this component's own frontmatter — not inferred.

Run shell commands

Declares Bash

~12 tokens of context used while enabled, before you invoke anything

All declared tools (1)
Bash

Trust

87/100 · Excellent

2 factors scored below maximum

Reviews

Log in to leave a review.

No reviews yet — be the first.

Explore related

Other things in this space — across every part of the ecosystem, not just commands.