This skill helps you manage Snowflake schema changes with version-controlled migrations and CI/CD pipelines for safe deployments.
npx playbooks add skill sfc-gh-dflippo/snowflake-dbt-demo --skill schemachange
Deploy and manage Snowflake database changes using version control and CI/CD pipelines with
schemachange's migration-based approach.
Script Types:
V1.0.0__initial_setup.sql
V1.1.0__create_base_tables.sql
V2.0.0__restructure_schema.sql
Use for: CREATE TABLE, ALTER TABLE, CREATE SCHEMA
R__Stage_01_create_views.sql
R__Stage_02_alter_procedures.sql
R__Stage_03_utility_functions.sql
Use for: CREATE OR ALTER VIEW, CREATE OR ALTER PROCEDURE, CREATE OR REPLACE STREAM
A__refresh_permissions.sql
A__update_config_values.sql
Use for: Jobs that must run every deployment (idempotent only)
See CREATE_OR_ALTER_REFERENCE.md for supported objects.
# schemachange-config.yml
root-folder: migrations
create-change-history-table: true
connection-name: default
change-history-table: MY_DB.SCHEMACHANGE.CHANGE_HISTORY
# Dry run
schemachange deploy --config-folder . --dry-run
# Deploy
schemachange deploy --config-folder .
# With variables
schemachange deploy --vars '{"env":"prod","schema":"data"}'
schemachange-config.yml - Complete configuration templateSCRIPT_PATTERNS.md - Examples for V, R, A\_\_ scripts (coming soon)CREATE_OR_ALTER_REFERENCE.md - Supported object types (coming soon)CI_CD_EXAMPLES.md - GitHub Actions and Azure DevOps patterns (coming soon)Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.