dataops

Guides data pipeline design, validation placement, and DS/MLOps test generation using playbook-derived references.

1.4k|284|Updated Nov 2, 2025
One-click install
npx skills add https://github.com/microsoft/hve-core --skill dataops
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dataops
Source: https://github.com/microsoft/hve-core/tree/main/.github/skills/data-science-engineering/dataops
Command: npx skills add https://github.com/microsoft/hve-core --skill dataops

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Teams building data pipelines and ML test suites often misplace validation logic, conflate data validation with drift detection, or write tests that mock the wrong boundaries. This Skill grounds pipeline design and test generation in the Microsoft CSE Code With Engineering Playbook so tier semantics, validation placement, and testing techniques are applied consistently and attributed accurately.

Core Features & Use Cases

  • Data tiering and validation placement: Applies Bronze, Silver, and Gold tier semantics, places validation at the Bronze-to-Silver boundary, and routes malformed records to a monitored store.
  • DS/MLOps test guidance: Maps five testable operation categories (data loading, transformation, model load/predict, data validation, model testing) to concrete pytest techniques with explicit mocking boundaries.
  • Validation versus drift distinction: Separates validation issues (reroute and repair) from data drift (adapt or retrain) with correct source attribution.
  • Use Case: When reviewing a new ingestion pipeline, use this Skill to confirm validation sits at the Bronze-to-Silver boundary, that Bronze remains a faithful append-only copy for replay, and that transformation logic is extracted from notebooks into testable packages.

Quick Start

Ask the AI to review your data pipeline design and confirm where validation should be placed across the Bronze, Silver, and Gold tiers.

Frequently Asked Questions about dataops

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

FAQPage Schema
Where should data validation be placed in a medallion pipeline?

Data validation belongs at the Bronze-to-Silver boundary, so Silver data satisfies a declared schema and invariants. Validating before Bronze landing is not recommended because Bronze must remain a faithful source copy to support replay for both testing validation logic and recovering from transformation bugs.

How do I test data transformation code with pytest?

Test transformations by pinning a fixed input to a fixed output with one verification per test, using pytest.mark.parametrize for input matrices. Nothing is mocked; the transformation runs for real, which is why transformation logic must be separated from data-access code, typically by extracting it from notebooks into packages.

What is the difference between data validation and data drift?

Data validation catches values that are simply wrong, such as out-of-range data, and triggers rerouting and repair. Data drift reflects genuine change in the world, such as shifting user preferences, and triggers model adaptation or retraining. The distinction comes from the ML Model Production Checklist.

Should ML model unit tests mock everything?

No. ML unit tests deliberately leave some external calls unstubbed, making them closer to narrow integration tests. They check code quality, such as input and output shapes and whether weights change after one training epoch, not model accuracy or performance.

Does this skill execute pipelines or set drift thresholds?

No. It generates code, assertions, and review guidance but does not execute pipelines, transformation engines, or telemetry backends. No upstream source prescribes drift thresholds or alerting policies, so the skill states that gap rather than inventing a number.