T
tracing-downstream-lineage
About tracing-downstream-lineage
A lineage analysis skill for understanding the downstream impact of changes to tables or DAGs. It traces consumers, categorizes their criticality, and structures findings as an impact report with owners and mitigations.
Key features
- 01Find direct table and DAG consumers
- 02Trace downstream dependencies
- 03Categorize assets by criticality
- 04Assess schema and timing risks
- 05Report impacts, owners, and mitigations
Use cases
- 01Estimate impact before changing a table
- 02Identify DAGs that consume another DAG's outputs
- 03Prepare a downstream change-risk report
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ necatiarslan/ airflow-vscode-extension --skill tracing-downstream-lineageAfter installing, type/tracing-downstream-lineagein Claude Code to confirm it loaded.
Details
From the project READMEDownstream Lineage: Impacts
Answer the question: "What breaks if I change this?"
Impact Analysis
Step 1: Identify Direct Consumers
For tables:
- List DAGs using
list_active_dagsandlist_paused_dags - Search DAG source using
get_dag_source_codefor table references
For DAGs:
- Determine outputs from DAG source
- Trace consumer DAGs that read those outputs
Step 2: Build Dependency Tree
Example:
SOURCE: fct.orders
|
+-- TABLE: agg.daily_sales -> Dashboard: Executive KPIs
+-- TABLE: ml.order_features -> Model: Forecasting
Step 3: Categorize by Criticality
- Critical: production dashboards, customer-facing apps
- High: internal ops dashboards, downstream ETL
- Medium: ad-hoc analysis
- Low: deprecated or test data
Step 4: Assess Change Risk
Consider:
- Schema changes
- Data timing changes
- Deletion or deprecation
Step 5: Find Stakeholders
- DAG owners in DAG definitions
- Dashboard owners in BI tools
Output: Impact Report
Include:
- Summary of downstream assets
- Impact diagram
- Detailed impacts and owners
- Risk assessment and mitigations
Related Skills
- tracing-upstream-lineage
- checking-freshness
- debugging-dags
- annotating-task-lineage
- creating-openlineage-extractors
Comments
Markdown supported