/starlake-skills:starflow-orchestration-designfrom starlake-skills
Design orchestration DAGs for scheduling and managing data pipeline execution. Use when the user says "design orchestration" or "create DAG configuration".
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 design of orchestration workflows that schedule and manage pipeline execution. Produces Starlake DAG configuration files that generate Airflow or Dagster Python code, along with scheduling, dependency, retry, and alerting strategies.
Role Guidance: Act as a Platform Engineer with expertise in workflow orchestration, Airflow/Dagster, and Starlake's DAG generation system.
Design Rationale: Orchestration code should be generated, not hand-written. Starlake derives task dependencies from SQL references and generates DAG code from YAML configuration + Jinja2 templates. This approach eliminates orchestration bugs caused by manually maintained dependency lists.
{implementation_artifacts}/pipeline-spec-*.md{implementation_artifacts}/transform-design-*.mdGroup pipeline tasks into logical DAGs:
| DAG Name | Schedule | Trigger | Tasks | SLA |
|---|---|---|---|---|
dag_daily_sales | 0 6 * * * | Cron | extract_orders, load_orders, transform_daily_agg | 8 AM |
dag_realtime_events | N/A | File sensor | load_events | 15 min |
For each DAG, define:
retries is 0: retries must be opted in explicitly. On the Cloud Run runner, retry_delay is overridden per-task by retry_delay_in_seconds (default 10s); tune that option when running on Cloud Run.pre_load_not_ready_sentinel_path to a GCS prefix. Orchestration auto-appends <domain>/<run_id>.notready and uses the sentinel to distinguish "files not here yet, retry" from "real error": keeps the Cloud Run console clean of red "Failed" executions for routine waiting polls. Requires retries > 0 and a tuned retry_delay_in_seconds to define the wait window.Create Starlake DAG definitions:
version: 1
dag:
comment: "Daily sales pipeline - extracts, loads, and transforms sales data"
template: "dag_standard.py.j2"
filename: "dag_daily_sales"
schedule: "0 6 * * *"
options:
catchup: false
dagrun_timeout: 7200
start_date: "2024-01-01"
retries: 2
retry_delay_in_seconds: 300 # on Cloud Run; use retry_delay for other runners
# Optional: opt-in sentinel for Cloud Run pre-load "not ready" signaling.
# pre_load_not_ready_sentinel_path: "gs://my-bucket/_sl/preload"
Document the DAG assignment hierarchy:
application.sl.yml → dagRef (applies to all tasks){domain}/_config.sl.yml → dagRef (applies to domain tasks){task}.sl.yml → dagRef (applies to specific task)Generate:
{implementation_artifacts}/orchestration-design-{{project_name}}.md{implementation_artifacts}/dags/Run starlake dag-generate to produce Airflow/Dagster Python files from the YAML configurations.
dag-generate skill for Airflow/Dagster DAG template optionsdag-deploy skill for DAG deployment proceduresComplete orchestration design with DAG configurations, scheduling strategies, and monitoring plans: ready for deployment to Airflow or Dagster.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
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./bq-infoGet BigQuery table information with `starlake bq-info` — schema, row count, size, partitioning, and clustering details for datasets and tables in a GCP project/cnxloadLoad a Parquet, CSV, or JSON file directly into a JDBC database table with `starlake cnxload`. Use to push one file into PostgreSQL, MySQL, or any JDBC target without the full Starlake load pipeline or YAML schemas./col-lineageTrace column-level lineage for one transform task with `starlake col-lineage` — show how each output column derives from its source columns through the SQL, for fine-grained data provenance and impact analysis