lineage-analyzer

Map dbt model dependencies and generate lineage visualizations.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/mporenta/airflow --skill lineage-analyzer-mporenta
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lineage-analyzer
Source: https://github.com/mporenta/airflow/tree/main/.claude/skills/lineage-analyzer
Command: npx skills add https://github.com/mporenta/airflow --skill lineage-analyzer-mporenta

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzes dbt model dependencies, traces upstream sources and downstream consumers, identifies circular dependencies, and visualizes data lineage. Use when user asks about model dependencies, wants to understand data flow, needs impact analysis, or wants to trace where data comes from or goes to.

Core Features & Use Cases

  • Dependency discovery from dbt models via {{ ref('model_name') }} and {{ source('source_name', 'table_name') }} references
  • Lineage visualization (Mermaid diagrams, tree formats)
  • Circular dependency detection and impact analysis to identify risky areas
  • Downstream impact assessment and data provenance tracing for model changes

Quick Start

Show lineage for a given dbt model, for example fct_orders.

Frequently Asked Questions about lineage-analyzer

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

FAQPage Schema
How do I trace dbt model dependencies and visualize data lineage?

Trace dbt model dependencies by parsing {{ ref() }} and {{ source() }} references to build a bidirectional graph, then generate Mermaid diagrams or tree formats to visualize upstream sources and downstream consumers for impact analysis.

What is the best way to detect circular dependencies in a dbt project?

Detect circular dependencies in a dbt project by parsing model refs and manifest data to construct a bidirectional lineage graph, which identifies recursive loops and highlights risky areas for impact assessment.

Can I assess downstream impact before changing a dbt model?

Assess downstream impact before changing a dbt model by mapping its downstream consumers through parsed source and ref references, producing structured outputs that reveal which models will be affected.

How do I trace where my dbt model data comes from?

Trace where dbt model data comes from by discovering upstream sources via parsed {{ source() }} references, mapping the data provenance from original tables through intermediate models to the target.

Does the lineage analyzer work with existing dbt manifest data?

The lineage analyzer works with existing dbt manifest data by parsing it alongside model refs and sources to discover dependencies, build a bidirectional graph, and produce structured lineage outputs.