data-quality-audit
Audit a dataset for the quality problems that silently break analysis — missingness, duplicates, outliers, type and range errors, consistency, and f…
它会碰到什么
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
Data Quality Audit Skill
Bad analysis usually starts with bad data nobody checked. This skill audits a dataset across the dimensions that matter, names the specific issues (and the exact check to confirm each), and prioritises fixes by how much they distort the answer.
Working from a brief
Given a dataset description, sample rows, or a schema, produce the full audit anyway — infer the likely issues for that kind of data and give the concrete check (SQL/pandas-style) to verify each. If given actual data, ground the findings in it. Never just say "check for errors"; specify them.
Required Inputs
Ask for (if not already provided):
- The dataset — schema, a sample, or a description (what each column is, the grain)
- What it'll be used for (the analysis/decision it feeds — focuses the audit)
- Source & freshness (where it comes from, how often it updates)
- Known issues the user already suspects
Output Format
1. Summary
Overall read (🟢 usable / 🟡 fix-first / 🔴 don't trust yet) and the one issue most likely to mislead.
2. Quality scorecard
| Dimension | Check | Finding | Severity |
|---|---|---|---|
| Completeness | nulls / missing per key column | | |
| Uniqueness | duplicate rows / keys | | |
| Validity | type, format, range, allowed values | | |
| Consistency | cross-field & cross-table agreement | | |
| Accuracy | sanity vs known totals / reality | | |
| Timeliness | freshness, gaps in the time series | | |
3. Specific issues
For each real issue: what it is, the check to confirm it (a concrete query/snippet), why it matters for the intended use, and severity.
4. Fix plan (prioritised)
Ordered by impact-on-the-decision: what to fix first, how (drop / impute / dedupe / cast / clamp / re-source), and what to flag rather than fix.
5. Guardrails
2–3 automated checks to add so these issues get caught next time (e.g. a not-null assertion, a row-count delta alarm, an allowed-values test).
Quality Checks
- [ ] Covers all six dimensions, not just missing values
- [ ] Each issue comes with a concrete check to confirm it, not just a label
- [ ] Severity is judged against the intended use of the data
- [ ] Fix plan is prioritised by impact and says fix-vs-flag
- [ ] Recommends guardrails to prevent recurrence
Anti-Patterns
- Only checking for nulls and calling it done
- "Clean your data" with no specific issues or checks
- Treating all issues as equally severe regardless of the decision
- Fixing data silently with no record of what was changed
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
同名技能的其他版本
有 3 个不同仓库或目录里都有叫 data-quality-audit 的技能。它们内容并不相同,别混用:
- mohitagw15856/pm-claude-skills — Audit a dataset for the quality problems that silently break analysis — missingness, dupli
- mohitagw15856/pm-claude-skills — Audit a dataset for the quality problems that silently break analysis — missingness, dupli