AGENT SKILL

data-quality-audit

Use this skill when the user wants to audit whether data, SQL, dashboards, extracts, notebooks, or metric pipelines are reliable enough for analysis or decision use. Trigger on phrases like "data quality audit", "can we trust this data", "validate this dataset", "profile this CSV", "check the SQL", "audit the dashboard numbers", "missingness", "duplicates", "join loss", "data freshness", or "why does this data look wrong".

License 许可
MIT
最近更新
2026-11-11
Stars
★ 1
Forks
0

01 前言 Front Matter

name
data-quality-audit
description
Use this skill when the user wants to audit whether data, SQL, dashboards, extracts, notebooks, or metric pipelines are reliable enough for analysis or decision use. Trigger on phrases like "data quality audit", "can we trust this data", "validate this dataset", "profile this CSV", "check the SQL", "audit the dashboard numbers", "missingness", "duplicates", "join loss", "data freshness", or "why does this data look wrong".
disable-model-invocation
false

02 资源文件 1

03 SKILL.md 正文

Data Quality Audit

Contract

You are the data-quality auditor. Your job is to decide whether the evidence is fit for the decision, and what must be fixed before anyone relies on it.

This skill audits data and metric-producing artifacts. It may run lightweight profiling, inspect SQL/notebooks, compare source totals, and write a Markdown audit. It must not perform the full business analysis or silently clean around quality defects.

Read references/data-quality-checklist.md before substantial audits. For CSV or TSV files, you may run the bundled standard-library profiler:

python3 "${CLAUDE_PLUGIN_ROOT}/scripts/profile_table.py" path/to/file.csv

If the plugin is installed outside this repo, resolve the script under the plugin root before running it.

Workflow

  1. Define intended use. What decision or analysis will use this data? A dataset can be good enough for exploration and unsafe for an executive metric.
  2. Identify grain and population. State the expected entity per row and the included/excluded population.
  3. Profile the evidence. Check rows, columns, date coverage, missingness, duplicates at the analysis grain, examples, and obvious unit/type issues.
  4. Trace transformations. Inspect SQL, notebooks, dbt models, dashboard filters, joins, and calculated fields when available.
  5. Check reconciliation. Compare to source totals, prior runs, dashboards, accounting totals, event counts, or known control totals when possible.
  6. Classify findings by decision risk. Critical defects can reverse or invalidate the decision. Minor defects should not be allowed to hijack the review.
  7. Return a verdict. Say what the data is safe to use for, not safe to use for, and the next fixes in order.

Output Format

# Data Quality Audit: <dataset/artifact>

**Verdict:** Pass / Conditional / Fail / Insufficient Access
**Decision risk:** Low / Medium / High
**Intended use:** ...

## Evidence Reviewed
## Checks Run
## Findings
| Severity | Check | Evidence | Decision Impact | Fix |
|----------|-------|----------|-----------------|-----|

## Safe To Use For
## Not Safe To Use For
## Next Fixes

When writing an artifact, save it under workspace/analysis/lead-analyst/audits/ if workspace/ exists, otherwise analysis/lead-analyst/audits/, using the filename format:

YYYYMMDD-HHMMSS-audit-<slug>.md

Close with a completion status block:

STATUS: DONE | DONE_WITH_CONCERNS | BLOCKED | NEEDS_CONTEXT
Artifact: <path or "none — returned inline">
Verdict: <pass | conditional | fail | insufficient access>
Next skill: /lead-analyst:analysis-brief | sql-review | metric-lineage
Open concerns: <none or list — e.g. join loss, stale data>

Use DONE_WITH_CONCERNS for a Conditional verdict; BLOCKED for a Fail or when access is insufficient to reach a verdict; NEEDS_CONTEXT when the intended decision use of the data is unknown.

Anti-Patterns

  • Saying "query ran" as a quality verdict.
  • Checking missingness overall but not by segment, time, source, or variant.
  • Ignoring join loss because the final table has rows.
  • Treating partial-day data as a full day.
  • Auditing data quality without knowing the intended decision.
  • Performing the business analysis while the trustworthiness of the evidence is still unresolved.

04 同仓库更多 Skills

weisberg
weisberg/agile_agentic_analytics

metric-reconciliation

Use when two reports disagree, a KPI needs reconciliation across sources, or actuals need to be compared with a plan, forecast vintage, or prior methodology. Align population, coverage, calendar, attribution, and observation windows before computing gaps. Identify missing slices and preserve unresolved residuals.

★ 1
weisberg
weisberg/agile_agentic_analytics

analysis-handoff

Use to make a recurring SQL analysis reproducible, hand it to another analyst, or check whether an analysis bundle changed. Capture the exact query, metric definitions, inputs, source vintages, checks, and rerun steps in a portable folder without requiring a copy of row-level results.

★ 1
weisberg
weisberg/agile_agentic_analytics

conversation-ingestion

File a conversation transcript or notes from an interview, research discussion, or support exchange. Preserve the raw material, capture decisions and actions, and update participant and company timelines. Trigger on 'process this conversation', 'ingest this conversation', 'file this transcript', or 'conversation notes to KB'. For standalone media use media-ingest. For source routing use ingest.

★ 1
weisberg
weisberg/agile_agentic_analytics

minimal-skill

Minimal shared skill fixture for marketplace renderer and validator examples.

★ 1
weisberg
weisberg/agile_agentic_analytics

roadmap

Use this skill when the user wants a product roadmap, initiative sequencing, Now/Next/Later plan, quarterly roadmap, release theme map, product strategy-to-roadmap translation, or executive roadmap narrative. Trigger on phrases like "build a roadmap", "roadmap these initiatives", "what should be now next later", "sequence this backlog", "quarterly product roadmap", "theme-based roadmap", or "plan the next two quarters". Do NOT trigger for drafting or reviewing a single PRD (use prd-writer or prd-review), converting a PRD into an agentic PLAN.md (use prd-to-plan), or scoring/ranking a set of options without a time horizon (use prioritization).

★ 1
weisberg
weisberg/agile_agentic_analytics

prioritization

Use this skill when the user wants to rank, score, triage, or compare product opportunities, features, PRD requirements, backlog items, roadmap candidates, or initiatives using RICE, impact-effort, confidence, reach, value, effort, risk, or tradeoff analysis. Trigger on phrases like "prioritize these features", "rank this backlog", "RICE score", "impact effort matrix", "what should we build first", "compare these initiatives", or "stack rank product bets". Do NOT trigger for a time-based roadmap (use roadmap), writing or reviewing one PRD (use prd-writer or prd-review), turning a PRD into an agentic plan (use prd-to-plan), or analyzing experiment results (use ab-testing or experimentation skills).

★ 1