Guides building dbt models, adding tests, and designing dimensional data models with staging/intermediate/marts layers and warehouse-specific configurations.
Ships in dbt. 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.
Read when SKILL.md points to them.
Patterns for dbt data transformation projects.
This skill is organized into the following modules. Read the relevant module(s) based on the task:
| Module | File | Use When |
|---|---|---|
| Data Modeling | references/data-modeling.md | Designing dimensional models, defining grain, facts vs dimensions, SCDs |
| Model Layers | references/model-layers.md | Organizing staging/intermediate/marts, naming conventions, project structure |
| Package Testing | references/testing-packages.md | Integration tests for dbt package development |
dbt run # Run all models
dbt run --select +model_name # Model + upstream
dbt run --select model_name+ # Model + downstream
dbt run --select tag:daily # Models with tag
dbt test # Run all tests
dbt test --select "test_type:unit" # Unit tests only
dbt test --select "test_type:data" # Data tests only
dbt build # Run + test in DAG order
dbt build --select state:modified+ # Modified + downstream (CI)
dbt docs generate # Generate documentation
dbt source freshness # Check source freshness
| Layer | Pattern | Example |
|---|---|---|
| Staging | stg__<source>__<table> | stg__stripe__customers |
| Intermediate | int_<entity>__<transform> | int_customers__enriched |
| Fact | fct_<event> | fct_orders |
| Dimension | dim_<entity> | dim_customers |
| Type | Convention | Examples |
|---|---|---|
| IDs | <entity>_id | customer_id, order_id |
| Timestamps | <event>_at | created_at, updated_at, shipped_at |
| Dates | <event>_date | order_date, birth_date |
| Booleans | is_<state> or has_<thing> | is_active, has_subscription |
| Amounts | <name>_<unit> | amount_usd, quantity_units |
| Counts | <thing>_count | order_count, item_count |
Integration Tests ← Package development only
Unit Tests ← Complex transformation logic
Singular Tests ← Business rules
Generic Tests ← Keys, constraints, patterns
Source Freshness ← Pipeline health
Contracts ← Schema enforcement
| Always | Sometimes | Rarely |
|---|---|---|
| Primary keys (unique + not_null) | Optional FKs | Every column not_null |
| Required foreign keys | Numeric ranges | Columns in contracts |
| Business-critical derived fields | String patterns | Staging columns |
| Status/enum columns | Row count bounds | Intermediate models |
{{ var() }} or {{ env_var() }})What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
dbt-models, data-testing, dimensional-modeling, dbt-commands
/dbt:dbtfrom dbt
npx claudepluginhub bbrewington/software-data-and-ai-tools --plugin dbt2 plugins in one repository ship this exact skill · first indexed Oct 1, 2026
Other plugins' skills for the same job