building-dbt-semantic-layer

Community

Build dbt Semantic Layer components with MetricFlow.

AuthorramtinJ95
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill guides teams in creating and updating a dbt Semantic Layer using MetricFlow, enabling consistent business metrics and semantics across dbt models.

Core Features & Use Cases

  • Semantic Model enablement: Add and configure semantic_model blocks to dbt models to expose metrics to the semantic layer.
  • Entity, Dimension, and Metric design: Provide structure and guidance for primary entities, time-based dimensions, and business metrics.
  • Validation & Best Practices: Integrates references to time spine and best-practices to ensure correct configuration and validation workflows.

Quick Start

  • Enable a semantic_model block with enabled: true in your dbt model YAML.
  • Set agg_time_dimension to the primary time column and define entities, dimensions, and metrics.
  • Validate with dbt parse and mf validate-configs (or dbt sl validate in Cloud) to ensure correctness.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: building-dbt-semantic-layer
Download link: https://github.com/ramtinJ95/dotfiles/archive/main.zip#building-dbt-semantic-layer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.