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★ 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
annotateorfix_columnswithdry_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).annotatewrites only files insidepath. In a migration project,fix_columnswrites the dbt projects in scope (those underpath, or all withestate: true): show the user which projects its diff touches, and get approval for all of them, before writing. Passselect(globs on the model path relative to the migration root) to limit it. Withrule_ids,annotatereplaces only those rules' markers. Passallow_dirty: trueonly 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: trueonly 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 |
Установить dbt-quality в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic