DATA AND ANALYTICS / dbt Labs
Upgrading dbt
Plans a dbt v1 migration to 1.12 using adapter-specific issue bundles and a recorded verification gate.
“Use when a user wants to upgrade, update, or migrate a dbt project to the latest version — e.g. "upgrade my dbt project," "migrate this off dbt 1.5," "get this project running on the latest dbt," "bump the dbt version." Upgrades a dbt v1 project (on 1.3, 1.4, 1.5, 1.6, or 1.7) all the way to 1.12, applying the required breaking, behavior, and deprecated changes from a data-driven issue corpus. Inputs — starting_version (the project's current dbt minor, one of 1.3/1.4/1.5/1.6/1.7) and adapter_type (snowflake/redshift/bigquery/databricks/spark); both are normally supplied by the caller (e.g. the dbt VS Code extension), with fallbacks described in the skill.”
01 / THE REASONING
Why this made the selection.
- Separates sequential pre-1.8 changes from detected behavior flags and preserves unresolved outside-repository job changes.
- Distinguishes parse-only evidence from user-approved compile, test and build results, preserving issue and phase histories.
02 / THE REVIEW RECORD
What we actually inspected.
Source review has boundaries.
A clear record is more useful than a “safe” badge.
Material inspected
- skills/dbt-migration/skills/upgrading-dbt/SKILL.md (complete frontmatter and body)
- https://github.com/dbt-labs/dbt-agent-skills/blob/77923f561356ab83ebd467c79c6805868346b33d/LICENSE (applicable licence text)
- skills/dbt-migration/skills/upgrading-dbt/SKILL.md, references/exec-local.md, references/exec-platform.md and scripts/tools.py compared with the previous review revision 168a2b0b; the other 122 files in the directory are byte-identical. README.md and LICENSE re-read.
Our findings
- Step 0 is a git preflight: the run proceeds only off main and master with a clean tree, for example on a branch named upgrade/dbt-1.12.
- Its non-negotiable rules forbid mutating the environment (pip or other installers), writing outside the project or under dbt_packages/, and applying a human-class fix without showing the diff and getting confirmation.
- Reads project/profiles, writes migration artifacts and project files, and runs the selected local or Studio dbt workflow. Approved verification can query or build warehouse data.
- From this revision the platform profile sends migration telemetry through a record_migration_event server tool, only when that tool is in the agent's tool list: gave_up, gate_result and outcome events with gate verdicts, counts and an error category. The skill says telemetry never blocks or changes the migration.
- The local profile never calls that tool. Its report step writes the run outcome to target/dbt_migration_status.json, and SKILL.md says the VS Code extension sends the telemetry from that file.
- A warehouse authentication or timeout failure that no issue explains now stops the verification gate instead of looping, and the report names every command left unverified.
Not established by this review
- Host discovery, task execution and model quality were not tested.
- Referenced helpers, sibling plugins and external service operations were not exhaustively audited or executed.
- Not executed: it was not installed or run.
The review applies to the material and revision named here. A newer upstream release can change its behavior.
03 / PUT IT TO WORK
Add a skill to your workflow.
DOCUMENTED COMMAND
npx skills add dbt-labs/dbt-agent-skills/skills/dbt-migration/skills/upgrading-dbt --skill upgrading-dbt Run in your terminal to choose your AI tools, project or global scope, and installation method. This short command follows the current upstream version; the review covers the revision shown above.
Optional: install the reviewed revision
Keeps the original source and installer version where recorded, while leaving your AI tools and installation scope for you to choose.
npx skills@1.7.1 add https://github.com/dbt-labs/dbt-agent-skills/tree/77923f561356ab83ebd467c79c6805868346b33d/skills/dbt-migration/skills/upgrading-dbt --skill upgrading-dbt - Choose your AI tools and project or global installation scope in Skills CLI. The review applies to the source revision shown on this page.
- Retain all supporting files; separately configure companion skills, runtimes and service credentials named in the definition.
- Review the resulting diff and use an isolated target before any migration, deployment, load test or warehouse operation.
Before you start
- The complete upgrading-dbt directory and compiled issue bundles, a supported adapter, an isolated migration branch and the relevant local or Studio execution profile.
04 / FOLLOW THE EVIDENCE
The source trail.
Our notes are separate from the original resource.
Check upstream before adopting a new version.
- Skill definition ↗Checked
https://github.com/dbt-labs/dbt-agent-skills/blob/77923f561356ab83ebd467c79c6805868346b33d/skills/dbt-migration/skills/upgrading-dbt/SKILL.md
Supports: summary, whySelected, limitations, access, review
- Repository licence ↗Checked
https://github.com/dbt-labs/dbt-agent-skills/blob/77923f561356ab83ebd467c79c6805868346b33d/LICENSE
Supports: Redistribution terms
- Install instructions ↗Checked
https://github.com/dbt-labs/dbt-agent-skills/blob/77923f561356ab83ebd467c79c6805868346b33d/README.md
Supports: Documented install command
https://github.com/dbt-labs/dbt-agent-skills/blob/77923f561356ab83ebd467c79c6805868346b33d/skills/dbt-migration/skills/upgrading-dbt/references/exec-platform.md
Supports: review, limitations, access
https://github.com/dbt-labs/dbt-agent-skills/blob/77923f561356ab83ebd467c79c6805868346b33d/skills/dbt-migration/skills/upgrading-dbt/scripts/tools.py
Supports: review, limitations, access
https://raw.githubusercontent.com/dbt-labs/dbt-agent-skills/77923f561356ab83ebd467c79c6805868346b33d/skills/dbt-migration/skills/upgrading-dbt/SKILL.md
Supports: upstreamDescription, review.notTested, review.reviewedAt