Trace downstream data lineage and impact analysis. Use when the user asks what depends on this data, what breaks if something changes, downstream dependencies, or needs to assess change risk before modifying a table or DAG.
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Trace downstream data lineage and impact analysis. Use when the user asks what depends on this data, what breaks if something changes, downstream dependencies, or needs to assess change risk before modifying a table or DAG.
Downstream Lineage: Impacts
Answer the critical question: "What breaks if I change this?"
Use this BEFORE making changes to understand the blast radius.
Impact Analysis
Step 1: Identify Direct Consumers
Find everything that reads from this target:
For Tables:
Search DAG source code: Look for DAGs that SELECT from this table
Use af dags list to get all DAGs
Use af dags source <dag_id> to search for table references
Look for: FROM target_table, JOIN target_table
Check for dependent views:
-- SnowflakeSELECT*FROM information_schema.view_table_usage
WHERE table_name ='<target_table>'-- Or check SHOW VIEWS and search definitions
Look for BI tool connections:
Dashboards often query tables directly
Check for common BI patterns in table naming (rpt_, dashboard_)
On Astro
If you're running on Astro, the Lineage tab in the Astro UI provides visual dependency graphs across DAGs and datasets, making downstream impact analysis faster. It shows which DAGs consume a given dataset and their current status, reducing the need for manual source code searches.
For DAGs:
Check what the DAG produces: Use af dags source <dag_id> to find output tables