dbt-fixer

Diagnose and correct compilation errors in dbt models within Snowflake environments.

1|1|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/Snowflake-Labs/cortex-code-migrations --skill dbt-fixer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dbt-fixer
Source: https://github.com/Snowflake-Labs/cortex-code-migrations/tree/main/plugin/skills/migration/migrate-objects/actions/migrate-etl-package/dbt-fixer
Command: npx skills add https://github.com/Snowflake-Labs/cortex-code-migrations --skill dbt-fixer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the identification and correction of errors in dbt models, improving data pipeline reliability.

Core Features & Use Cases

  • Error Diagnosis and Fixes: Analyzes dbt model errors, suggests minimal changes, and performs fixes targeting compilation and runtime issues.
  • Iterative Validation: Repeatedly recompiles and tests models until all issues are resolved, reducing manual debugging efforts.
  • Use Case: Data engineers can automatically fix broken dbt models after schema changes, minimizing downtime and manual intervention.

Quick Start

Use the dbt fixer skill to automatically correct and validate your dbt models after schema updates.

Frequently Asked Questions about dbt-fixer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically fix compilation errors in dbt models?

To fix dbt model compilation errors automatically, this Skill diagnoses issues and applies minimal changes to resolve macro and dependency problems. It iteratively recompiles and validates models until all errors are corrected, ensuring seamless pipeline operation.

Why do my dbt models break after schema changes and how can I resolve them?

dbt models break after schema changes due to mismatched dependencies and compilation issues. This Skill resolves them by analyzing the errors, suggesting minimal changes, and iteratively recompiling the models to restore pipeline reliability without manual debugging.

Can I use automated dbt project fixing within Snowflake environments?

Yes, you can use automated dbt project fixing within Snowflake environments. This Skill specifically targets compilation errors, macro issues, and model dependencies in Snowflake, applying iterative validation to ensure your data pipelines operate seamlessly.

What is iterative validation for dbt model errors?

Iterative validation for dbt model errors is the process of repeatedly recompiling and testing models until all issues are resolved. This Skill automates that loop, diagnosing problems and applying fixes to minimize manual debugging efforts and downtime.

How do I resolve dbt macro issues and model dependencies without manual debugging?

To resolve dbt macro issues and model dependencies without manual debugging, this Skill automates the diagnosis and correction of errors. It suggests and performs minimal changes, then repeatedly recompiles and tests models to ensure reliable pipeline operation.