airflow-adapter
Airflow adapter pattern for v2/v3 API compatibility. Use when working with adapters, version detection, or adding new API methods that need to work across…
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.
$ npx -y skills add astronomer/agents --skill tracing-downstream-lineage --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/tracing-downstream-lineageContext preview
The summary Claude sees to decide when to auto-load this 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.
name: tracing-downstream-lineage description: 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.
Answer the critical question: "What breaks if I change this?"
Use this BEFORE making changes to understand the blast radius.
Find everything that reads from this target:
**For Tables:**
1. **Search DAG source code**: Look for DAGs that SELECT from this table
2. **Check for dependent views**:
-- Snowflake SELECT * FROM information_schema.view_table_usage WHERE table_name = '<target_table>' -- Or check SHOW VIEWS and search definitions
3. **Look for BI tool connections**:
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:**
1. **Check what the DAG produces**: Use `af dags source <dag_id>` to find output tables 2. **Then trace those tables' consumers** (recursive)
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"**Critical** (breaks production):
**High** (causes significant issues):
**Medium** (inconvenient):
**Low** (minimal impact):
For the proposed change, evaluate:
**Schema Changes** (adding/removing/renaming columns):
**Data Changes** (values, volumes, timing):
**Deletion/Deprecation**:
Identify who owns downstream assets:
1. **DAG owners**: Check `owners` field in DAG definitions 2. **Dashboard owners**: Usually in BI tool metadata 3. **Team ownership**: Look for team naming patterns or documentation
"Changing `fct.orders` will impact X tables, Y DAGs, and Z dashboards"
+--> [agg.daily_sales] --> [Executive Dashboard]
|
[fct.orders] -------+--> [rpt.order_details] --> [Ops Team Email]
|
+--> [ml.features] --> [Demand Model]| 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 |
| 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 |
Before making changes: 1. [ ] Notify owners: @data-eng, @analytics, @ml-team 2. [ ] Update downstream DAG: `transform_daily_sales` 3. [ ] Test dashboard: Executive KPIs 4. [ ] Schedule change during low-impact window
AI agent tooling for data engineering workflows. Includes an MCP server for Airflow, a CLI tool (af) for interacting with Airflow from your terminal, and skills that extend AI coding agents with specialized capabilities for working with Airflow and data
Airflow adapter pattern for v2/v3 API compatibility. Use when working with adapters, version detection, or adding new API methods that need to work across…
Builds human-in-the-loop (HITL) Airflow workflows - approval gates, form input, and human-driven branching. Use when a DAG needs a human in the loop - an…
Builds Airflow 3.1+ plugins that embed FastAPI apps, custom UI pages, React components, middleware, macros, and operator links directly into the Airflow UI.…
Persists task and asset state across retries and DAG runs using Airflow 3.3's AIP-103 key/value stores (`task_state_store`, `asset_state_store`) and the…
Queries, manages, and troubleshoots Apache Airflow using the `af` CLI. Use when working with anything related to Airflow - a DAG, a DAG run, a task log, an…
Queries the data warehouse with SQL and answers business questions about data. Use when answering anything that needs warehouse data - counts, metrics, trends,…