Agent Skillsmohitagw15856/pm-claude-skills › data-quality-checks

data-quality-checks

GitHub

为数据表或管道设计质量检查方案,覆盖完整性、有效性等六大维度。明确每条规则、严重程度及执行工具(如dbt/GE),确保在数据进入看板前拦截异常,防止坏数据污染下游。

exports/openclaw/data-quality-checks/SKILL.md mohitagw15856/pm-claude-skills

Trigger Scenarios

添加数据质量测试 定义DQ检查 在数据进入看板前捕获坏数据 为数据集设置监控

Install

npx skills add mohitagw15856/pm-claude-skills --skill data-quality-checks -g -y
More Options

Non-standard path

npx skills add https://github.com/mohitagw15856/pm-claude-skills/tree/main/exports/openclaw/data-quality-checks -g -y

Use without installing

npx skills use mohitagw15856/pm-claude-skills@data-quality-checks

指定 Agent (Claude Code)

npx skills add mohitagw15856/pm-claude-skills --skill data-quality-checks -a claude-code -g -y

安装 repo 全部 skill

npx skills add mohitagw15856/pm-claude-skills --all -g -y

预览 repo 内 skill

npx skills add mohitagw15856/pm-claude-skills --list

SKILL.md

Frontmatter
{
    "name": "data-quality-checks",
    "homepage": "https:\/\/mohitagw15856.github.io\/pm-claude-skills\/skill\/data-quality-checks.html",
    "metadata": {
        "openclaw": {
            "emoji": "🛠"
        }
    },
    "description": "Design the data quality checks for a table or pipeline across the standard dimensions. Use when asked to add data quality tests, define DQ checks, catch bad data before it hits dashboards, or set up monitoring for a dataset. Produces a checks plan across completeness, validity, uniqueness, freshness, consistency, and accuracy — each with the rule, severity, and where it runs (dbt test \/ Great Expectations \/ SQL assertion)."
}

Data Quality Checks Skill

Bad data quietly poisons dashboards and models until someone notices the number is wrong. The fix is checks that fail loudly before that — across the standard DQ dimensions. This skill designs them for a specific table/pipeline: the exact rule per dimension, its severity (block vs. warn), and where it runs (dbt test, Great Expectations, or a SQL assertion), so quality is enforced, not hoped for.

Required Inputs

Ask for these only if they aren't already provided:

  • The table/pipeline and what it represents (grain, key columns).
  • The columns that matter — keys, required fields, enums, ranges, dates.
  • Freshness expectation — how current the data must be.
  • Tooling — dbt tests, Great Expectations, Soda, or raw SQL assertions.

Output Format

Data Quality Checks: [table]

Checks organised by dimension — each with the rule, severity (🔴 block the pipeline / 🟡 warn), and where it runs:

Dimension Check Rule Severity Implement as
Completeness required fields non-null not_null on [cols] 🔴 dbt test
Uniqueness grain key unique unique on [key] 🔴 dbt test
Validity values in allowed set/range accepted_values / range 🟡 GE / SQL
Freshness data is current max(loaded_at) within SLA 🔴 dbt source freshness
Consistency cross-field / cross-table e.g. totals reconcile, FK exists 🟡 SQL assertion
Accuracy matches a source of truth reconcile vs. system-of-record 🟡 SQL assertion

Notes:

  • Severity discipline — only block on checks that should stop the pipeline (a duplicated grain key, stale critical data). Over-blocking trains people to ignore alerts.
  • Where to check — at ingestion (catch early) vs. in the model vs. post-build; recommend per check.
  • On failure — what happens (halt, quarantine rows, alert + continue) and who's paged.

Quality Checks

  • Covers the core dimensions (completeness, uniqueness, validity, freshness, consistency)
  • Each check has an explicit rule and a severity (block vs. warn)
  • Severity is disciplined — only truly critical checks block the pipeline
  • Freshness has a measurable SLA, not "should be recent"
  • Each check names where it runs and what happens on failure

Anti-Patterns

  • Do not block the pipeline on every check — alert fatigue makes people ignore the real failures; reserve 🔴 for critical
  • Do not only test the happy path — the grain key, nulls, and freshness are where the real breakage hides
  • Do not write checks with no failure action — a test that fails into the void changes nothing
  • Do not skip freshness — stale data that looks fine is the most dangerous kind
  • Do not check only one table in isolation — cross-table consistency (FKs, reconciliations) catches integration bugs

Based On

Data-quality practice — the six DQ dimensions, dbt tests / Great Expectations / source-freshness, severity-tiered enforcement.

Version History

  • 54fad50 Current 2026-07-19 12:15

Same Skill Collection

exports/openclaw/360-feedback-template/SKILL.md
exports/openclaw/401k-plan-decoder/SKILL.md
exports/openclaw/ab-test-planner/SKILL.md
exports/openclaw/ab-test-readout/SKILL.md
exports/openclaw/accessibility-audit/SKILL.md
exports/openclaw/account-plan/SKILL.md
exports/openclaw/acquirer-red-team/SKILL.md
exports/openclaw/ad-copy/SKILL.md
exports/openclaw/aeo-optimizer/SKILL.md
exports/openclaw/agenda-or-cancel/SKILL.md
exports/openclaw/agent-design-review/SKILL.md
exports/openclaw/agent-observability-spec/SKILL.md
exports/openclaw/agent-spec/SKILL.md
exports/openclaw/ai-ethics-review/SKILL.md
exports/openclaw/ai-eval-plan/SKILL.md
exports/openclaw/ai-feature-prd/SKILL.md
exports/openclaw/ai-product-canvas/SKILL.md
exports/openclaw/air-quality/SKILL.md
exports/openclaw/altitude-shifter/SKILL.md
exports/openclaw/ambiguity-resolver/SKILL.md
exports/openclaw/analyst-relations-brief/SKILL.md
exports/openclaw/announcement-card/SKILL.md
exports/openclaw/api-docs-writer/SKILL.md
exports/openclaw/api-test-plan/SKILL.md
exports/openclaw/api-versioning-strategy/SKILL.md
exports/openclaw/apology-letter/SKILL.md
exports/openclaw/architecture-decision-record/SKILL.md
exports/openclaw/architecture-diagram/SKILL.md
exports/openclaw/archive-strategy/SKILL.md
exports/openclaw/assumption-bounty/SKILL.md
exports/openclaw/assumption-mapper/SKILL.md
exports/openclaw/async-update-format/SKILL.md
exports/openclaw/auto-repair-estimate-decoder/SKILL.md
exports/openclaw/autopilot-charter/SKILL.md
exports/openclaw/benefits-decoder/SKILL.md
exports/openclaw/bid-tender-review/SKILL.md
exports/openclaw/board-deck-narrative/SKILL.md
exports/openclaw/board-minutes/SKILL.md
exports/openclaw/board-pre-read/SKILL.md
exports/openclaw/bom-cost-review/SKILL.md
exports/openclaw/bookkeeping-categorization/SKILL.md
exports/openclaw/boolean-search-builder/SKILL.md
exports/openclaw/brag-doc/SKILL.md
exports/openclaw/brainstorming/SKILL.md
exports/openclaw/brief-builder/SKILL.md
exports/openclaw/briefing-note/SKILL.md
exports/openclaw/budget-builder/SKILL.md
exports/openclaw/budget-variance-analysis/SKILL.md
exports/openclaw/bug-diagnosis/SKILL.md
exports/openclaw/bug-report/SKILL.md

Metadata

Files
0
Version
471c606
Hash
c86cde72
Indexed
2026-07-19 12:15

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-30 18:11
浙ICP备14020137号-1 $방문자$