LabscoMCP early access ↗
dbt-labs avatar

migrating-dbt-core-to-v2

Local tool required★ 731 on GitHub
part of dbt-labs/dbt-agent-skillsby dbt-labs

Sorts the errors you hit when moving a dbt Core project to dbt v2 into four groups: safe automatic fixes, fixes it shows you before applying, choices only you can make, and problems that need a fix in dbt v2 itself. It starts by running dbt Labs' dbt-autofix tool and reviewing what that changed, then fixes one approved issue at a time and re-runs your check command after each.

WHEN TO USE

SCOPE

USE FOR

  • Triage a long list of errors after switching a dbt Core project to dbt v2.
  • Find the open dbt v2 issue behind an error your project can't fix, plus workarounds and their risks.
  • Check that dbt-autofix didn't break or misplace anything before you fix the rest.

NOT FOR

  • Expecting every error fixed in one pass: some wait on dbt v2 updates.
  • Upgrading a dbt 1.3 to 1.7 project to a newer 1.x release: that is the upgrading-dbt skill.