# dbt models with tests (/data--dbt-model)

/data--dbt-model is a Claude Code skill in the Data section. Generates dbt models in staging and marts layers with tests and column docs, following the conventions your dbt project already uses.

- Web version: https://skills.sgomez.dev/en/s/data--dbt-model
- Section: [Data](https://skills.sgomez.dev/en/data.md)
- Author: Santiago Gómez de la Torre
- License: MIT
- Source: https://github.com/sgomez-dev/claude-skills/blob/main/skills/data/dbt-model.md
- Updated 10 Jul 2026

## How to ask for it

- `/data--dbt-model staging model for the orders table`
- `/data--dbt-model marts layer for monthly revenue`
- `/data--dbt-model add tests and docs to my dbt models`

## Install

macOS · Linux:

```
curl -fsSL https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.sh | bash
```

Windows:

```
irm https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.ps1 | iex
```

Claude Code plugin:

```
/plugin marketplace add sgomez-dev/claude-skills
/plugin install data-skills@claude-skills-collection
```

## Permissions

- Reads: `dbt_project.yml`, `packages.yml`, `models/**`, `macros/**`, `seeds/**`, `**/*.sql`, `**/*.yml`
- Writes: `models/**/*.sql`, `models/**/*.yml`
- Runs: `dbt parse`, `dbt ls`
- Network: No
- Destructive: No

## Author's description

Generate dbt models with staging/marts layers, tests, and documentation

- [How we review this](https://skills.sgomez.dev/en/methodology.md)
