What problem does it solve?
Running dbt commands safely and predictably is error prone because teams must choose the correct dbt executable, construct precise selectors, and apply consistent flags to avoid running entire projects or missing failures. This Skill captures best practices to reduce selector mistakes, enforce quiet output with targeted warn-error handling, and guide use of defer, state, and other advanced flags.
Core Features & Use Cases
- Selects the appropriate dbt CLI flavor (Core, Fusion, or Cloud) and recommends the executable to invoke.
- Enforces explicit selectors and recommended flags such as --quiet and warn-error-options to minimize noisy output and catch selector typos.
- Provides workflows for listing selections, previewing results, running builds (recommended over test for refreshed models), showing inline queries, passing variables, performing full-refreshes, and deferring to production state artifacts.
- Use case: validate a complex selector in CI by listing matched nodes, then run a targeted dbt build that parses target/run_results.json to detect and report failures.
Quick Start
Ask the assistant to run a dbt build for model my_model using --select my_model with --quiet and warn-error options to prevent selector mistakes and return parsed run_results.json insights.