본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트22k · #10251

datalineage-summary

하는 일

이 스킬은 데이터가 BigQuery 테이블, 뷰 또는 스토리지 자산에 들어가고 나가는 과정을 설명합니다. 데이터 품질 문제를 디버깅하면서 데이터의 출처를 간단히 그려 보고 싶은 사람을 위한 스킬입니다.

사용하는 경우

  • ✓테이블의 데이터가 어디서 오고 어디로 가는지 알고 싶을 때.
  • ✓데이터 품질 문제를 디버깅하면서 데이터의 출처를 추적해야 할 때.
  • ✓데이터 리니지 그래프를 쉬운 말로 된 보고서로 받고 싶을 때.

스킬 링크

https://github.com/google/skills/blob/main/skills/cloud/datalineage-summary/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/google/skills/blob/main/skills/cloud/datalineage-summary/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“BigQuery의 매출 테이블이 데이터를 어디서 받고, 어떤 보고서가 그것을 쓰는지 쉬운 말로 설명해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

Data Lineage MCP 서버를 사용해 자산에서 양방향으로 리니지 그래프를 가져옵니다. 그다음 그래프를 왼쪽에서 오른쪽으로 흐르는 쉬운 설명으로 바꿉니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Data Lineage Summary

This skill guides the agent in investigating and summarizing the Data Lineage graph for a specific focal asset (Table-Level Lineage) or specific fields (Column-Level Lineage). It provides an intuitive left-to-right walkthrough of how data enters and leaves the asset, abstracting away complex node and link details into plain English.

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-summary)" and append agent-skills/1.0 (skill:datalineage-summary) to User-Agent headers.

Prerequisites

This skill relies on the data lineage (Knowledge Catalog) MCP Server on Google Cloud for graph traversal. Ensure you can run search_lineage queries in both upstream and downstream directions. For detailed connection configurations and tool schemas, refer to MCP Usage.

Workflow Logic

1. Get Lineage

Fetch the lineage graph in both directions from the focal point (both upstream and downstream) by making two separate calls to the MCP tool: one with "direction": "UPSTREAM" and another with "direction": "DOWNSTREAM".

  • Location Strategy: You MUST use the read_url tool to fetch the comprehensive list of locations dynamically from the provided Knowledge Catalog Locations link. To ensure cross-regional lineage is not missed, always verify the current list of Google Cloud regions using this link before populating the locations array. You MUST populate the locations array with all supported physical regions fetched from this link. You may optionally additionally determine the asset's specific active region (using bq show or gcloud storage ls).

  • Search Parameters: Use maxDepth = 10, maxResults = 5000 and maxProcessPerLink = 10 as robust defaults when calling search_lineage. For example, a DOWNSTREAM call should be formatted like this (expanding the locations array as needed):

    {
      "parent": "projects/project_id/locations/us",
      "locations": [
        "us",
        "us-central1",
        "us-east1",
        "us-west1",
        "europe-west1",
        "asia-northeast1"
      ],
      "rootCriteria": {
        "entities": {
          "entities": [
            {
              "fullyQualifiedName": "bigquery:project.dataset.table"
            }
          ]
        }
      },
      "direction": "DOWNSTREAM",
      "limits": {
        "maxDepth": 10,
        "maxResults": 5000,
        "maxProcessPerLink": 10
      }
    }
    

    Ensure you make a similar call with "direction": "UPSTREAM" to fetch the upstream lineage.

  • Column-Level Lineage (CLL): The search_lineage tool can find all Column-Level Lineage (CLL) by configuring the field array. If Table-Level Lineage (TLL) is requested, configure the call to get CLL links along with the TLL links by exploiting the "*" wildcard. For example:

    "rootCriteria": {
      "entities": {
        "entities": [
          {
            "fullyQualifiedName": "bigquery:project.dataset.table",
            "field": [
              "*"
            ]
          }
        ]
      }
    }
    

    If evaluating a specific column, replace "*" with the specific column name (e.g., "efficiency_score").

2. Summarize

Generate the summary using the prompt guidelines below.

  • Persona: Act as an expert Data Lineage Analyst generating a concise, easy-to-understand left-to-right walkthrough of the data flow.
  • Structure & Flow: Start immediately with the summary text, structured as follows:
    • Overall Flow Type: State the inferred workflow type and data domain (e.g., "This appears to be a Feature Engineering workflow...").
    • Systems Overview: List the primary systems involved up front. If the request is for Column-Level Lineage, you MUST explicitly declare that the scope of the analysis is limited to the specified field up front.
    • Upstream Lineage: Use the exact bold header **Upstream Lineage:**. Narrative must detail how data arrives at the
자주 묻는 질문

리니지 관계를 편집하나요?

아닙니다. 리니지를 읽고 요약하기만 합니다.

개별 열도 다루나요?

네. 특정 필드에 대한 열 수준 리니지도 요약할 수 있습니다.

일반 BigQuery 쿼리 도구인가요?

아닙니다. 리니지 요약을 위한 것이며, 일반 쿼리용이 아닙니다.

상세 정보

작성자의 원본 설명

Summarizes data lineage graphs on Google Cloud to help users debug data quality issues and understand data provenance for BigQuery and Cloud Storage. Use when summarizing upstream and downstream data flows, and presenting complex lineage data as an intuitive Markdown report. Don't use for generic BigQuery queries, editing lineage relationships, or downstream deprecation. Don't use for downstream blast-radius impact analysis (use datalineage-bigquery-asset-impact-analysis skill instead).

repo: google/skills

인기도

GitHub 스타
22k
순위
#10251
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬