Command Palette

Search for a command to run...

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

data-quality-conventions

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

Use when designing data-quality coverage for a new data product or auditing an existing one: choosing dbt tests vs Great Expectations vs Soda, column vs…

testlandот testland★ 18 звёзд на GitHub

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

data-quality-conventions

A reference catalog for how to design data-quality coverage. Pairs with the engine-specific skills (dbt-testing, great-expectations, soda-checks) - those tell you the how of running checks; this tells you which checks and where.

Engine selection

Use this matrix to pick an engine before authoring any checks. Mixing engines is fine in a large platform - the data-quality-gate skill exists precisely to reconcile their outputs.

Use case Preferred engine Why
Repo is a dbt project; assertions live next to models dbt-tests Tests run as part of dbt build, share the project's adapter, and live in the same schema.yml as the column docs.
Python ELT, programmatic suite generation, runtime data connectors Great Expectations First-class Pandas / SQL / Spark batches; suites composable in Python.
YAML-only checks against a SQL warehouse, cross-team observability via Soda Cloud Soda SodaCL is a focused DSL; no Python or dbt required.
Mix of warehouse + non-warehouse sources dbt + GX or Soda + GX Use dbt or Soda for warehouse coverage; GX for non-warehouse (file uploads, Spark jobs, ad-hoc Pandas).
Brand-new project, no preference dbt-tests if you already have dbt; otherwise Soda for YAML simplicity Lowest cognitive overhead.

Anti-pattern: running all three engines on the same dataset for the same checks "for redundancy" - duplicate checks shift the failure cost to humans triaging three CI signals for the same root cause.

Column-level vs table-level coverage

Authoring tip: start at the column level for the keys and required fields, then add table-level invariants. A reasonable starter set for a new data product:

Layer Check Justification
Column (PK) not_null, unique Catches the largest classes of ingestion bugs.
Column (FK) relationships to the referenced table Catches out-of-order loads.
Column (enum) accepted_values for low-cardinality strings Catches new states added upstream without coordination.
Column (numeric) range / between for business-bounded columns Catches arithmetic errors and unit mismatches.
Column (date) not_null on required timestamps Catches dropped fields.
Table row_count > 0 (and an upper bound if known) Catches catastrophic ingestion drop or runaway duplicate.
Table freshness on the load-time timestamp Catches "pipeline didn't run" - the most common silent failure.

For numeric columns, prefer business-bounded ranges (e.g. discount 0 - 100 %) over distribution-bounded ranges (e.g. mean ± 3σ). Statistical ranges drift with seasonality and produce false positives at scale; the shop should treat distribution monitoring as a separate concern from data-quality assertions.

Severity tiering

Three tiers cover most needs:

Tier Behavior on failure Use for
error Block the pipeline / CI Invariants the business depends on (PK uniqueness, FK integrity, required fields).
warn Surface in the report, do not block Distribution shifts, soft constraints, new unfamiliar checks during ramp-up.
info Log only, never alert Coverage telemetry (e.g. "70 % of customer rows had email populated").

In dbt, severity comes from a severity: config block; in GX, from suite-level metadata; in SodaCL, from warn: / fail: blocks for schema and from the alert configuration syntax for other checks. Each engine's specifics are in its SKILL.md.

Anti-pattern: every check at error. A pipeline that blocks on a single distribution drift becomes "the check that always fails" within a quarter; the team eventually disables the gate entirely. Reserve error for invariants the business will actually halt to fix.

Freshness and SLAs

A freshness check is the highest-leverage assertion in most pipelines - it catches the "pipeline didn't run" failure mode that no row-level check can detect (because there are no rows to check).

Conventions:

  • One freshness check per pipeline output table, on the latest load-time / processed-at column.
  • The freshness threshold is 2× the expected cadence. A daily pipeline gets freshness < 2d; an hourly pipeline gets < 2h. This avoids false alarms from a single late run while still catching a stuck pipeline.
  • Fr
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

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

.tessl-plugin/plugin.json

FAQ

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

Use when designing data-quality coverage for a new data product or auditing an existing one: choosing dbt tests vs Great Expectations vs Soda, column vs table-level checks, severity tiers, SLA and freshness conventions, and anti-patterns to avoid.

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

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

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

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

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

Сравнить data-quality-conventions с