Data ml pipeline

From ashermahonin/agentic-skills · View interactive version

Data ml pipeline is an AI agent skill from the GitHub repository ashermahonin/agentic-skills. Design or review data, analytics, ML, embedding, vector-search, RAG, and model-lifecycle pipelines. Use when the product depends on sourced data, schemas, transformation, training, evaluation, deployment, lineage, drift detection, or retraining. Produce data contracts, reproducibility requirements,

How to use this skill

Skill file

Data / ML Pipeline

Purpose

Define how data is sourced, validated, transformed, versioned, evaluated, deployed, and monitored. Preserve provenance and reproducibility, and do not release a model without representative evaluation and a drift response.

Product context

  1. Read references/data-ml-stages.md.
  2. Pull architecture context from architecture-review, platform matrix from platform-detector, security posture from security-secrets and security-owasp-llm (if LLM-using).
  3. Classify the work: analytical warehouse, lakehouse, streaming, feature store, training pipeline, model serving, RAG, fine-tune, eval harness, monitoring.
  4. Use Context7 MCP for current docs of: data warehouses (BigQuery, Snowflake, Redshift, ClickHouse), lakehouse (Delta, Iceberg, Hudi), orchestrators (Airflow, Dagster, Prefect), streaming (Kafka, Flink, Materialize), feature stores (Feast, Tecton), ML platforms (MLflow, Weights & Biases, Vertex AI, SageMaker), vector stores (Pinecone, pgvector, Qdrant, Weaviate), and LLM providers.

Design and validation

  1. Data contracts. For each dataset: schema, owner, source, freshness SLA, quality SLA, PII fields, retention, access.
  2. Lineage. Map upstream → transformations → downstream consumers. No orphan datasets.
  3. Quality gates. Per dataset: schema check, row-count anomaly, null-rate threshold, distribution drift detector, referential integrity.
  4. Versioning. Datasets and models versioned with reproducible build. Lock training data + code + hyperparameters per artifact.
  5. Evaluation harness. Per model: train/val/test split policy, evaluation metrics, baseline, fairness audit, robustness probes (adversarial, distribution shift, missing fields).
  6. Deployment. Canary or shadow deploy; rollback path; monitoring on prediction distribution; A/B test plan if user-facing.
  7. Drift monitoring. Input drift, output drift, performance drift; retraining triggers.
  8. LLM-specific. Embedding model pinned; RAG corpus provenance and refresh cadence; eval set per persona; offline + online eval; coordinate with security-owasp-llm for injection and disclosure risks.

Constraints

Specification and evidence

Acceptance checks

Handoff

Hand off to service-implementation for code, infrastructure-as-code for storage/streaming, cve-zero-day-scanner for dependency feeds, security-owasp-llm / -agentic for LLM features, qa-eval for eval gates.

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.