前端开发

building-dbt-semantic-layer

dbt-labs/dbt-ag…t-skills

Use when creating or modifying dbt Semantic Layer components — semantic models, metrics, dimensions, entities, measures, or time spines. Covers MetricFlow configuration, metric types (simple, derived, cumulative, ratio, conversion), and validation for both latest and legacy YAML specs.

  • 1032 次安装
  • 747 星标
  • 收录于

安装命令

npx skills add https://github.com/dbt-labs/dbt-agent-skills --skill building-dbt-semantic-layer

SKILL.md

Building the dbt Semantic Layer

This skill guides the creation and modification of dbt Semantic Layer components: semantic models, entities, dimensions, and metrics.

  • Semantic models - Metadata configurations that define how dbt models map to business concepts
  • Entities - Keys that identify the grain of your data and enable joins between semantic models
  • Dimensions - Attributes used to filter or group metrics (categorical or time-based)
  • Metrics - Business calculations defined on top of semantic models (e.g., revenue, order count)

Additional Resources

Determine Which Spec to Use

There are two versions of the Semantic Layer YAML spec: