airflow-adapter
Airflow adapter pattern for v2/v3 API compatibility. Use when working with adapters, version detection, or adding new API methods that need to work across Airflow 2.x and 3.x.
Install
With your agent
Install OMGSkills skill "astronomer/agents:astro-airflow-mcp/.claude/skills/airflow-adapter" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.
Manual command
git clone https://github.com/astronomer/agents /tmp/agents && ln -s /tmp/agents/astro-airflow-mcp/.claude/skills/airflow-adapter ~/.claude/skills/airflow-adapter
From README
Airflow Adapter Pattern Enables compatibility with both Airflow 2.x (/api/v1) and 3.x (/api/v2). Architecture Version is auto-detected at startup. Key Files adapters/base.py - Abstract interface adapters/airflowv2.py - Airflow 2.x (/api/v1) adapters/airflowv3.py - Airflow 3.x (/api/v2) Related Files @api-differences.md - V2 vs V3 field/endpoint differences @patterns.md - Implementation patterns Quick Reference
More from this repo
airflow-plugins
Builds Airflow 3.1+ plugins that embed FastAPI apps, custom UI pages, React components, middleware, macros, and...
analyzing-data
Queries the data warehouse with SQL and answers business questions about data.
cosmos-dbt-core
Turns a dbt Core project into an Airflow DAG/TaskGroup using Astronomer Cosmos.
