troubleshooting-dbt-job-errors

Diagnose dbt Cloud job failures using MCP tools, logs, and artifacts.

1|Updated Mar 25, 2025
One-click install
npx skills add https://github.com/ramtinJ95/dotfiles --skill troubleshooting-dbt-job-errors
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: troubleshooting-dbt-job-errors
Source: https://github.com/ramtinJ95/dotfiles/tree/main/arch-config/arch-dotfiles/agents/.agents/skills/troubleshooting-dbt-job-errors
Command: npx skills add https://github.com/ramtinJ95/dotfiles --skill troubleshooting-dbt-job-errors

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides the diagnosis and resolution of dbt Cloud/platform job failures where error messages are ambiguous, helping teams identify the root cause more quickly.

Core Features & Use Cases

  • Structured diagnosis workflow: Gather job run data via MCP tools, classify error types (Infrastructure, Code/Compilation, Data/Test Failure), and outline remediation steps.
  • Guided remediation: Create fix branches, add unit tests, and document findings when root causes are identified or when investigations are inconclusive.
  • Use Case: A post-merge job fails with unclear errors; run this skill to determine whether the issue is infrastructure, code changes, or data, and receive a concrete action plan.

Quick Start

Provide the failing dbt Cloud job run ID and relevant logs to begin the diagnosis process.

Frequently Asked Questions about troubleshooting-dbt-job-errors

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

FAQPage Schema
How do I troubleshoot a dbt Cloud job failure with unclear error messages?

To troubleshoot a dbt Cloud job failure with unclear error messages, use a structured diagnosis workflow that gathers run data via MCP tools, classifies the error type into Infrastructure, Code, or Data/Test, and outlines specific remediation steps.

What is the best way to investigate intermittent dbt job failures post-merge?

The best way to investigate intermittent dbt job failures post-merge is to analyze job logs and artifacts to determine whether the root cause is infrastructure, code changes, or data, then generate a concrete action plan for resolution.

Can I use MCP tools to classify and resolve dbt compilation errors?

Yes, you can use MCP tools to classify dbt compilation errors as Code/Compilation type failures, investigate their root causes, and document or implement fixes including creating fix branches and adding unit tests.

What information do I need to start diagnosing a failed dbt Cloud job run?

To start diagnosing a failed dbt Cloud job run, you need to provide the failing job run ID and relevant logs so the diagnostic workflow can gather data, classify the error type, and investigate the root cause.

How do I document findings when a dbt job root cause investigation is inconclusive?

When a dbt job root cause investigation is inconclusive, you should document findings, create fix branches, and add unit tests to preserve the investigative work and support future troubleshooting efforts.