Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

dbt

БесплатноБез исполняемых скриптовНе проверен

Use this skill when the user wants to run, test, or debug dbt data transformations — SQL models compiled and executed against a warehouse.

javimoschот javimosch★ 58 звёзд на GitHub

Об этом скилле

dbt Plugin

dbt Core compiles select statements (models) into your warehouse's SQL, executes them in DAG order, and tests the results. It needs a dbt_project.yml (project root) and a profiles.yml connection profile; adapters provide warehouse connectivity.

Commands

Lifecycle

  • dbt project init — Scaffold a new project
  • dbt debug check — Validate profiles.yml + connection
  • dbt deps install — Install packages.yml deps
  • dbt parse run — Parse project (fast syntax/manifest check)

Execution

  • dbt models run — Run models (--select to filter, e.g. --select staging+)
  • dbt tests run — Run tests
  • dbt build run — Everything in DAG order
  • dbt docs generate — catalog.json + manifest.json
  • dbt _ _ — Passthrough (seed, snapshot, compile, ls, show, etc.)

Usage Examples

  • "Run the dbt models in this project"
  • "Test the orders model and its children"
  • "Check if my dbt profile is configured right"
  • "List dbt models as JSON for scripting"

Installation

pipx install dbt-core
pipx inject dbt-core dbt-postgres   # adapter REQUIRED
# alternatives: dbt-duckdb, dbt-snowflake, dbt-bigquery

Examples

# Validate connection first
dbt debug

# Run a slice of the DAG
dbt run --select +fact_orders
dbt test --select source:raw

# Dry-check syntax without running
dbt parse

# Agent-friendly introspection
dbt ls --resource-type model --output json
dbt show --inline "select * from {{ ref('stg_users') }} limit 5"

Key Features

  • Jinja-templated SQL compiles per-warehouse dialect
  • Node selection syntax (+model, model+, tag:x, source:y) for surgical runs
  • Built-in generic tests: unique, not_null, accepted_values, relationships
  • dbt ls --output json exposes the project graph for scripting

Установить dbt в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл dbt?

Use this skill when the user wants to run, test, or debug dbt data transformations — SQL models compiled and executed against a warehouse.

Как установить скилл dbt?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл dbt запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить dbt с