validation-quarantine

Validate incoming data against a Zod schema and quality scoring function.

783|62|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/dadbodgeoff/drift --skill validation-quarantine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: validation-quarantine
Source: https://github.com/dadbodgeoff/drift/tree/main/drift%20v1%20depreciated/skills/validation-quarantine
Command: npx skills add https://github.com/dadbodgeoff/drift --skill validation-quarantine

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill addresses the challenge of unreliable external data sources by validating incoming data, scoring its quality, and quarantining suspicious records without halting the data pipeline.

Core Features & Use Cases

  • Schema Validation: Ensures data conforms to a defined structure using Zod schemas.
  • Quality Scoring: Assigns a quality score based on custom domain rules, identifying potentially problematic data.
  • Quarantine Mechanism: Moves data with scores below a threshold to a quarantine area for manual review, preventing pipeline blockage.
  • Batch Processing: Efficiently validates and categorizes large sets of data.
  • Use Case: When processing user-submitted forms, this skill can validate the input against expected formats, score the completeness and relevance of the data, and quarantine entries that seem incomplete or unusual for a human to review later.

Quick Start

Use the validation-quarantine skill to validate a batch of raw articles against the ArticleSchema and scoreArticle function.

Frequently Asked Questions about validation-quarantine

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

FAQPage Schema
How do I validate data against a schema without blocking my pipeline on bad records?

Data validation with Zod schema and custom quality scoring categorizes records into valid, quarantined, and invalid sets. Suspicious records move to a quarantine store for manual review, preventing pipeline blockage while ensuring data conformity.

How does data quarantine work for suspicious records in a TypeScript pipeline?

Data quarantine manages a store for records scoring below a quality threshold. Features include approval, rejection, and auto-rejection of stale items, allowing manual review of suspicious data without halting the ingestion pipeline.

Can I score data quality using custom rules during batch processing?

Quality scoring assigns a score based on custom domain rules during batch processing. This identifies potentially problematic data, moving records with scores below a threshold to quarantine for later review.

What is the best way to handle incomplete user-submitted form data in a pipeline?

Validate input against expected formats using Zod schemas, score completeness and relevance with custom rules, and quarantine entries that seem incomplete or unusual for a human to review later without halting the pipeline.

Does this data validation skill work with TypeScript and Zod schemas?

Yes, the skill uses TypeScript and Zod schemas for schema validation. It ensures incoming data conforms to a defined structure and applies custom quality scoring to categorize records efficiently.

How do I manage quarantined records that need manual approval or rejection?

The quarantine mechanism manages a store for suspicious records with features for approval, rejection, and auto-rejection of stale items. This allows human review of edge cases without blocking the data ingestion pipeline.