lineage-diff
Installation
SKILL.md
Lineage Diff
Requirements
Agent: any (read-only analysis) Tools used: lineage_check, read, bash (for git operations), glob
Compare column-level lineage between two versions of a SQL model to identify changes in data flow.
Workflow
-
Get the original SQL — Either:
- Read the file from disk (current committed version)
- Use
git show HEAD:path/to/file.sqlviabashto get the last committed version - Accept the "before" SQL directly from the user
-
Get the modified SQL — Either:
- Read the current (modified) file from disk
- Accept the "after" SQL directly from the user