<< All versions
Skill v1.0.1
currentAutomated scan100/100jpoutrin/product-forge/dbt
2 files
──Details
PublishedMay 14, 2026 at 10:31 PM
Content Hashsha256:4b3a579b8e1cfdfe...
Git SHA0ebe7aea0874
Bump Typepatch
──Files
Files (1 file, 1.7 KB)
SKILL.md1.7 KBactive
SKILL.md · 90 lines · 1.7 KB
version: "1.0.1" name: dbt description: dbt (data build tool) patterns for data transformation and analytics engineering. Use when building data models, implementing data quality tests, or managing data transformation pipelines. user-invocable: false
dbt Skill
This skill provides dbt patterns for analytics engineering.
Project Structure
dbt_project/├── dbt_project.yml├── models/│ ├── staging/│ │ └── stg_customers.sql│ ├── intermediate/│ │ └── int_customer_orders.sql│ └── marts/│ └── fct_orders.sql├── seeds/├── macros/├── tests/└── snapshots/
Model Patterns
Staging Models
sql
-- models/staging/stg_customers.sqlwith source as (select * from {{ source('raw', 'customers') }}),renamed as (selectid as customer_id,lower(email) as email,created_atfrom source)select * from renamed
Incremental Models
sql
-- models/marts/fct_orders.sql{{config(materialized='incremental',unique_key='order_id')}}select *from {{ ref('stg_orders') }}{% if is_incremental() %}where updated_at > (select max(updated_at) from {{ this }}){% endif %}
Testing
yaml
# models/schema.ymlmodels:- name: stg_customerscolumns:- name: customer_idtests:- unique- not_null- name: emailtests:- unique
Best Practices
- Use staging → intermediate → marts pattern
- Source all raw data with
source() - Reference models with
ref() - Add documentation and tests
- Use incremental models for large datasets