convention-data-validation

Validate data inputs, schemas, and datasets with Pydantic and Great Expectations.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/sunLeee/optimization --skill convention-data-validation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convention-data-validation
Source: https://github.com/sunLeee/optimization/tree/main/.claude/skills/reference/convention/convention-data-validation
Command: npx skills add https://github.com/sunLeee/optimization --skill convention-data-validation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Data validation is essential to ensure input integrity, catch errors early, and maintain trustworthy analytics across pipelines.

Core Features & Use Cases

  • Pydantic-based input validation for API and function parameters
  • Great Expectations-driven dataset validation and quality checks
  • Schema validation and data quality metrics to surface issues early
  • Use Case: validating ETL inputs and ensuring downstream consistency in data pipelines

Quick Start

Run a validation pipeline that loads raw data, applies Pydantic models, and executes a GE-based validation suite to produce a quality report.

Frequently Asked Questions about convention-data-validation

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

FAQPage Schema
How do I enforce data quality and schema validation across an analytics pipeline?

Data quality and schema validation are enforced across analytics pipelines by applying Pydantic for input validation and Great Expectations for dataset checks to surface errors early. This solution integrates validation conventions directly into ingestion and processing stages.

What is the best way to validate ETL inputs before downstream processing?

Validating ETL inputs is best handled by applying Pydantic models to API and function parameters to catch type and structure errors early. This ensures downstream consistency by preventing invalid data from entering your processing pipeline.

How do I generate data quality metrics and error handling reports for raw datasets?

Data quality metrics and error handling reports are generated by executing a Great Expectations validation suite on loaded raw data. This process applies schema validation rules and produces a quality report surfacing any dataset issues.

Can I use Pydantic and Great Expectations together for end-to-end data validation?

Yes, Pydantic and Great Expectations can be used together for end-to-end data validation by splitting responsibilities across the pipeline. Pydantic handles initial input validation, while Great Expectations drives the subsequent dataset checks and quality reporting.

Does schema validation catch data structure issues during the data ingestion stage?

Schema validation catches data structure issues during the ingestion stage by enforcing expected formats and types before data reaches processing. This early validation maintains input integrity and prevents bad data from polluting analytics.

What are the limitations of using validation conventions for data quality checks?

Limitations of using validation conventions include the need to explicitly define Pydantic models and Great Expectations suites upfront for every new dataset. Without these predefined schema structures, the pipeline cannot automatically infer or validate data quality metrics.