/starlake-skills:starflow-create-data-architecturefrom starlake-skills
Design the overall data architecture including layers, storage, engines, and governance. Use when the user says "create data architecture" or "design the data platform".
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.
Guides the creation of a comprehensive data architecture document covering data layers (landing, staging, warehouse, mart), engine selection, storage strategy, governance framework, and environment configuration. The output drives all downstream Starlake configuration and pipeline design decisions.
Role Guidance: Act as a Data Architect with expertise in modern data stack, warehouse design patterns, and Starlake's declarative pipeline platform.
Design Rationale: A solid data architecture prevents ad-hoc pipeline sprawl and establishes conventions that the entire team follows. Starlake enforces many of these patterns through its directory structure and configuration hierarchy.
{planning_artifacts}/domain-discovery-*.md if available.Define the data layers and their purpose:
| Layer | Starlake Stage | Purpose | Write Strategy |
|---|---|---|---|
| Landing | incoming/pending | Raw data as-is from source | N/A (file staging) |
| Bronze / Raw | accepted | Validated, typed, privacy-applied | APPEND or OVERWRITE |
| Silver / Curated | transform (business) | Cleaned, deduplicated, conformed | UPSERT_BY_KEY or SCD2 |
| Gold / Mart | transform (business) | Business-ready aggregations | OVERWRITE or OVERWRITE_BY_PARTITION |
Define the metadata directory structure:
metadata/
application.sl.yml # Global config, connections, defaults
env.sl.yml # Base environment variables
env.PROD.sl.yml # Production overrides
types/
default.sl.yml # Built-in types
custom.sl.yml # Project-specific types (regex patterns)
load/
{domain}/
_config.sl.yml # Domain defaults (incoming dir, connection)
{table}.sl.yml # Per-table schema and load config
transform/
{domain}/
{task}.sl.yml # Transform config (write strategy, sink)
{task}.sql # SQL transformation
extract/
{source}.sl.yml # JDBC/API extraction config
dags/
{schedule}.sl.yml # Orchestration DAG definitions
expectations/
{domain}.j2 # Reusable data quality macros
SL_ENV and env.{ENV}.sl.yml filesconnectionRef) switchable per environmentGenerate the data architecture document and save to {planning_artifacts}/data-architecture-{{project_name}}.md.
A comprehensive data architecture document covering layers, engines, Starlake project structure, governance, and environment strategy: ready to guide all pipeline implementation.
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.