Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

dbt-quality

БесплатноБез исполняемых скриптовНе проверен

Static quality checks for dbt projects with the dbt-quality MCP server and CLI (no dbt runs, no warehouse). Use whenever a user wants to audit, review, or…

sfc-gh-dflippoот sfc-gh-dflippo★ 35 звёзд на GitHub

Об этом скилле

dbt quality

The Rust analyzer uses dbt's Jinja parser and local SQL analysis to produce JSON findings and an HTML report. It can also write SSC-EWI-DBT* markers into dbt files. It does not execute models or connect to a warehouse.

Use the findings to plan project-specific fixes. Check the evidence before changing code, test each fix, and audit again. The same inputs and settings should produce the same findings; an HTML edit alone does not change those results.

The tool decides what a finding is. Report what report, findings, lint or validate returned, and get a rule's explanation and remediation from rules with its code. Do not apply the rules by reading the code yourself, and do not report a finding the tool did not return.

Tools

Prefer the dbt-quality MCP server. It is declared in this plugin's manifest.

MCP tool Use
report Audit path; writes dbt-audit-suggestions.json and dbt-audit-report.html into out_dir (default: a durable per-user folder, <user data dir>/dbt-quality/reports/<hash>/<timestamp>/, never the project and never the temp dir; background: true returns a job_id for report_status); returns their paths, counts and inputs
report_status State of a report job started with background: true: running, done (with the result) or failed; takes job_id
findings Active findings as JSON, filtered by rule_ids, files, min_level
annotate Write markers above each finding. dry_run: true (default) returns the diff only. Writes need dry_run: false
fix_columns Cast model output columns to the types and collations in scai DDL (ddl paths). dry_run: true (default) returns the diff only
rules The rule list, or one rule's full record (long description, remediation, examples) with code
version Server version, the pinned dbt version and commit, and the rule count

The same operations are on the CLI: ${CLAUDE_PLUGIN_ROOT}/bin/dbt-quality audit|lint|validate|rules|annotate|fix-columns <path>. On Windows, use bin\dbt-quality.cmd in an installed plugin or bin/dbt-quality.exe in a release archive, with PowerShell's & call operator; resolve the plugin's absolute path before invoking it. Prefer the MCP tools when shell conventions differ.

Stopping points

  • Before annotate or fix_columns with dry_run: false: show the diff from a dry run and get approval. Both refuse to write when the git tree has uncommitted changes (the two report files do not count). annotate writes only files inside path. In a migration project, fix_columns writes the dbt projects in scope (those under path, or all with estate: true): show the user which projects its diff touches, and get approval for all of them, before writing. Pass select (globs on the model path relative to the migration root) to limit it. With rule_ids, annotate replaces only those rules' markers. Pass allow_dirty: true only when the user explicitly asks; it bypasses the clean tree that makes the change reviewable and reversible.
  • Before writing reports: use the tool's default report directory (durable, per user) or a location the user approved. Confirm a durable destination before retaining or sharing the report. Do not write into the user's repo without asking.
  • Before including model text: explain that sharing the report shares that source. Set include_models: true only when the user approves source inclusion; it requires HTML output.
  • Before reporting a suggestion: spot-check two or three against the actual files.
  • Before setup-tasks: ask before it writes .vscode/tasks.json, unless the user already asked for editor setup.
  • Before changing model code or adding a waiver: get approval. A finding is evidence to review, not permission to rewrite the model.

Routing

User intent Surface
"Check this one model" Validate one file: model-scoped rules
"Populate the Problems panel" / CI gate dbt-quality lint; --strict exits 1 on errors; editor tasks
"Why did this fire?" / "What does this code mean?" rules with the finding's code
"Audit my project" / "assess this estate" The workflow below: report, then the HTML report
"Fix / consolidate these migrated projects" The marker loop below
Полный SKILL.md на GitHub

Установить dbt-quality в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.mdreferences/registry-consolidation.mdreferences/rule-catalog.md

FAQ

Что делает скилл dbt-quality?

Static quality checks for dbt projects with the dbt-quality MCP server and CLI (no dbt runs, no warehouse). Use whenever a user wants to audit, review, or health-check a dbt project or estate, get an HTML quality report, lint or validate a model, understand an SSC-EWI-DBT* finding, mark findings in the files, or check model columns against scai DDL, including SnowConvert-migrated dbt. Not for converting or repointing dbt to Snowflake. Triggers: audit dbt, dbt quality, dbt anti-patterns, review dbt project, validate dbt model, lint dbt, SSC-EWI-DBT, fix-columns.

Как установить скилл dbt-quality?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл dbt-quality запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить dbt-quality с