data-quality

Detect and prevent bad data through validation rules, anomaly checks, reconciliation, and pipeline quality gates.

15|3|Updated Jul 9, 2026
One-click install
npx skills add https://github.com/kiurakku/cursor-kit-for-ai --skill data-quality-kiurakku
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: data-quality
Source: https://github.com/kiurakku/cursor-kit-for-ai/tree/main/plugins/data/skills/data-quality
Command: npx skills add https://github.com/kiurakku/cursor-kit-for-ai --skill data-quality-kiurakku

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Data quality failures are silent by default — pipelines stay green while numbers rot, reports disagree with each other, and bad data reaches decision-makers. This Skill makes bad data loud with explicit checks at pipeline boundaries and monitoring that treats data like production traffic. ## Core Features & Use Cases - Six-dimension assessment: Evaluate completeness, uniqueness, validity, consistency, freshness, and accuracy with concrete SQL checks for each dimension. - Source profiling: Profile new or suspect data sources with SQL queries that surface red flags like magic dates, sentinel values, encoding mojibake, and duplicate keys. - Pipeline quality gates: Implement per-record schema validation with quarantine tables, per-batch assertions, and reconciliation against source systems for money and critical counts. - Use Case: When two revenue reports disagree, follow the ordered diagnostic checklist — filters, time semantics, join fan-out, freshness, metric definition drift — to find the root cause and consolidate on one canonical metric definition. ## Quick Start Profile this new dataset for quality issues and propose permanent validation gates with severity levels for our pipeline.

Frequently Asked Questions about data-quality

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check data quality in a SQL pipeline?▼

Check data quality across six dimensions: completeness, uniqueness, validity, consistency, freshness, and accuracy. Use SQL assertions like duplicate key counts, NULL ratios, and orphan foreign key detection, placed as per-batch gates that fail the pipeline run on errors.

How to profile a new data source before trusting it?▼

Profile each important column with row counts, NULL ratios, distinct values, min/max, and medians, then inspect top values for sentinel garbage like 'N/A', 1970-01-01, or -1. Hunt for red flags including future timestamps, encoding mojibake, and test rows in production.

Why do two reports show different revenue numbers?▼

Reports usually disagree due to different filters, time semantics (event vs load time, UTC vs local), join fan-out duplicating rows, different data freshness, or metric definition drift. Fix it by defining one canonical metric in a dbt model or view that both reports read.

What is data reconciliation and when is it needed?▼

Reconciliation compares sums in the warehouse against the source system daily, alerting when deltas exceed tolerance. It is the only check that catches cases where everything is individually valid but collectively wrong, making it essential for money and critical counts.

Should data quality checks block the pipeline or just warn?▼

Use error severity to block downstream consumers for money and key integrity issues, and warn severity for distribution drift that only needs logging and metrics. Invalid records should go to a quarantine table with reason and raw payload rather than being silently dropped.