dbt

Diagnose and perform analytics engineering tasks for dbt projects.

1|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/pkoka888/server-infra-templates --skill dbt-pkoka888
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dbt
Source: https://github.com/pkoka888/server-infra-templates/tree/main/.kilo/skills/marketplace/dbt
Command: npx skills add https://github.com/pkoka888/server-infra-templates --skill dbt-pkoka888

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides concise, actionable guidance and operational instructions for analytics engineering workflows with dbt so teams can build, test, validate, and troubleshoot data transformations reliably.

Core Features & Use Cases

  • Model authoring & refactoring: guidance on writing SQL transformations, using ref() and source(), and applying DBT best practices.
  • Unit tests & validation: create unit test YAML fixtures, run tests, and interpret run_results.json to prevent regressions.
  • Semantic layer & metrics: author and validate semantic models and metrics for MetricFlow or legacy specs.
  • Operational tooling & troubleshooting: format and run dbt CLI commands, configure dbt MCP servers, fetch dbt docs in LLM-friendly markdown, and diagnose dbt Cloud job failures.
  • Use Case: Add a unit test for a model, validate semantic layer YAML, run a targeted build, and investigate any failing nodes with actionable next steps.

Quick Start

Ask the dbt skill to build and test the model named "orders" and return a summary of run_results.json with any failing nodes and suggested remediation steps.

Frequently Asked Questions about dbt

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

FAQPage Schema
How do I write unit tests for dbt models using YAML fixtures?

To write dbt unit tests, you create YAML test definitions with input fixtures and expected outputs, then run them via the dbt CLI to validate transformations and prevent regressions before deployment.

How do I query the dbt semantic layer to answer metric questions?

Querying the dbt semantic layer involves authoring and validating semantic models and metrics YAML specs for MetricFlow, then executing dbt CLI commands to retrieve metric values directly from your transformed data.

What is the best way to troubleshoot failed dbt Cloud job runs?

Troubleshooting failed dbt Cloud runs requires fetching LLM-friendly dbt docs, parsing run_results.json to identify failing nodes, and applying targeted remediation steps to fix the broken data transformations.

Does analytics engineering with dbt work with both dbt Core and dbt Fusion?

Yes, analytics engineering workflows with dbt apply to dbt Core, dbt Fusion, and dbt Cloud, supporting model authoring, unit testing, semantic layer validation, and CLI command execution across all environments.

How do I format safe dbt CLI commands for targeted model builds?

Format dbt CLI commands by applying safe execution flags, targeting specific models by name, and analyzing run_results.json output to verify successful builds and identify any failing nodes for remediation.

Why do I need to configure a dbt MCP server for my analytics engineering workflow?

Configuring a dbt MCP server enables LLM-friendly access to dbt docs and semantic layer metadata, allowing automated analytics engineering tools to query metrics, validate specs, and diagnose job failures programmatically.