dbt-labs avatar

Migrating Dbt Project Across Platforms

If you're moving a dbt project between warehouses like Snowflake and Databricks, this walks you through the dialect conversion using dbt Fusion's real-time compiler as your error detector. The workflow is methodical: generate unit tests on the source platform to lock in expected outputs, switch your target, then iterate through compile errors until you hit zero warnings and zero errors. Fusion tells you exactly what's broken and where, so you're not guessing at SQL differences. The skill emphasizes using dbtf compile as your primary feedback loop since it's free and catches issues before you burn warehouse credits on runs. It's thorough about leaf node testing and includes a progress checklist, though you'll need Fusion installed to make any of this work.

skills.sh installs
528
GitHub stars
759
last updated
May 19, 2026

Install

$ npx -y skills add dbt-labs/dbt-agent-skills --skill migrating-dbt-project-across-platforms --agent claude-code

Installs into .claude/skills of the current project.

Files

Migrating a dbt Project Across Data Platforms

This skill guides migration of a dbt project from one data platform (source) to another (target) — for example, Snowflake to Databricks, or Databricks to Snowflake.

The core approach: dbt Fusion compiles SQL in real-time and produces rich, detailed error logs that tell you exactly what's wrong and where. We trust Fusion entirely for dialect conversion — no need to pre-document every SQL pattern difference. The workflow is: read Fusion's errors, fix them, recompile, repeat until done. Combined with dbt unit tests (generated on the source platform before migration), we prove both compilation correctness and data correctness on the target platform.

Success criteria: Migration is complete when:

  1. dbtf compile finishes with 0 errors and 0 warnings on the target platform
  2. All unit tests pass on the target platform (dbt test --select test_type:unit)
  3. All models run successfully on the target platform (dbtf run)

Sponsors

Details

Repository
github.com/dbt-labs/dbt-agent-skills
Categories
AI & Agent Building, Marketing & SEO, Databases
License
Apache-2.0
First seen
Jun 11, 2026

More from dbt-labs/dbt-agent-skills

All 13
1jwynia avatargood-thinkingjwynia/agent-skillsDiagnose thinking failures and maintain process-sovereignty by auditing cognitive orientation and operation balance.528skills.sh installs
2plugin87 avatarperformanceplugin87/ux-ui-agent-skillsOptimize UI performance against Core Web Vitals — LCP, INP, CLS — with loading/code-split strategy, layout-shift prevention, and animation performance rules. Us528skills.sh installs
3plugin87 avatarprototypeplugin87/ux-ui-agent-skillsMove an idea up the fidelity ladder (content-first → wireframe → low-fi → high-fi → code) with a validation plan at each level, plus user-journey mapping and us528skills.sh installs
4rstackjs avatarrspack-v2-upgraderstackjs/agent-skillsUse when upgrading a Rspack 1.x project to v2, including dependency and configuration updates.528skills.sh installs
5aj-geddes avatarmicroservices-architectureaj-geddes/useful-ai-promptsDesign and implement microservices architecture including service boundaries, communication patterns, API gateways, service mesh, service discovery, and distrib527skills.sh installs
6aj-geddes avatarsql-query-optimizationaj-geddes/useful-ai-promptsAnalyze and optimize SQL queries for performance. Use when improving slow queries, reducing execution time, or analyzing query performance in PostgreSQL and MyS527skills.sh installs