What problem does it solve?
This Skill eliminates confusion and errors when constructing and executing dbt CLI commands by standardizing executable selection, selector usage, and common flags so users consistently run, build, test, compile, or show models without unintended side effects.
Core Features & Use Cases
- Executable selection guidance: Helps choose between dbt Core in a venv, dbt Fusion (dbtf or ~/.local/bin/dbt), and dbt Cloud CLI based on the environment.
- Safe command patterns: Recommends using explicit selectors, --quiet with --warn-error-options to catch selector typos, and --select instead of running full projects.
- Common workflows: Covers building (including full-refresh and defer with --state), listing selections for validation, previewing with dbt show and --limit, passing vars, and Fusion static analysis controls.
- Use Case: Run a targeted build for a modified model, preview selection with dbt list, and defer upstream builds to production artifacts to avoid rebuilding costly resources.
Quick Start
Run a focused dbt build for the model my_model using the correct dbt executable and include --quiet with --warn-error-options to catch selector issues.