datalineage-summary
Что он делает
Скилл объясняет, как данные поступают в таблицу, представление или объект хранилища BigQuery и выходят из них. Он нужен тем, кто разбирает качество данных и хочет простую картину происхождения данных.
Когда использовать
- ✓Когда вы хотите узнать, откуда берутся данные таблицы и куда они уходят.
- ✓Когда вы разбираете проблему качества данных и нужно проследить источник данных.
- ✓Когда вам нужен отчёт простым языком по графу происхождения данных.
Ссылка на скилл
https://github.com/google/skills/blob/main/skills/cloud/datalineage-summary/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Объясни простыми словами, откуда таблица выручки в BigQuery берёт данные и какие отчёты её используют.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Скилл получает граф происхождения от объекта в обоих направлениях через MCP-сервер Data Lineage. Затем он превращает граф в пошаговое описание слева направо простым языком.
Технический текст (оригинальный 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_urltool 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 thelocationsarray. You MUST populate thelocationsarray with all supported physical regions fetched from this link. You may optionally additionally determine the asset's specific active region (usingbq showorgcloud storage ls).Search Parameters: Use
maxDepth = 10,maxResults = 5000andmaxProcessPerLink = 10as robust defaults when callingsearch_lineage. For example, a DOWNSTREAM call should be formatted like this (expanding thelocationsarray 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_lineagetool can find all Column-Level Lineage (CLL) by configuring thefieldarray. 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
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
finding-google-skills
22kПомогает агенту найти нужные руководства Google для задач настройки, например хостинга, баз данных, хранилища, входа или запуска ИИ-моделей.
gcloud
22kПомогает агенту писать и проверять команды gcloud для Google Cloud, сверяя синтаксис с официальной справкой перед запуском, чтобы не угадывать флаги.
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 для скриптов.