ml-system-design

Design production ML systems to prevent training-serving skew and data leakage.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/sunbluesome/dotfiles --skill ml-system-design
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ml-system-design
Source: https://github.com/sunbluesome/dotfiles/tree/main/.claude/ds/skills/ml-system-design
Command: npx skills add https://github.com/sunbluesome/dotfiles --skill ml-system-design

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Designing robust, production-ready ML systems that prevent training-serving skew, data leakage, and reproducibility issues across teams.

Core Features & Use Cases

  • Guidance on architecture patterns (FTI pipeline, data contract first, parity between training and inference).
  • Best practices for feature stores, monitoring, model versioning, and reproducibility.
  • Use cases include designing end-to-end ML pipelines, architecture reviews, and anti-pattern reviews for ML systems.

Quick Start

Outline a production ML system design for a real-time inference service using FTI pipelines and a feature store.

Frequently Asked Questions about ml-system-design

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

FAQPage Schema
How do I prevent training-serving skew in production ML pipelines?

Prevent training-serving skew by enforcing data contracts and maintaining strict parity between training and inference pipelines. Separating feature, training, and inference pipelines ensures consistent data transformations across both environments.

What is the FTI pipeline architecture pattern for ML system design?

The FTI pipeline architecture pattern separates feature, training, and inference pipelines into distinct components. This separation enforces reproducibility by design and maintains clear boundaries for monitoring data drift across ML systems.

How do I design a real-time inference service using a feature store?

Design a real-time inference service by integrating a feature store to serve pre-computed features consistently. Apply FTI pipelines to separate feature generation from training and inference, preventing data leakage during live predictions.

When do I need a feature store for my ML architecture?

You need a feature store when managing feature parity between training and serving environments. It centralizes feature definitions, prevents training-serving skew, and provides version control for reproducibility across ML teams.

What are common anti-patterns in end-to-end ML pipeline design?

Common ML pipeline anti-patterns include coupling training and inference code, lacking data contracts, and ignoring reproducibility gaps. Architecture reviews help identify these issues by enforcing strict separation and monitoring for drift.

Does this ML system design approach work for batch processing pipelines?

The ML system design approach applies to both batch and real-time pipelines by enforcing data contracts and pipeline separation. Architecture patterns like FTI ensure reproducibility and prevent data leakage regardless of the processing mode.