What problem does it solve?
Migrating MetricFlow semantic models and metrics into the ktx semantic layer requires manual translation of measures, entities, joins, and metric types, which is error-prone and slow when done by hand.
Core Features & Use Cases
- Primitive Mapping: Translates MetricFlow semantic_models, measures, entities, and metrics into ktx overlays, standalones, joins, and derived measures using a defined mapping table.
- Inheritance Flattening: Resolves
extends: chains and cross-model metric references into a single flattened overlay with provenance tags per source file.
- Metric-Type Handling: Covers simple, derived, ratio, cumulative (via SQL standalone fallback), and conversion metrics (flagged for human review), with four worked examples.
- Use Case: When ingesting a dbt MetricFlow project containing
semantic_models: and metrics: YAML files, load this Skill to emit verified ktx SL sources with identifier checks via entity_details and sql_execution probes.
Quick Start
Load this Skill and ingest the MetricFlow YAML files in this WorkUnit into ktx semantic layer sources, verifying every table and column against the warehouse before writing.