ML Pipeline Patterns

Provide expert patterns for building batch and streaming ML pipelines with Apache Beam, Spark, Flink, and dbt.

Updated Feb 25, 2026
One-click install
npx skills add https://github.com/HermeticOrmus/LibreMLOps-Claude-Code --skill ml-pipeline-patterns
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ML Pipeline Patterns
Source: https://github.com/HermeticOrmus/LibreMLOps-Claude-Code/tree/main/plugins/data-pipelines/skills/ml-pipeline-patterns
Command: npx skills add https://github.com/HermeticOrmus/LibreMLOps-Claude-Code --skill ml-pipeline-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides expert patterns and best practices for constructing reliable and efficient batch and streaming Machine Learning data pipelines.

Core Features & Use Cases

  • Batch & Streaming: Covers patterns for both types of data processing.
  • Frameworks: Integrates with Apache Beam, Spark, Flink, and dbt.
  • Quality & Validation: Includes patterns for data quality checks with Great Expectations.
  • Use Case: You need to build a real-time feature pipeline that aggregates user activity from Kafka, computes rolling window features, and stores them in a feature store. This Skill offers patterns for event processing, windowing, and sink integration.

Quick Start

Use the ML Pipeline Patterns skill to build a batch data pipeline using Apache Beam that normalizes features from a Parquet file.

Frequently Asked Questions about ML Pipeline Patterns

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

FAQPage Schema
How do I build a streaming ML data pipeline for real-time feature engineering?▼

Build streaming ML data pipelines using patterns for event processing, windowing, and sink integration. These patterns process real-time user activity from sources like Kafka, compute rolling window features, and store them in a feature store.

What's the best way to validate data quality in an Apache Beam or Spark ML pipeline?▼

Validate data quality in ML pipelines by integrating Great Expectations validation patterns. This approach ensures robust MLOps workflows by checking data preprocessing outputs and feature generation logic against expected constraints.

Can I use dbt for incremental modeling and feature preprocessing in batch ML pipelines?▼

Use dbt for incremental modeling and feature preprocessing within batch ML pipelines. The provided patterns facilitate robust data transformation, normalization, and ETL processing to prepare features for machine learning models.

Does this approach support both batch processing with Spark and stream processing with Flink?▼

Yes, the patterns support both batch and streaming ML data pipelines. You can build batch processing pipelines with Spark and real-time computation pipelines with Flink, ensuring flexible MLOps data preparation workflows.

How do I normalize features from a Parquet file using batch data pipeline patterns?▼

Normalize features from a Parquet file by applying batch data pipeline patterns with Apache Beam. This process executes ETL and data preprocessing steps to transform raw data into structured, model-ready feature sets.

When should I choose Flink over Apache Beam for real-time computation in MLOps?▼

Choose Flink or Apache Beam for real-time computation based on your specific streaming architecture needs. The patterns address event processing and windowing for both frameworks, enabling robust feature generation tailored to your MLOps environment.