Datalineage Bigquery Asset Impact Analysis
GoogleOfficialPublished by Google
- Skill
- Research and analysis
- Data and AI
- Apache-2.0
- No issues found
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
This skill enables agents to perform a comprehensive blast radius analysis for Google Cloud BigQuery assets. By leveraging the Data Lineage MCP server, the agent identifies downstream dependencies, including tables, views, and ETL processes, that may be affected by modifications, deletions, or service interruptions. It provides a structured workflow to resolve asset names, query lineage relationships, and present a clear impact report to the user.
What it does
- Resolves BigQuery assets to their fully qualified names.
- Queries downstream lineage using the Data Lineage MCP server.
- Maps dependencies across tables, views, and transformation processes.
- Categorizes impact as direct or indirect based on lineage depth.
- Generates a summary report including a detailed blast radius table.
- Provides metadata on search parameters for transparency and refinement.
When to use it
- When planning maintenance or modifications to a BigQuery table or view.
- When assessing the consequences of deleting or pausing updates to a data asset.
- When investigating the potential impact of a broken or stale data asset.
- When identifying all downstream dashboards and processes dependent on a specific table.
Advantages
- Reduces risk by identifying hidden dependencies before making changes.
- Provides clear visibility into cascading failures across data pipelines.
- Uses standardized lineage tools for accurate dependency mapping.
- Ensures consistent reporting through a structured output format.
Usage examples
- “What is the blast radius if I delete the table bigquery:my-project.analytics.sales_data?”
- The agent will search for all downstream dependencies of the specified table and present a table showing affected assets, the processes involved, and the depth of the impact.
- “I need to pause updates to the 'daily_metrics' view. Which dashboards will be affected?”
- The agent will perform a downstream lineage search and highlight any downstream assets identified as dashboards or reporting tables.
Install
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/google/datalineage-bigquery-asset-impact-analysis/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip datalineage-bigquery-asset-impact-analysis.zip -d .agents/skills
Documentation by Google
BigQuery Asset Impact Analysis
This skill guides the agent in performing a downstream impact analysis (blast radius assessment) when a BigQuery table or view is reported as broken, stale, missing, or when a user is planning maintenance and wants to know the consequences of modifying or pausing updates to an asset.
It relies primarily on the data lineage (Knowledge Catalog) MCP Server on Google Cloud to discover relationships between assets.
Attribution
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read Usage Attribution. For commands executed
directly in the terminal (never in generated scripts, Terraform, or user code),
prefix gcloud with
CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:datalineage-bigquery-asset-impact-analysis)"
and append agent-skills/1.0 (skill:datalineage-bigquery-asset-impact-analysis) to User-Agent headers.
Prerequisites
This skill requires access to the data lineage API on Google Cloud and an active client connection to the Data Lineage MCP Server. For detailed connection configurations and tool schemas, refer to MCP Usage.
Analysis Workflow
1. Resolve the Asset's Fully Qualified Name (FQN)
Ensure you have the correct FQN format for the BigQuery asset:
Format:
bigquery:{project_id}.{dataset_id}.{table_or_view_id}Example:
bigquery:my-prod-project.analytics.orders
2. Determine Locations and Parent Path
Identify the locations to search and construct the Data Lineage API request:
Discover Asset Location: Run the command
bq show --format=json {project_id}:{dataset_id}and extract thelocationfield (e.g.,us-central1orus). If location discovery fails due to permissions or missing tools, prompt the user for the dataset's location.Set Parent Path: Set the
parentpath using the project ID and the MCP server's location. Consult theDataLineageServertool definition to find the configured region or location (e.g.,us). The format is:projects/{project_id}/locations/{mcp_server_location}.Configure Search Scope: Include the discovered asset location in the
locationsarray of the payload (e.g.,["us-central1"]or["us", "us-central1"]).
3. Retrieve the Downstream Lineage Graph
Call the DataLineageServer:search_lineage tool to fetch downstream
relationships.
Direction: Set to
DOWNSTREAM.Search Parameters: Use
max_depth = 10andmax_process_per_link = 5as robust defaults.
4. Identify the Blast Radius
Traverse the returned lineage links to build the impact graph:
Affected Assets: The
targetof each link represents a downstream asset that depends on your source asset.Transform Processes: Inspect the
processesfield on each link. This identifies the ETL pipelines, BigQuery Views, or Scheduled Queries that propagate the data.Direct vs. Indirect Impact:
Direct Impact (Depth 1): Assets directly consuming the source asset. If a link has
dependency_type: EXACT_COPY, mark the target as "Directly Stale / Identical Copy".Indirect Impact (Depth > 1): Assets further down the stream that will experience cascading stale data or failures.
5. Summarize and Format the Output
Present your findings clearly to the user using the following structure:
Executive Summary: State the total number of downstream assets affected and the maximum depth of the impact.
Critical Path: Highlight high-priority downstream assets (e.g., assets containing "prod", "dashboard", "reporting", or "master" in their names).
Blast Radius Table: A clean Markdown table listing the dependencies. You MUST include all columns:
Downstream Asset Transform Process Depth Impact Type bigquery:project.dataset.tableprojects/p/locations/l/processes/proc1 Direct bigquery:project.dataset.viewprojects/p/locations/l/processes/view2 Indirect Analysis Metadata: Provide transparency on the parameters and boundaries of your search so the user can choose to expand them:
Locations Searched:
{list_of_locations_queried}Parent Location:
{parent_path}Depth Limit:
{max_depth}Process per Link Limit:
{max_process_per_link}Tip for User: Let the user know they can request to rerun the analysis with expanded locations or larger depth limits.
Crucial Constraints & Guardrails
Interpret Empty Responses Correctly:
If the lineage response is empty, immediately assume that no dependencies exist in the queried locations and report this to the user.
Strictly Banned Bypasses:
Exclusively retrieve downstream relationships using the
DataLineageServer:search_lineagetool.
Verify Asset Existence First:
If
bq showindicates the source table does not exist, stop and report this directly to the user. Do not attempt to guess alternative table names unless the user explicitly instructs you to do so.
No Output Shortcutting or Hallucinated Artifacts:
Present the complete downstream blast radius table directly in your final response. Avoid telling the user you have created a separate Markdown file or artifact containing the details unless you have explicitly executed file-writing tools to create it.
Reference Directory
MCP Usage: Using the data lineage remote MCP server on Google Cloud and tool preferences.
External Documentation
Files
- ATTRIBUTION.mdAdded by AutoGineer902 B
- LICENSELicence file added by AutoGineer11.1 KiB
- SKILL.md7.0 KiB
- references/attribution.md1.9 KiB
- references/mcp-usage.md1.2 KiB
Requirements and compatibility
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs an MCP server
Security
No issues found by our static scan· No issues found
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Published by
- Publisher
- Google (Official)
- Source
- google/skills · skills/cloud/datalineage-bigquery-asset-impact-analysis · commit 2194d3b
- Licence
- Apache License 2.0 (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by Google.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download datalineage-bigquery-asset-impact-analysis.zip