snowflake-multi-env-setup

Featured

Configure Snowflake across dev, staging, and production with account-level isolation, zero-copy clones, and environment-specific RBAC. Trigger with phrases like "snowflake environments", "snowflake staging", "snowflake dev prod", "snowflake clone", "snowflake environment setup".

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 Multi-Environment Setup ## Overview Configure dev/staging/production environments using Snowflake's zero-copy cloning, separate databases, and environment-specific roles and warehouses. ## Environment Strategy | Environment | Approach | Data | Warehouse | Cost | |-------------|----------|------|-----------|------| | Development | Cloned DB, XSMALL WH | Zero-copy clone (refreshed weekly) | DEV_WH_XS | Minimal | | Staging | Cloned DB, same-size WH | Zero-copy clone (refreshed daily) | STAGING_WH | Moderate | | Production | Source of truth | Real data | PROD_WH (multi-cluster) | Full | ## Instructions ### Step 1: Create Environment Databases with Zero-Copy Cloning ```sql -- Zero-copy clone creates instant copy with no additional storage cost -- Storage cost only accrues when cloned data diverges from source -- Clone production to staging (point-in-time) CREATE DATABASE STAGING_DW CLONE PROD_DW; -- Clone to dev CREATE DATABASE DEV_DW CLONE PROD_DW; -- Clone from a specific point in time (Time Travel) CREATE DATABASE STAGING_DW CLONE PROD_DW AT (TIMESTAMP => '2026-03-21 06:00:00'::TIMESTAMP_NTZ); -- Refresh clone (drop and re-clone) -- Schedule this as a task: CREATE OR REPLACE TASK refresh_staging_clone WAREHOUSE = ADMIN_WH SCHEDULE = 'USING CRON 0 4 * * * America/New_York' -- 4 AM ET daily AS BEGIN DROP DATABASE IF EXISTS STAGING_DW; CREATE DATABASE STAGING_DW CLONE PROD_DW; -- Re-grant permissions after clone GRANT USAGE ON DATABA...

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

databricks-multi-env-setup

Configure Databricks across development, staging, and production environments. Use when setting up multi-environment deployments, configuring per-environment secrets, or implementing environment-specific Databricks configurations. Trigger with phrases like "databricks environments", "databricks staging", "databricks dev prod", "databricks environment setup", "databricks config by env".

2,266 Updated today
jeremylongshore
AI & Automation Solid

snowflake-prod-checklist

Execute Snowflake production readiness checklist with monitoring and rollback. Use when deploying Snowflake pipelines to production, preparing for go-live, or validating production Snowflake configuration. Trigger with phrases like "snowflake production", "snowflake go-live", "snowflake launch checklist", "snowflake prod ready".

2,266 Updated today
jeremylongshore
AI & Automation Featured

snowflake-local-dev-loop

Configure Snowflake local development with testing, mocking, and fast iteration. Use when setting up dev environment, writing tests against Snowflake, or establishing a fast iteration cycle with SnowSQL and dev warehouses. Trigger with phrases like "snowflake dev setup", "snowflake local development", "snowflake dev environment", "develop with snowflake", "snowflake testing".

2,266 Updated today
jeremylongshore
AI & Automation Featured

clickhouse-multi-env-setup

Configure ClickHouse across dev, staging, and production with environment-specific settings, secrets management, and infrastructure-as-code patterns. Use when setting up per-environment ClickHouse instances, managing connection configs, or deploying to multiple environments. Trigger: "clickhouse environments", "clickhouse dev staging prod", "clickhouse multi-env", "clickhouse environment config", "clickhouse staging setup".

2,266 Updated today
jeremylongshore
AI & Automation Featured

shopify-multi-env-setup

Configure Shopify apps across development, staging, and production environments with separate stores, API credentials, and app instances. Trigger with phrases like "shopify environments", "shopify staging", "shopify dev vs prod", "shopify multi-store", "shopify environment setup".

2,266 Updated today
jeremylongshore