/major-ai-skills:dbtfrom major-ai-skills
Build dbt models with refs, data tests, and generated documentation for version-controlled warehouse transformations.
Ships in major-ai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
dbt compiles Jinja-SQL models into warehouse DDL/DML, managed via a DAG of ref() / source() edges. Runs materialize views/tables/incremental models; tests and documentation live beside SQL. Agents keep models thin and tested, prefer incremental strategies for large facts, and never hardcode environment-specific database names inside model bodies.
sources.yml -> staging models -> intermediate -> marts
|
dbt compile/run/test
|
warehouse relations + docs
stg_*) before business logic.{{ ref('model') }} and {{ source('src','table') }} - never hardcode prod relations.incremental with a clear unique_key and bounded predicate for large facts.dbt build (run+test) in CI on changed selectors when possible.-- models/marts/fct_orders.sql
{{ config(materialized='incremental', unique_key='order_id', on_schema_change='append_new_columns') }}
select
o.order_id,
o.customer_id,
o.amount,
o.created_at
from {{ ref('stg_orders') }} o
{% if is_incremental() %}
where o.created_at > (select coalesce(max(created_at), '1970-01-01') from {{ this }})
{% endif %}
dbt deps
dbt run --select marts.fct_orders+
dbt test --select fct_orders
dbt build --select state:modified+ # with defer/state artifacts in CI
dbt docs generate && dbt docs serve
| Symptom | Cause | Fix |
|---|---|---|
| Compilation error | bad Jinja/ref | dbt compile; check node name |
| Full-refresh surprise | incremental misconfig | review unique_key / predicates |
| Flaky tests | late-arriving data | warn severity; quarantine models |
| Slow CI | building entire project | select ancestors/descendants only |
dev targets with schemas per developer/PR.dbt-core.@airflow, @prefect, dbt Cloud jobs).@snowflake / @clickhouse / @duckdb - warehouse dialects@great-expectations - deeper data quality beyond dbt tests@airflow - schedule dbt jobsWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alivirgo/major-ai-skills --plugin major-ai-skills412 skills in this plugin
/3d-slicerAutomate 3D Slicer research workflows with MRML, VTK/ITK, DICOM data, and Segment Editor. Use for software workflows, not clinical interpretation./abbreviated-git-statusInspect Git branch, staging, and working-tree changes with short or porcelain status output when a compact repository check is needed./ableton-liveAutomate Ableton Live sessions with Python MIDI Remote Scripts, Max for Live, AbletonOSC, and Link synchronization./act-as-a-personal-tutorExplain a subject step by step, assess prior knowledge, and use short exercises to check understanding before advancing.Other plugins' skills for the same job