tracing-downstream-lineage
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.
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o tracing-downstream-lineage.zip https://jpskill.com/download/23213.zip && unzip -o tracing-downstream-lineage.zip && rm tracing-downstream-lineage.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/23213.zip -OutFile "$d\tracing-downstream-lineage.zip"; Expand-Archive "$d\tracing-downstream-lineage.zip" -DestinationPath $d -Force; ri "$d\tracing-downstream-lineage.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
tracing-downstream-lineage.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
tracing-downstream-lineageフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Claude が読む原文 SKILL.md(中身を展開)
この本文は AI(Claude)が読むための原文(英語または中国語)です。日本語訳は順次追加中。
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 listto get all DAGs - Use
af dags source <dag_id>to search for table references - Look for:
FROM target_table,JOIN target_table
- Use
-
Check for dependent views:
-- Snowflake SELECT * 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 - Then trace those tables' consumers (recursive)
Step 2: Build Dependency Tree
Map the full downstream impact:
SOURCE: fct.orders
|
+-- TABLE: agg.daily_sales --> Dashboard: Executive KPIs
| |
| +-- TABLE: rpt.monthly_summary --> Email: Monthly Report
|
+-- TABLE: ml.order_features --> Model: Demand Forecasting
|
+-- DIRECT: Looker Dashboard "Sales Overview"
Step 3: Categorize by Criticality
Critical (breaks production):
- Production dashboards
- Customer-facing applications
- Automated reports to executives
- ML models in production
- Regulatory/compliance reports
High (causes significant issues):
- Internal operational dashboards
- Analyst workflows
- Data science experiments
- Downstream ETL jobs
Medium (inconvenient):
- Ad-hoc analysis tables
- Development/staging copies
- Historical archives
Low (minimal impact):
- Deprecated tables
- Unused datasets
- Test data
Step 4: Assess Change Risk
For the proposed change, evaluate:
Schema Changes (adding/removing/renaming columns):
- Which downstream queries will break?
- Are there SELECT * patterns that will pick up new columns?
- Which transformations reference the changing columns?
Data Changes (values, volumes, timing):
- Will downstream aggregations still be valid?
- Are there NULL handling assumptions that will break?
- Will timing changes affect SLAs?
Deletion/Deprecation:
- Full dependency tree must be migrated first
- Communication needed for all stakeholders
Step 5: Find Stakeholders
Identify who owns downstream assets:
- DAG owners: Check
ownersfield in DAG definitions - Dashboard owners: Usually in BI tool metadata
- Team ownership: Look for team naming patterns or documentation
Output: Impact Report
Summary
"Changing fct.orders will impact X tables, Y DAGs, and Z dashboards"
Impact Diagram
+--> [agg.daily_sales] --> [Executive Dashboard]
|
[fct.orders] -------+--> [rpt.order_details] --> [Ops Team Email]
|
+--> [ml.features] --> [Demand Model]
Detailed Impacts
| Downstream | Type | Criticality | Owner | Notes |
|---|---|---|---|---|
| agg.daily_sales | Table | Critical | data-eng | Updated hourly |
| Executive Dashboard | Dashboard | Critical | analytics | CEO views daily |
| ml.order_features | Table | High | ml-team | Retraining weekly |
Risk Assessment
| Change Type | Risk Level | Mitigation |
|---|---|---|
| Add column | Low | No action needed |
| Rename column | High | Update 3 DAGs, 2 dashboards |
| Delete column | Critical | Full migration plan required |
| Change data type | Medium | Test downstream aggregations |
Recommended Actions
Before making changes:
- [ ] Notify owners: @data-eng, @analytics, @ml-team
- [ ] Update downstream DAG:
transform_daily_sales - [ ] Test dashboard: Executive KPIs
- [ ] Schedule change during low-impact window
Related Skills
- Trace where data comes from: tracing-upstream-lineage skill
- Check downstream freshness: checking-freshness skill
- Debug any broken DAGs: debugging-dags skill
- Add manual lineage annotations: annotating-task-lineage skill
- Build custom lineage extractors: creating-openlineage-extractors skill