Analyze Lineage

Analyze upstream dependencies and downstream impact of semantic layer fields in Lightdash.

3|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/yu-iskw/dbt-heros --skill analyze-lineage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Analyze Lineage
Source: https://github.com/yu-iskw/dbt-heros/tree/main/plugins/lightdash-content-admin/skills/analyze-lineage
Command: npx skills add https://github.com/yu-iskw/dbt-heros --skill analyze-lineage

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps users understand the upstream data sources and downstream usage of semantic layer fields, preventing accidental data corruption or breaking changes.

Core Features & Use Cases

  • Dependency Mapping: Identifies the warehouse columns a semantic layer field relies on.
  • Impact Analysis: Shows which charts and reports reference a specific field, crucial before renaming or deleting.
  • Use Case: Before renaming a customer_lifetime_value metric, use this Skill to confirm it's not used in any critical dashboards, thus avoiding user confusion or broken reports.

Quick Start

Analyze the lineage and impact of the 'revenue' field.

Frequently Asked Questions about Analyze Lineage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze field dependencies and impact in a dbt semantic layer?

To analyze field dependencies in a dbt semantic layer, you trace the upstream warehouse columns a field relies on and identify downstream charts and reports. This reveals the full data lineage to prevent breaking changes.

Can I check which Lightdash charts will break before deleting a metric?

Yes, you can check which Lightdash charts will break before deleting a metric by running an impact analysis. This process identifies all downstream reports referencing the specific semantic layer field to ensure safe modifications.

What is data lineage analysis for semantic layer fields?

Data lineage analysis for semantic layer fields is the process of mapping upstream data sources and downstream usage. It identifies warehouse column dependencies and associated charts to prevent accidental data corruption during field modifications.

How do I trace upstream warehouse columns for a Lightdash metric?

You trace upstream warehouse columns for a Lightdash metric by performing dependency mapping. This identifies the exact source data sources the semantic layer field relies on, ensuring you understand the full data lineage before making changes.

Does this lineage analysis work with other data modeling tools besides Lightdash?

This lineage analysis specifically utilizes Lightdash tools for comprehensive tracing and impact assessment. It is designed for the dbt semantic layer within the Lightdash environment to map field dependencies and evaluate modification risks.