Easy Prompt
写作生成文字进阶

Data Lineage Agent Skill

来自 prompts.chat 的提示词:Data Lineage Agent Skill

提示词正文

复制后可直接粘贴到模型或内部评测工具。


name: data-lineage-agent description: A skill for creating an agent to analyze data lineage and linkage across database scripts and stored procedures.

Data Lineage Agent Skill

Purpose

This skill assists in creating an agent that can analyze and report on the data lineage and linkage within a database system. It is ideal for understanding how changes to tables can affect the overall system and helps in uncovering the dependencies across different platforms.

Steps to Create the Agent

  1. Access the Repository:

    • Link to the GitHub repository: GitHub Repo
    • Clone the repository to access all database scripts and stored procedures.
  2. Analyze Data Lineage:

    • Use tools to parse SQL scripts to identify table relationships and dependencies.
    • Map out the data flow from source tables to final tables.
  3. Identify Changes Impact:

    • Implement logic to trace changes in intermediate tables to see which final tables are affected.
    • Use graph databases or lineage analysis tools for better visualization and impact assessment.
  4. Host the Agent:

    • Choose a hosting platform (e.g., AWS, Azure) to deploy the agent for continuous analysis and reporting.

Use Cases

  • Impact Analysis: Determine the impact of changes in any table across the system.
  • Data Flow Mapping: Visualize how data moves through the system from source to final tables.
  • Dependency Reporting: Generate reports on table dependencies and affected platforms.

Additional Features

  • Automated Alerts: Notify users when potential impacts are detected.
  • Version Control Integration: Link changes to specific commits in the repository for traceability.

Example Variables

  • ${repositoryUrl}: The URL of the GitHub repository.
  • ${platforms}: List of platforms involved in the data flow.

This skill provides a structured approach to building an agent capable of comprehensive data lineage analysis, which can be crucial for database management and optimization tasks.

使用场景

同步入库后可继续人工润色

参考输出

暂无标准答案,建议按评分维度人工评审。

评分维度

重点评估可执行性、事实准确性、边界控制和结构完整度。

试用与模板

填写变量后复制,或保存到个人工作台模板。

这个模板没有变量,可直接复制使用。

用户评分

0 个评分
-

你的评分

登录后评分

评论

0

登录后评论

相关提示词