.agents/skills/lineage/SKILL.md
Generate task dependency graphs (data lineage)
npx skillsauth add starlake-ai/starlake-skills lineageInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generates a visual graph of task dependencies (data lineage). Shows how transform tasks depend on each other and on source tables. Outputs to DOT, SVG, PNG, or JSON formats.
starlake lineage [options]
--output <value>: Output file path (default: console output)--task <value>: Comma-separated list of tasks to compute dependencies for (default: all)--reload: Reload YAML files from disk before computing lineage--viz: Generate a DOT file (Graphviz format)--svg: Generate SVG image--png: Generate PNG image--json: Generate JSON output--print: Print dependencies as text to console--objects <value>: Comma-separated list of object types to display: task, table, view, unknown--all: Include all tasks in the output (not just connected ones)--verbose: Add extra table properties to the graph--reportFormat <value>: Report output format: console, json, or htmlLineage is computed by analyzing SQL transform files in metadata/transform/. Dependencies are detected from table references in SQL queries:
-- metadata/transform/kpi/order_summary.sql
-- Dependencies detected: kpi.product_summary, kpi.revenue_summary
SELECT
ps.order_id,
ps.order_date,
rs.total_revenue,
ps.profit,
ps.total_units_sold
FROM
kpi.product_summary ps
JOIN kpi.revenue_summary rs ON ps.order_id = rs.order_id
The lineage graph shows:
load/) as inputstransform/) as processing stepsstarlake lineage --output lineage.svg --svg --all
starlake lineage --task kpi.order_summary --svg --output order_lineage.svg
starlake lineage --json --output lineage.json --all
starlake lineage --print --all
starlake lineage --viz --output lineage.dot --all --verbose
Show only tasks and tables (exclude views):
starlake lineage --objects task,table --svg --output lineage.svg --all
starlake lineage --png --output lineage.png --all
development
Design SQL transformations for data pipelines with quality checks and dependency management. Use when the user says "design transforms" or "create SQL transformations".
devops
Plan and track sprint progress for data pipeline implementation. Use when the user says "sprint planning" or "plan data sprint".
testing
Analyze data sources in depth: schema, quality, volume, and extraction strategy. Use when the user says "analyze data source" or "profile this data source".
data-ai
Design Starlake-compatible table schemas with types, constraints, privacy, and expectations. Use when the user says "design schema" or "create table definition".