/add-adapter-method
Add a new method to both Airflow adapters
> /plugin marketplace add astronomer/agents> /plugin install astronomer-data@astronomer
Command definition
add-adapter-method.mddescription: Add a new method to both Airflow adapters argument-hint: [method-name]
Add method `$ARGUMENTS` to both V2 and V3 adapters.
Steps
1. Add abstract method to `adapters/base.py`:
@abstractmethod
def method_name(self, param: str) -> dict[str, Any]:
pass2. Implement in `adapters/airflow_v2.py`:
def method_name(self, param: str) -> dict[str, Any]:
return self._call(f"endpoint/{param}")3. Implement in `adapters/airflow_v3.py`:
def method_name(self, param: str) -> dict[str, Any]:
return self._call(f"endpoint/{param}")Version Differences
| Feature | Airflow 2.x | Airflow 3.x | |---------|-------------|-------------| | API path | `/api/v1` | `/api/v2` | | Assets | `datasets` | `assets` | | DAG runs | `execution_date` | `logical_date` |
Normalize V2 responses to match V3 field names when they differ.
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
Other commands on astronomer-data.
check-airflow-compat
CommandVerify code works with both Airflow 2.x and 3.x
More commands from other plugins.
recall
CommandSearch past session observations and lessons for relevant context. Wrap the `memory_smart_search` and `memory_lesson_recall` MCP…
create-skill
CommandCreate an AI skill from any source (URL, repo, PDF, video, notebook, etc.)

