What problem does it solve?
Writing semantic models by hand often produces inconsistent YAML, invalid key declarations, and ambiguous metric definitions that break downstream SQL generation and BI consumption. This Skill enforces a strict authoring contract for Dosi semantic models so datasets, relationships, metrics, and window calculations are valid OSI core YAML.
Core Features & Use Cases
- Semantic Model Authoring: Define datasets bound to physical tables or reusable SELECT queries, with verified primary keys, unique keys, time dimensions, and model-level relationships.
- Metric and Window Authoring: Express base metrics with natural aggregates and build rolling, cumulative, period-over-period, rank, and value windows as structured standalone metrics.
- DATUS Extensions: Encode Dosi-only keys such as time_dimension, join_type, subject_path, and unit inside custom_extensions with versioned JSON payloads.
- Use Case: A data engineer needs to define a revenue metric with a month-over-month comparison. The Skill guides declaring the orders dataset, marking order_date as the time dimension, and authoring a pop window metric that validates against the native Dosi parser.
Quick Start
Ask the agent to author a Dosi semantic model defining a revenue metric with a rolling 7-day window over the orders dataset.