/starlake-skills:table-dependenciesfrom starlake-skills
Generate a table dependency graph with `starlake table-dependencies` — an entity-relationship (ER) diagram of your data model built from the foreign key relationships declared in table YAML, output as SVG, PNG, or JSON
Ships in starlake-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generates a visual graph showing table dependencies based on foreign key relationships defined in your YAML configurations. This is an entity-relationship diagram for your data model.
starlake table-dependencies [options]
--output <value>: Output file path (default: console output)--all-attrs: Include all attributes in the diagram (not just primary/foreign keys). Default: true--reload: Reload YAML files from disk before computing--json: Generate JSON output--related: Include only entities that have relationships to other entities--tables <value>: Comma-separated list of specific tables to include--all: Include all tables (default)--reportFormat <value>: Report output format: console, json, or htmlTable dependencies are derived from foreignKey attributes in table definitions:
# metadata/load/starbake/order_lines.sl.yml
table:
name: "order_lines"
primaryKey: ["order_id", "product_id"]
attributes:
- name: "order_id"
type: "int"
foreignKey: "orders.order_id"
- name: "product_id"
type: "int"
foreignKey: "products.product_id"
- name: "quantity"
type: "int"
- name: "sale_price"
type: "double"
starlake table-dependencies --json --output tables.json --all
starlake table-dependencies --tables starbake.orders,starbake.order_lines --json --output orders.json
starlake table-dependencies --related --json --output related.json
Starflow outputs DOT and JSON only (the UI draws the diagrams from the JSON). To get an image, render the DOT output with GraphViz:
starlake table-dependencies --output table-dependencies.dot --all && dot -Tsvg table-dependencies.dot -o table-dependencies.svg
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (starlake-ai/starlake-skills) — no native marketplace selected
npx claudepluginhub p/starlake-ai-starlake-skills75 skills in this plugin
/acl-dependenciesVisualize access control with `starlake acl-dependencies` — graph which users and groups can access which tables, from the ACL and RLS (row-level security) definitions in your YAML, output as SVG, PNG, or JSON/autoloadInfer schemas from files in the incoming directory and load them into the warehouse in one step with `starlake autoload`. Use for quick starts or new data files with no YAML table definitions yet; generates the table configs automatically./bootstrapCreate a new Starlake project with `starlake bootstrap` — scaffold the standard metadata/load/transform directory structure and starter config from a template (quickstart, simple). Use when initializing or setting up a new project.