What problem does it solve? Raw warehouse tables lack consistent structure, tested schemas, and governed metric definitions, causing broken dashboards and inconsistent KPIs. This Skill structures analytics engineering work into a disciplined 4-layer dbt pipeline with enforced data contracts and semantic metric definitions. ## Core Features & Use Cases - 4-Layer dbt Architecture: Structures models into staging (stg_), intermediate (int_), dimensions (dim_), and facts (fct_) with explicit grain declarations and surrogate keys. - Data Contracts & Testing: Enforces YAML schema contracts with column types, not_null constraints, and generic/singular dbt tests to protect downstream consumers. - Semantic Layer Metrics: Defines MetricFlow/Cube.js entities, measures, dimensions, and ratio metrics like average booking value. - Use Case: A marketplace team needs a bookings data mart. Use this Skill to generate stg_marketplace__bookings, fct_bookings with incremental merge materialization, an enforced YAML contract, and a MetricFlow definition for revenue and conversion metrics. ## Quick Start Design a dbt dimensional model for our bookings data with staging and fact layers, an enforced YAML data contract, and a MetricFlow metric for average booking value.