data-quality-auditor
БесплатноЗапускает вложенные скриптыНе проверенAudit data quality across pipelines, warehouses, and stores. Use when designing a DQ program, defining DQ dimensions, building rule-based checks, detecting…
от borghei★ 1 250 звёзд на GitHubОб этом скилле
Data Quality Auditor
End-to-end data quality (DQ) practice: define DQ dimensions, write rule-based checks, detect schema drift, monitor freshness SLAs, respond to DQ incidents, build a maturity-graded program. Tool-agnostic — works whether you use Great Expectations, dbt tests, Soda Core, Monte Carlo, custom SQL, or hand-rolled scripts.
This skill is audit-focused, not pipeline-focused. For pipeline design, ETL, Spark/dbt, see engineering/senior-data-engineer.
Core Capabilities
- Six DQ dimensions — completeness, accuracy, consistency, timeliness/freshness, validity, uniqueness (plus integrity, conformity, reasonableness); at least one check per dimension at production stage.
- DQ check catalog — five categories (volume, freshness, schema, values, distribution) of ~50 specific check patterns applied per dataset.
- Schema drift detection — snapshot baseline schemas and diff added/removed/changed columns, types, and ordinals with severity.
- Freshness SLA monitoring — per-table max-age budgets with alerting-ready output.
- Incident response — severity classification (Sev1-4) and a 7-step playbook (acknowledge → quarantine → triage → contain → fix-forward → notify → post-incident) with recovery patterns.
- Maturity & governance — a five-level maturity model and anti-pattern catalog to grade and improve a DQ program.
When to Use
| Situation | Skill applies |
|---|---|
| Setting up DQ from scratch on a new pipeline | Yes — start with DQ dimensions + check catalog |
| Auditing existing pipelines for missing DQ | Yes — dq_check_runner.py |
| Detecting schema drift in upstream sources | Yes — schema_drift_detector.py |
| Monitoring freshness / SLA on data assets | Yes — freshness_monitor.py |
| Responding to a DQ incident (bad data in prod) | Yes — incident response playbook |
| Designing a DQ governance model | Yes — DQ maturity model |
| Compliance evidence (SOC 2 PI1, GDPR, ISO 27001) | Yes — checks produce auditable artifacts |
| Building data pipelines for the first time | Use engineering/senior-data-engineer first |
Clarify First
Before running the audit, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
- Dataset & target: which table, pipeline, or store to audit (the data the scripts read via
--data). - Which check: DQ rule checks, schema drift, or freshness SLA (selects
dq_check_runner.pyvsschema_drift_detector.pyvsfreshness_monitor.py). - Thresholds & SLAs: per-dimension pass thresholds and the freshness max-age budget (sets the pass/fail line and
--max-age-min).
Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
The six DQ dimensions
Industry-standard taxonomy. Every dataset should have at least one check per dimension when at production stage.
| Dimension | Question | Example check |
|---|---|---|
| Completeness | Are required fields populated? | users.email IS NOT NULL — fail if > 0.1% nulls |
| Accuracy | Do values match reality? | Reconciliation against source-of-truth system; sample-based human review |
| Consistency | Do values agree across systems / time? | users.email in DB matches Salesforce; row count today within 5% of yesterday |
| Timeliness / Freshness | Is data current to expectation? | events_table.max(event_time) is < 1h old; pipeline runs SLA |
| Validity | Do values conform to format / schema / business rules? | Email regex matches; country code in ISO 3166-1; status in known enum |
| Uniqueness | Are entities not duplicated? | users.user_id is unique; no two rows with same (user_id, day) |
Some teams add: Integrity (referential — FKs resolve), Conformity (matches a published standard), Reasonableness (passes basic sanity checks beyond strict validity).
The DQ check catalog
Checks group into five categories applied per dataset — Volume, Freshness, Schema, Values, and Distribution. See the category summary and the full ~50-pattern catalog in references/dq-check-catalog.md.
Tools
| Tool | Purpose | Exit codes |
|---|---|---|
dq_check_runner.py |
Run a checks file (YAML or JSON, top-level checks: list) against CSV/JSON rows; --profile adds per-column null rate, distinct count, min/max |
0 all pass, 1 a check failed/errored, 2 bad input or zero checks loaded |
schema_drift_detector.py |
Diff a current schema against a baseline (added/removed columns, type, nullability, ordinal); --snapshot infers a baseline from data; --fail-on sets the gate severity (default critical) |
0 no drift at/above --fail-on, 1 drift, 2 bad input |
freshness_monitor.py |
Age |
Установить data-quality-auditor в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл data-quality-auditor?
Audit data quality across pipelines, warehouses, and stores. Use when designing a DQ program, defining DQ dimensions, building rule-based checks, detecting schema drift, monitoring freshness SLAs, or responding to a DQ incident.
Как установить скилл data-quality-auditor?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл data-quality-auditor запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic