datalineage-bigquery-asset-impact-analysis
하는 일
이 스킬은 BigQuery 테이블이나 뷰를 바꾸거나 깨뜨리기 전에 무엇이 그것에 의존하는지 보여 줍니다. 유지 보수를 계획하거나 깨진 데이터셋에 대응하는 데이터 팀을 위한 스킬입니다.
사용하는 경우
- ✓BigQuery 테이블이나 뷰가 깨졌거나, 오래되었거나, 없어졌다고 보고될 때.
- ✓BigQuery 자산을 수정, 삭제하거나 업데이트를 멈추려고 하고 그 영향을 알고 싶을 때.
- ✓어떤 대시보드와 테이블이 영향을 받는지 보여 주는 영향 범위 보고서가 필요할 때.
스킬 링크
https://github.com/google/skills/blob/main/skills/cloud/datalineage-bigquery-asset-impact-analysis/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“BigQuery의 판매 테이블을 바꾸기 전에, 이 테이블에 의존하는 모든 대시보드와 테이블을 보여 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
전체 자산 이름을 찾은 다음, Data Lineage MCP 서버를 사용해 상위와 하위 자산의 그래프를 탐색합니다. 그다음 영향을 받는 모든 항목을 나열합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
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
- Format:
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.
- Direct Impact (Depth 1): Assets directly consuming the source asset.
If a link has
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_quer
자주 묻는 질문
어떤 연결이 필요한가요?
Data Lineage API에 접근할 수 있어야 하며, Data Lineage MCP 서버에 활성 연결이 있어야 합니다.
전체 자산 이름은 어떤 모습인가요?
bigquery로 시작해 프로젝트, 데이터셋, 테이블을 점으로 나눈 형식입니다.
대시보드도 포함하나요?
네. 영향을 받는 테이블, 대시보드, 프로세스를 찾아냅니다.
상세 정보
작성자의 원본 설명
Analyzes the downstream impact (blast radius) using data lineage on Google Cloud when a BigQuery table or view is broken, stale, or modified. Identifies all downstream tables, dashboards, and processes that will be affected. Use when: - Performing a blast radius or impact analysis for a BigQuery table or view. - Assessing the consequences of modifying, deleting, or pausing updates to a BigQuery asset. - Identifying downstream dependencies (tables, dashboards, processes) of a BigQuery asset. Don't use for: - General BigQuery querying or data analysis (use BigQuery-related tools instead). - Non-
repo: google/skills
인기도
- GitHub 스타
- 22k
- 순위
- #10250
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
finding-google-skills
22k에이전트가 호스팅, 데이터베이스, 저장소, 로그인, AI 모델 제공처럼 설정 작업에 맞는 Google 가이드를 찾도록 돕습니다.
gcloud
22k에이전트가 Google Cloud gcloud 명령을 작성하고 확인하도록 돕습니다. 플래그를 추측하지 않도록 무엇이든 실행하기 전에 정확한 문법을 확인합니다.
google-cloud-recipe-auth
22k에이전트가 Google Cloud의 신원과 접근 권한을 안내합니다. 사람과 서비스가 어떻게 로그인하고 어떤 권한을 받는지 포함합니다.
google-cloud-recipe-onboarding
22k새 개발자가 Google Cloud에서 프로젝트 선택, 결제 연결, 첫 리소스 배포 같은 첫 단계를 밟도록 안내합니다.
비슷한 스킬
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
slacrawl
394k에이전트가 로컬 Slack 보관본에서 메시지를 검색하고 개수를 세며, 보관본이 얼마나 최신인지 확인하고 필요할 때 새로 고치도록 돕습니다.
goplaces
394k에이전트가 Google Places로 장소를 검색하고, 세부 정보와 리뷰를 가져오고, 장소 이름을 확인하며, 스크립트용 JSON을 출력하도록 돕습니다.