data-quality
Define and enforce data quality from explicit contracts and business invariants across completeness, validity, uniqueness, consistency, freshness, volume, and…
by Dadmin88★ 52 GitHub stars
Install data-quality in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Data Quality
Use when a dataset or pipeline can technically complete while still producing incorrect, incomplete, stale, or misleading data.
Procedure
- Identify the dataset's consumers and decisions so quality rules protect meaningful outcomes rather than generic cleanliness.
- Define required fields, types, domains, units, keys, uniqueness, referential relationships, temporal constraints, freshness, expected volume, and business invariants as applicable.
- Classify checks by severity: reject/quarantine data that cannot be safely consumed, alert on suspicious drift, and record informational anomalies separately.
- Place checks at the earliest boundary that can identify the responsible source while also validating important transformed/aggregate outputs downstream.
- Establish baselines for distributions, volume, null rates, cardinality, lateness, and other signals where static rules cannot capture abnormal behavior.
- Preserve bad records or diagnostic samples safely enough to investigate without allowing them to contaminate trusted outputs.
- Attach owner, source, partition/batch/run, transformation revision, and other lineage context to failures so they can be traced.
- Define response and recovery: source correction, quarantine release, rerun/backfill, downstream invalidation, or consumer notification depending on impact.
- Test quality rules with intentionally bad fixtures and verify pipeline failure/quarantine semantics, not only rule logic.
- Review rules as products, sources, and schemas change so stale checks do not create false confidence.
Decision rules
- A successful job is not evidence that its data is correct.
- Quality rules should protect consumer semantics, not merely formatting preferences.
- Do not silently coerce invalid values into plausible defaults unless that behavior is part of the accepted contract.
- Quality alerts need ownership and recovery action or they become ignored noise.
Quality gate
Data quality is adequate when important consumer invariants are encoded, failures are caught at useful boundaries, invalid data cannot silently enter trusted outputs, diagnostics identify source/run/context, recovery is defined, and injected bad-data tests demonstrate the controls work.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the data-quality skill do?
Define and enforce data quality from explicit contracts and business invariants across completeness, validity, uniqueness, consistency, freshness, volume, and referential behavior.
How do I install the data-quality skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the data-quality skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…