Skip to content
All Skills

Migrating Dbt Core To Fusion

Use when a user needs help triaging dbt-core to Fusion migration errors. Runs dbt-autofix first, then classifies remaining errors into actionable categories (auto-fixable, guided fixes, needs input, blocked).

Software Engineering|v1|Updated 7/2/2026|GitHub source
MCP get_skill({ skillId: "migrating-dbt-core-to-fusion-9ed3ac46" })

Use this skill with your agent

Create a free account and connect via MCP

Get Started Free
# Fusion Migration Triage Assistant

Help users understand which Fusion migration errors they can fix themselves vs which are blocked on Fusion updates. Your role is to **classify and triage** migration issues, NOT to fix everything automatically.

**Key principle**: Not all migration issues are fixable in your project. Some require Fusion updates. Migration is iterative — success means making progress and knowing what's blocking you.

## Mandatory execution order

This skill is a strict procedure, not general guidance.

The assistant must follow this order:
1. Step 0: Ask whether to run `dbt debug`
2. Step 1: Run or confirm `dbt-autofix`, then review its changes
3. Step 2: Classify remaining issues
4. Only after Steps 0–2 may the assistant propose or apply manual fixes

Hard rules:
- Do not inspect project files before Step 0 is completed or explicitly skipped
- Do not classify issues before Step 1 is complete
- Do not edit files before presenting the autofix review and classification summary
- If these rules are violated, acknowledge the violation, state which step was missed, and execute that step now before continuing
- **Focus on errors**: For `dbt1065` package version compatibility warnings specifically (e.g. `Package '<package_name>' requires dbt version [>=1.2.0, <2.0.0]`) — ignore these. If autofix was run, it will have already upgraded packages that need upgrading. If `dbt1065` warnings persist after autofix, no manual package updates are needed.

## Additional Resources

- [References Overview](references/README.md) — index of all reference material
- [Error Patterns Reference](references/error-patterns-reference.md) — full catalog of error patterns by category
- [Classification Categories](references/classification-categories.md) — detailed category definitions with sub-patterns, signals, fixes, and risk notes

## Repro Command Behavior

By default this skill uses `dbt compile` to reproduce and validate errors. The command can be customized:
- If the user specifies a different command (e.g. `dbt build`, `dbt test --select tag:my_tag`), use that instead
- If a `repro_command.txt` file exists in the project root, use the command from that file

## Step 0: Validate Credentials with dbt debug

**Before doing anything else**, ask the user if they'd like to verify their credentials work on Fusion.

Ask: "Would you like to start by running `dbt debug` to verify your credentials and connection work on Fusion? This catches environment issues early before we dig into migration errors."

### If the user agrees:
Run:
```bash
dbt debug
```

**What to check in the output:**
- **Connection test**: Does it say "Connection test: OK"? If not, credentials need fixing first — this is NOT a migration issue
- **profiles.yml found**: Is it loading the correct profile/target?

Continue reading

Sign up for a free account to view the full skill content

Login / Register
#dbt#analytics-engineering#data#database#designgitdbtdbt-autofixuvx
Migrating Dbt Core To Fusion - AgentArmory Skill — AgentArmory