Edit Metrics

Community

Define and modify Lightdash metrics.

Authoryu-iskw
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the process of defining and updating metrics within the Lightdash semantic layer, ensuring consistency and accuracy in data calculations.

Core Features & Use Cases

  • Metric Definition: Create aggregated calculations (sums, averages, etc.) using dbt YAML syntax.
  • Syntax Adherence: Ensures compliance with dbt 1.10+ and Fusion standards.
  • Reference Integration: Leverages references/basics.md and references/advanced.md for correct syntax and advanced configurations.
  • Use Case: Define a new total_revenue metric for the orders model by summing the amount column, referencing references/basics.md for the correct type: sum syntax.

Quick Start

Use the edit metrics skill to define a new metric named 'average_order_value' by averaging the 'order_total' column in the 'orders' model.

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: Edit Metrics
Download link: https://github.com/yu-iskw/dbt-heros/archive/main.zip#edit-metrics

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 223,000+ vetted skills library on demand.