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★ 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 projectdbt debug check— Validate profiles.yml + connectiondbt deps install— Install packages.yml depsdbt parse run— Parse project (fast syntax/manifest check)
Execution
dbt models run— Run models (--selectto filter, e.g.--select staging+)dbt tests run— Run testsdbt build run— Everything in DAG orderdbt docs generate— catalog.json + manifest.jsondbt _ _— 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 jsonexposes 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), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic