跳到正文
cccskills
免费在 GitHub 公开

data-quality-audit

Comprehensive data quality assessment against business rules, schema constraints, and freshness expectations. Activate when validating data pipeline outputs before production use, auditing a dataset against defined business rules, or producing a quality scorecard for a data asset.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(10)

  • SKILL.md2.7 KB
  • assets/audit_report_template.html5.8 KB
  • assets/quality_rubric.md2.0 KB
  • references/business_rule_patterns.md3.9 KB
  • references/quality_dimensions.md4.2 KB
  • scripts/duplicate_finder.py3.6 KB
  • scripts/freshness_check.py3.3 KB
  • scripts/null_counter.py3.1 KB
  • scripts/referential_integrity.py2.8 KB
  • scripts/value_range_validator.py3.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

When to use

  • A data pipeline has just loaded new data and needs validation before downstream reports consume it
  • A stakeholder has flagged data quality concerns (wrong totals, unexpected nulls, stale data)
  • You need to produce a formal data quality scorecard for a data asset as part of a data governance process
  • You are onboarding a new data source and need to understand its quality profile before building on it

Process

  1. Null and completeness audit — run scripts/null_counter.py for a column-by-column null profile. Flag columns above acceptable thresholds for the business context.
  2. Duplicate detection — run scripts/duplicate_finder.py to identify full-row and key-level duplicates. Determine if duplicates are intentional (versioning) or errors (pipeline fan-out).
  3. Referential integrity check — run scripts/referential_integrity.py to validate that foreign key values in child tables exist in parent tables. Report orphan rate per relationship.
  4. Value range validation — run scripts/value_range_validator.py with business rules defined in references/business_rule_patterns.md. Flag values outside acceptable ranges.
  5. Freshness check — run scripts/freshness_check.py to verify the dataset is up to date — compare the latest record timestamp against the expected lag for this pipeline.
  6. Score and classify findings — map each finding to a quality dimension using references/quality_dimensions.md. Assign severity (CRITICAL / HIGH / MEDIUM / LOW).
  7. Produce deliverables — fill assets/audit_report_template.html for a shareable report; fill assets/quality_rubric.md for a concise scorecard.

Inputs the skill needs

  • Required: dataset (CSV / Parquet / database table reference)
  • Required: schema relationships — which columns are primary keys, which are foreign keys to which tables
  • Required: business rules — acceptable value ranges, expected value sets, freshness SLA
  • Optional: acceptable error rates — at what threshold does a failure become CRITICAL vs. HIGH
  • Optional: pipeline schedule — to assess freshness relative to expected update frequency

Output

  • assets/audit_report_template.html (filled) — full quality report, shareable with stakeholders
  • assets/quality_rubric.md (filled) — one-page quality scorecard with dimension scores
  • Script console output — per-check pass/fail counts for each validation script

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Rigorous A/B test statistical analysis. Use when analyzing experiment results, calculating statistical significance, checking for sample ratio mismatch, or validating test design before launch.

中文简介正在准备中。当前显示原文说明。

nimrodfisher/data-analytics-skills4802026年9月25日 更新

Track and document analytical assumptions and decisions. Use when making analytical choices, documenting trade-offs, ensuring transparency, or creating audit trails for analytical work.

中文简介正在准备中。当前显示原文说明。

nimrodfisher/data-analytics-skills4802026年9月25日 更新

Structured, reproducible analysis documentation. Use when documenting analysis findings, creating analysis notebooks, ensuring reproducibility, or building analysis archives for future reference.

中文简介正在准备中。当前显示原文说明。

nimrodfisher/data-analytics-skills4802026年9月25日 更新

Structure analysis approach before starting work. Use when receiving new analysis requests, breaking down complex questions into steps, or planning iterative analysis workflows.

中文简介正在准备中。当前显示原文说明。

nimrodfisher/data-analytics-skills4802026年9月25日 更新

Pre-delivery quality assurance for analysis work. Use when reviewing analysis before sharing with stakeholders, checking for completeness, validating assumptions, or ensuring clarity of recommendations.

中文简介正在准备中。当前显示原文说明。

nimrodfisher/data-analytics-skills4802026年9月25日 更新

Post-analysis learning and process improvement. Use when completing major analysis projects, documenting lessons learned, or improving team analytical practices.

中文简介正在准备中。当前显示原文说明。

nimrodfisher/data-analytics-skills4802026年9月25日 更新

查看 nimrodfisher 的全部技能

报告此技能的问题