/clanker-skills:analyze-data-qualityfrom clanker-skills
Assess whether structured data, financial equations, state-machine accounting, query results, dashboards, or analytical evidence are trustworthy enough to use. Use to check data quality, reconcile conflicting sources or metric definitions, adjudicate financial-data findings, or decide whether evidence is safe to cite.
Ships in clanker-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use $design-kpis when the work is to define or redesign a KPI framework, metric definition, guardrail, or target rather than checking whether existing data is trustworthy.
Assess whether a dataset is trustworthy enough for analysis, modeling, dashboards, experiments, or downstream pipelines. Start with the intended use and grain, run the highest-value checks for the data shape, and report concrete evidence, analytical risk, likely causes, and the smallest useful remediation or automated test.
Clarify the quality question and operating context.
Establish what the dataset represents, the intended unit of analysis, the downstream use, whether the user cares about raw ingestion quality, transformed-model quality, or both, and the comparison baseline such as prior weeks, prior schema, or a trusted reference table. Identify expected grain, primary keys or candidate keys, important date columns, timezone assumptions, domain rules, allowed values, and business thresholds. If context is missing, infer cautiously and label assumptions.
Choose an inspectable analysis path.
Preserve an inspectable SQL, query, or script artifact when computation is required. Use a notebook only when a notebook capability is available and it materially improves inspection or iteration. For queryable tables, use the relevant structured-data connector to confirm schema, grain, representative rows, and query rules before heavier checks. Use operational logs for freshness and lineage when those checks matter.
Build a compact profile.
Start with row count, column count, column names and types, candidate keys, duplicate rates on likely identifiers, min/max timestamps for relevant date columns, null rates, distinct counts for likely categorical columns, and basic numeric summaries for measure columns. Confirm grain before interpreting anomalies; many apparent quality problems are mixed-grain data, partial backfills, late-arriving data, or duplicated joins.
Run core quality checks.
Select checks that match the dataset and task. Default to the most relevant checks across completeness, uniqueness, validity, consistency, integrity, timeliness, volume, and shape. Compare rates, not just counts, and segment by time, source, country, platform, model version, or other key dimensions when that helps distinguish real issues from expected variation.
Run shape-specific checks.
Adapt the checks to the data shape:
Run temporal and distribution checks when history exists.
Prioritize temporal diagnostics when the user mentions "after X date", "suddenly", "recently", or "only started appearing". Check first-seen dates, last-seen dates, daily or weekly null-rate trends, duplicate-rate trends, row count trends, category-share shifts, distribution drift, and change points around launches, migrations, incidents, model changes, or backfills.
Investigate analytical risks and likely causes.
Tie each issue to the downstream risk: broken trusted analysis, biased decisions, broken joins, stale dashboards, incorrect experiments, leakage, unreliable model features, or misleading segments. When possible, identify whether the issue is isolated to a source, segment, partition, time window, release, migration, backfill, or upstream pipeline change.
Recommend fixes or automated tests.
Recommend the smallest set of follow-up fixes, monitoring, or automated tests that would materially reduce risk. Suggest automation only when the rule is stable and worth maintaining. Include or save the notebook/query path when code produced the findings.
Use this mode when a dashboard or query compares charges, fees, balances, reimbursements, costs, proceeds, PnL, or margin.
A synthetic database or copied calculation can prove local equation logic. It
cannot prove the production query text, ORM/database behavior, live cohort,
credential role, or deployed data boundary. Record that gap as partial rather
than treating a copied expression as an integration test.
Use this gate before calling a status-transition, fee, balance, reimbursement, cost, or margin discrepancy a verified defect or recommending a repair.
Name the canonical equation and its authority. Distinguish nominal payment, reusable or refundable credit, accrued obligation, and realized cost.
Build this matrix at the exact entity and event grain. It is two tables that share the entity/state row label, so each fits a terminal:
| Entity/state | Transition producer and guard | Persisted amount/status | Writer and idempotency identity |
|---|
| Entity/state | Downstream readers or compensation | Retry/terminal behavior | Evidence |
|---|
Include application and worker code, database triggers, migrations, backfills, replays, retries, recovery jobs, admin/manual actions, and external events. A static caller graph that omits any of these is not complete state proof.
Prove whether writers are additive, alternative, or compensating. Identify every dashboard or query that adds a term missing from the write model.
Test success, failure, ambiguous outcome, duplicate delivery, replacement, trigger-before-worker ordering, partial reimbursement, and reprocessing after terminality when those states are supported.
Reconcile against deployed migration state and runtime rows. Static source can verify an edge or a local equation; it cannot verify the production cohort or defect when a material runtime boundary is inaccessible.
Before recommending a fix, nominate one canonical owner and show that the change cannot double-count, reopen terminal state, or move the discrepancy into another reader. Include removal or preservation of compensating reader logic in the same proof.
If the contract, a material transition producer, runtime boundary, canonical
owner, or non-interference proof is missing, classify the candidate partial.
Do not assign defect severity, recommend code, or use it as a blocker. If the
observed behavior matches an explicit current policy or metric contract, record
it as policy, not a data defect.
'', 'unknown', 'n/a', 0, or -1.is_cancelled = false with a non-null cancelled_at.Assign severity only after the failed data or metric contract, affected cohort,
and concrete downstream impact are verified. Keep policy, partial, and
disproved candidates outside the severity distribution. Missing tests or broad
reader fan-out change assurance and review priority; they do not prove severity.
Do not dump raw profiling output without interpretation. Tie each finding to an analytical risk and likely impact.
Use the artifact the user requested and the runtime can actually produce. A concise chat result is sufficient for a focused reconciliation; use a report, notebook, or dashboard only when it improves the decision or is explicitly requested. The structure below defines the content regardless of surface.
Structure the response with:
For each finding, include:
When code was used, include or save a notebook containing the key SQL and Python checks and make the notebook path easy to find.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub canerkocak/clanker-skills --plugin clanker-skills22 skills in this plugin
/adaptive-code-orchestratorAdaptively choose single-agent work, parallel reconnaissance, dependency waves, or independent review for reliable repository changes. Use for uncertain, cross-cutting, multi-file, long-running, or high-risk coding work where agent coordination may improve evidence or speed, or when the user asks how much agent coordination to use. When explicitly invoked for a small localized edit, stay single-agent and keep the workflow minimal.
/ast-grep-callchain-auditPerform strict AST-based call-chain and code-quality audits with ast-grep. Use for code reviews, refactors, unfamiliar code, dead parameters, duplicate helpers, wrong call-site usage, stale functions, AI-generated slop, or multi-rail and multi-surface changes.
/better-englishLine-edit English prose when the user wants to tighten a draft, cut filler, or remove repetition. Preserve the writer's meaning and voice.
/call-chain-invariantsClassify which discovered product surfaces actually share an invariant before claiming a fix is complete. Use for multi-rail, admin/app, API/UI, lifecycle, explorer, fee, status, or repeated-state bugs where a one-surface patch may leave a reachable sibling broken. Consume the semantic blast-radius graph; do not assume a hard-coded chain or UI matrix applies.
/codebase-searchTrace repository behavior with a read-only Astra low/fast Codex session. Use for implementation searches, call-chain analysis, and source-backed code questions when delegation is permitted. Handle simple known-file lookups directly.
/deepen-promptUse when the user asks to deepen a prompt or task brief while keeping its scope. Rewrite it around expert judgment, primary material, a concrete method, the conditions it must satisfy, and independent checks.