Skip to content
Back to skills

Dbt Modeling

ASecurity

Model in dbt across staging -> intermediate -> marts layers, choose materialization (view/table/incremental) by the trade, write correct incremental models (reliable unique key, is_incremental filter, late-data strategy), and keep it DRY with refs/sources/macros.

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 23, 2026
ai-agentssql

Security analysis

A100/100

Scanned September 23, 2026

npx -y skills add mcorbett51090/RavenClaude --skill dbt-modeling --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dbt Modeling?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dbt Modeling
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mcorbett51090-dbt-modeling/badge)](https://www.skillsdirectory.com/skills/mcorbett51090-dbt-modeling)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dbt-modeling
description: "Model in dbt across staging -> intermediate -> marts layers, choose materialization (view/table/incremental) by the trade, write correct incremental models (reliable unique key, is_incremental filter, late-data strategy), and keep it DRY with refs/sources/macros."
---

# dbt Modeling

## Layers
**staging** (1 model/source: rename, cast, light clean) -> **intermediate** (compose, business logic) -> **marts** (business-facing fct/dim). Don't collapse into one giant model.

## Materialization
| Use | Choice |
|---|---|
| cheap / rarely read | **view** |
| fast read, rebuild ok | **table** |
| large append-mostly fact | **incremental** |

## Incremental correctly
Reliable **unique key** + `is_incremental()` window filter + late-arriving-data strategy. A broken incremental silently drops/dups rows.

## DRY
`ref()`/`source()` for lineage; macros for repeated logic. Never copy-paste SQL.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…