/flowx:flowx-discoverfrom flowx
Parses Azure Data Factory or Apache Airflow pipeline definitions into a typed inventory, classifying tasks as deterministic, agentic, or unsupported. Phase 1 of the flowx migration workflow.
Ships in flowx. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Parse a source orchestrator's definitions into a typed inventory. This is phase 1 of the flowx
migration workflow; it produces metadata/inventory.json (consumed by flowx-convert) plus a
per-pipeline complexity report at metadata/profile_report.csv.
flowx supports more than one source, and discovery is source-specific — ADF ships ARM JSON, Airflow ships Python DAG modules, and the two share no parser. This skill routes to the right source guide; the shared mechanics (output layout, inventory shape, how to run a phase) live here.
Ask the user which orchestrator they are migrating from, or infer it from the input:
adf → read sources/adf.mdairflow → read sources/airflow.mdThere is no default source. Every phase invocation passes --source <name> explicitly.
Read the matching sources/<source>.md in this skill directory and follow it. Each guide covers
the source's input layout, the exact discover command, and how to read its inventory.
Both paths are the same across sources; only --source and the source path differ. Run the
setup skill first if you haven't.
MCP tool (Databricks Genie Code, or a local stdio registration): call the single flowx
tool with command="discover" and parameters including "source": "<source>". Run no
python3/$PY commands on this path.
venv CLI (local, no MCP server): ensure the venv exists (setup / bootstrap.sh), then:
export PYTHONPATH="<plugin_dir>/src"
PY="$(cat <plugin_dir>/.migration-venv)"
"$PY" -m flowx.adapter discover --source <source> --source-path <path> --output-dir <dir> [--pipeline <name>]
--source-path is the generic flag (each source also accepts its own alias, e.g.
--adf-source-path); both normalise to the phase's --source-dir. --source is required.
All under the shared <output_dir>/metadata/ folder:
| File | Description |
|---|---|
metadata/inventory.json | Classified activity inventory for the convert phase |
metadata/source_graphs.json | (ADF) The saved source graphs (activities, lineage and detected motifs), versioned and content-hashed; the inventory is built from it and records its hash as source_graphs_sha256 |
metadata/profile_report.csv | Per-pipeline complexity report (counts + T-shirt size) |
metadata/<pipeline>.arm.json | (ADF) Verbatim original source for each pipeline (provenance) |
The inventory classifies every task into one of three strategies:
sources/adf.md — Azure Data Factory discovery (ARM JSON, UC-volume download, complexity report)sources/airflow.md — Apache Airflow discovery (DAG .py parsing, operator classification)flowx-enrich skill — adds agent-authored insights to the inventory (flowx-migrate runs it after discover)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
pipeline-migration, orchestrator-migration, adf, airflow, inventory
npx claudepluginhub databricks-solutions/flowx --plugin flowx10 skills in this plugin
/flowx-convertTranslate a source's parsed inventory into Databricks IR (intermediate representation): run deterministic translators for known types, then agentic (LLM-assisted) translation for the gaps. Phase 2 of the flowx migration workflow; routes to a source-specific guide.
/flowx-deployDeploy the per-pipeline Declarative Automation Bundles from a multi-pipeline flowx migration in dependency order, resolving cross-bundle job ids automatically. Local CLI only.
/flowx-enrichEnrich the discover inventory with an agent-authored layer of judgment — a factory-wide architecture recommendation, per-pipeline intent + recommended Databricks patterns, and cross-pipeline relationships. The library validates it, records it in agentic_insights.json and rebuilds inventory.json from discovery plus that file. flowx-migrate runs it after discover by default, and the routing step consumes it.
/flowx-extract-metadataHelp the user get a copy of their source orchestrator's pipeline definitions before discover: for Azure Data Factory, by using the factory's Git repository, downloading the ARM template from ADF Studio, or pulling it live through the Azure API (run by the assistant, or as a notebook the user runs). Explains the permissions and steps for each option, checks the result, and hands the path to flowx-discover. Step 0 of the flowx migration workflow.
/flowx-migrateEnd-to-end migration of a source orchestrator's pipelines (Azure Data Factory, Apache Airflow) to Databricks Lakeflow Jobs. Orchestrates discover, enrich, convert, and package in sequence.
/flowx-packageGenerate Databricks Declarative Automation Bundles (DABs) from translated IR, including job definitions, notebooks, and setup scripts.