snowflake-core-workflow-b

Featured

Execute Snowflake data transformation with streams, tasks, and dynamic tables. Use when building ELT pipelines, scheduling transformations, or implementing change data capture with Snowflake streams. Trigger with phrases like "snowflake transform", "snowflake ELT", "snowflake stream", "snowflake task", "snowflake pipeline", "snowflake dynamic table", "snowflake CDC".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Snowflake Core Workflow B — Data Transformation ## Overview Build ELT pipelines using streams (change data capture), tasks (scheduling), and dynamic tables (declarative transforms). ## Prerequisites - Data loaded into Snowflake (via `snowflake-core-workflow-a`) - Understanding of ELT vs ETL patterns - Role with `CREATE TASK`, `CREATE STREAM` privileges ## Instructions ### Step 1: Create a Stream for Change Data Capture ```sql -- Track changes on the raw orders table CREATE OR REPLACE STREAM orders_stream ON TABLE raw_orders APPEND_ONLY = FALSE; -- Append-only stream (lighter weight, inserts only) CREATE OR REPLACE STREAM events_stream ON TABLE raw_events APPEND_ONLY = TRUE; -- Check what's changed since last consumption SELECT * FROM orders_stream; -- METADATA$ACTION = 'INSERT' | 'DELETE' -- METADATA$ISUPDATE = TRUE if row is part of an UPDATE -- METADATA$ROW_ID = unique row identifier ``` ### Step 2: Create a Task to Process Stream Data ```sql -- Transform task runs when stream has data CREATE OR REPLACE TASK transform_orders WAREHOUSE = TRANSFORM_WH SCHEDULE = '5 MINUTE' WHEN SYSTEM$STREAM_HAS_DATA('orders_stream') AS MERGE INTO dim_orders AS target USING ( SELECT order_id, customer_id, amount::DECIMAL(12,2) AS amount, order_date::TIMESTAMP_NTZ AS order_date, CASE WHEN amount >= 1000 THEN 'high_value' WHEN amount >= 100 THEN 'medium_value' ELSE 'standard' END AS order_tier, CURR...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

snowflake-core-workflow-a

Execute Snowflake primary workflow: data loading via stages and COPY INTO. Use when loading data from S3/GCS/Azure into Snowflake tables, setting up Snowpipe for continuous ingestion, or bulk loading files. Trigger with phrases like "snowflake load data", "snowflake COPY INTO", "snowflake stage", "snowflake ingest", "snowflake S3 load", "snowpipe".

2,266 Updated today
jeremylongshore
AI & Automation Solid

snowflake-development

Use when writing Snowflake SQL, building data pipelines with Dynamic Tables or Streams/Tasks, using Cortex AI functions, creating Cortex Agents, writing Snowpark Python, configuring dbt for Snowflake, or troubleshooting Snowflake errors.

16,642 Updated yesterday
alirezarezvani
AI & Automation Featured

snowflake-development

Comprehensive Snowflake development assistant covering SQL best practices, data pipeline design (Dynamic Tables, Streams, Tasks, Snowpipe), Cortex AI functions, Cortex Agents, Snowpark Python, dbt integration, performance tuning, and security hardening.

39,227 Updated today
sickn33
AI & Automation Featured

databricks-core-workflow-a

Execute Databricks primary workflow: Delta Lake ETL pipelines. Use when building data ingestion pipelines, implementing medallion architecture, or creating Delta Lake transformations. Trigger with phrases like "databricks ETL", "delta lake pipeline", "medallion architecture", "databricks data pipeline", "bronze silver gold".

2,266 Updated today
jeremylongshore
AI & Automation Featured

snowflake-architecture-variants

Choose and implement Snowflake architecture blueprints: data lakehouse, data mesh, data sharing, and Snowpark-native patterns for different scales. Use when designing Snowflake data platforms, choosing between architectures, or implementing data sharing and Snowpark patterns. Trigger with phrases like "snowflake architecture", "snowflake lakehouse", "snowflake data mesh", "snowflake data sharing", "snowflake Snowpark".

2,266 Updated today
jeremylongshore