Skip to content
Back to skills

Data Validation

ASecurity

Add data-quality and schema checks that fail fast on bad data

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 3, 2026
ai-agentsgo

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add black141312/ada --skill data-validation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Data Validation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Data Validation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/black141312-data-validation/badge)](https://www.skillsdirectory.com/skills/black141312-data-validation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: data-validation
description: Add data-quality and schema checks that fail fast on bad data
category: data-ml
---

# Data Validation

Use when data enters a pipeline, a model, or a report and you need to catch schema drift, nulls, and out-of-range values before they cause silent corruption downstream.

1. Define the expected schema: column names, types, nullability, and allowed value ranges or sets.
2. Add structural checks (required columns present, types correct, primary key unique and non-null) at ingestion.
3. Add content checks: null rates within tolerance, numeric ranges, categorical domains, referential integrity, and freshness/row-count bounds.
4. Decide per-check severity — hard-fail and stop the pipeline, or warn and quarantine bad rows to a dead-letter table.
5. Wire checks into the pipeline as a gate before the load/train step, with clear error messages naming the failing column and rule.
6. Track validation results over time so gradual drift (rising null rate, shifting distribution) is visible, not just hard breaks.

## Rules
- Fail fast at the boundary; bad data is cheapest to catch before it's joined, aggregated, or trained on.
- Make failures specific — name the column, the rule, and example offending values, not just "validation failed".
- Separate hard failures from warnings; not every anomaly should halt the whole run.
- Check the unglamorous invariants too: row counts, freshness, and key uniqueness catch the most real incidents.
- Keep expectations versioned next to the data contract so schema changes are reviewed deliberately.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…