/flowx:flowx-convertfrom flowx
Translates a source's parsed inventory (ADF or Airflow) into Databricks IR using deterministic translators then LLM-assisted gap filling. Phase 2 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.
Convert a source's discovered inventory into Databricks intermediate representation (IR). This is
phase 2 of the flowx migration workflow; it produces a transient translation report under
<output_dir>/.work/ that the flowx-package skill turns into a Databricks Asset Bundle.
Translation is source-specific (ADF activity translators vs. Airflow operator mapping), so this
skill routes to the right source guide. The shared mechanics — how to run the phase, the report
contract, and the inspect/modify machinery — live here. The legacy merge_agentic command is ADF-only; Airflow uses resolve-agentic prepare|stage|apply instead.
Use the same source the discover phase used (it is recorded as "source" in
<output_dir>/metadata/inventory.json):
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 and follow it. ADF has a rich deterministic-first +
agentic-gap flow with just-in-time configuration. Airflow converts deterministically first and may then use the separately reviewed, fingerprint-bound flowx-resolve-airflow-gaps workflow.
Run the setup skill first if you haven't.
MCP tool (Genie Code, or local stdio): call the single flowx tool with
command="convert" and parameters including "source": "<source>" and "output_dir": "<dir>".
venv CLI (local):
export PYTHONPATH="<plugin_dir>/src"
PY="$(cat <plugin_dir>/.migration-venv)"
"$PY" -m flowx.adapter convert --source <source> --source-path <path> --output-dir <dir> [--pipeline <name>]
--source is required. The convert phase writes <output_dir>/.work/translation_report.json.
Every source's convert phase writes <output_dir>/.work/translation_report.json in the same shape:
a single pipeline IR dict (keys name, tasks, optional schedule/parameters), or a
{"pipelines": [...]} wrapper for many. The flowx-package phase consumes this regardless of
source. IR serialization is source-neutral (flowx.ir_serde), so the report format is identical
across ADF and Airflow.
inspect and modify operate on the report rather than raw source definitions. The ADF guide uses them heavily; Airflow currently needs only the base conversion:
inspect <report> — emit the full just-in-time option schema (each option annotated with a
show_when condition). Walk it locally; ask an option only when its show_when is satisfied.modify <report> --output-dir <dir> --answer OPTION_ID=VALUE ... — validate and apply collected
answers, writing .work/translation_report.stamped.json + metadata/configuration.json.merge_agentic --report <report> --agentic-results <dir> — ADF only. Fold agent-produced per-activity translations into an ADF report. Airflow's legacy name-based merge is disabled.<output_dir>/.work/)| File | Description |
|---|---|
.work/translation_report.json | Full translation report with IR for all tasks |
.work/<pipeline>.json | Per-pipeline Databricks IR |
.work/gaps.json | Unmapped source constructs; agentic inputs for ADF and review-only gaps for Airflow |
.work/translation_report.stamped.json | Configuration-stamped report (written by modify) |
sources/adf.md — ADF translation: deterministic engine, agentic gaps, just-in-time config,
notify motifs, metadata-driven consolidation. See also references/activity-mapping.md.sources/airflow.md — Airflow deterministic-first translation plus reviewed leaf-gap resolution.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub databricks-solutions/flowx --plugin flowx10 skills in this plugin
/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-discoverParse a source orchestrator's pipeline definitions (Azure Data Factory, Apache Airflow) into a typed inventory that classifies every task as deterministic, agentic, or unsupported. Phase 1 of the flowx migration workflow; routes to a source-specific guide.
/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.