Command Palette

Search for a command to run...

Назад к скиллам
скилл № 84331

ml-ml-pipeline

Use when the user asks about ML pipelines with Kubeflow Pipelines (kfp v2), TFX, SageMaker Pipelines, Vertex AI Pipelines, ML CI/CD, data and model validation…

БесплатноБез исполняемых скриптов
j4flmaoот j4flmao★ 47 звёзд на GitHub

Установить ml-ml-pipeline в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

ML Pipeline Agent

Purpose

Design production ML pipelines with component decomposition, validation gates, artifact tracking, and CI/CD integration for reliable model training and deployment.

Architecture/Decision Trees

Pipeline Orchestrator Selection

Infrastructure and scale
  ├── Kubernetes available
  │   ├── Google Cloud → Vertex AI Pipelines (managed Kubeflow)
  │   ├── AWS → SageMaker Pipelines (native integration)
  │   ├── Open-source K8s → Kubeflow Pipelines (self-managed)
  │   └── Multi-cloud → Argo Workflows + ML metadata
  ├── No Kubernetes
  │   ├── Python-native → Prefect / Airflow (DAG-based)
  │   ├── Lightweight → Flyte (K8s optional, Python SDK)
  │   └── Simple → GitHub Actions / GitLab CI (for basic pipelines)
  └── Cloud-managed
      ├── GCP → Vertex AI Pipelines (serverless)
      ├── AWS → SageMaker Pipelines (serverless)
      └── Azure → Azure ML Pipelines (serverless)

Component Decomposition

Standard ML Pipeline Components
  ├── Data Ingestion
  │   ├── Extract from source (S3/BQ/Kafka/API)
  │   ├── Partition strategy (date, region)
  │   └── Validate schema
  ├── Data Validation
  │   ├── Schema compliance (TFDV / Great Expectations)
  │   ├── Data quality (null %, distribution shift)
  │   └── Anomaly detection (data drift)
  ├── Data Transformation
  │   ├── Feature engineering
  │   ├── Scaling / encoding / imputation
  │   └── Train/val/test split
  ├── Model Training
  │   ├── Hyperparameter tuning (Optuna/Ray Tune)
  │   ├── Experiment tracking (MLflow)
  │   └── Model checkpointing
  ├── Model Evaluation
  │   ├── Metrics computation
  │   ├── Baseline comparison
  │   ├── Fairness audit
  │   └── Threshold enforcement
  └── Model Deployment
      ├── Push to model registry
      ├── Deploy to staging
      └── Promote to production

Validation Gates

Gate placement and actions
  ├── Gate 1: Data Validation
  │   Check: Schema compliance, data quality, distribution shift
  │   Action on FAIL: Block pipeline, alert data team
  ├── Gate 2: Model Validation
  │   Check: Metric thresholds, fairness constraints, latency budget
  │   Action on FAIL: Block deployment, auto-rollback
  ├── Gate 3: Staging Validation
  │   Check: Shadow traffic metrics, canary health
  │   Action on FAIL: Halt promotion, roll back to previous
  └── Gate 4: Production Monitoring
      Check: Real-time metric degradation, data drift
      Action on FAIL: Auto-rollback, trigger retraining

Agent Protocol

Trigger

User request includes: ML pipeline, Kubeflow, TFX, SageMaker Pipelines, Vertex AI Pipelines, ML CI/CD, model training pipeline, data validation, model validation, pipeline orchestration.

Protocol

  1. Clarify ML task type, data source, training frequency, and deployment target.
  2. Decompose pipeline into components: data ingestion, validation, transformation, training, evaluation, deployment.
  3. Configure data validation gates with schema enforcement and anomaly detection.
  4. Set model validation thresholds for accuracy, fairness, and performance.
  5. Design CI/CD integration with staged promotion and rollback.
  6. Specify artifact tracking and pipeline versioning strategy.

Output

ML pipeline architecture with component design, validation gates, CI/CD integration.

Response Format

## ML Pipeline Configuration
### Components
- Data Ingestion: {source} | {schedule} | {partition strategy}
- Data Validation: {framework} | {schema source} | {anomaly threshold}
- Data Transformation: {framework} | {features in/out}
- Model Training: {framework} | {algorithm} | {hyperparameter source}
- Model Evaluation: {metrics} | {thresholds}
- Model Deployment: {target} | {strategy} | {rollback condition}

### Validation Gates
| Gate | Check | Action on Fail |

### CI/CD Pipeline
- Trigger: {commit / schedule / manual}
- Staging: {dev → staging → prod}
- Promotion Gate: {validation + approval}

No preamble. No postamble. No explanations. No filler. Compress output.

Completion Criteria

  • Pipeline decomposed into discrete components with single responsibility.
  • Data validation gate configured with schema and quality checks.
  • Model validation thresholds set for accuracy and fairness.
  • CI/CD integration defined with staging environments.
  • Artifact tracking configured for all pipeline outputs.
  • Rollback strategy documented.

Workflow

Step 1: Pipeline Decomposition

Break ML workflow into components: Data Ingestion (poll sources, partition), Data Validation (schema, null check, distribution), Data Transformation (feature engineering, scaling), Model Training (algorithm, tuning), Model Evaluation (metrics, baseline, fairness), Model Deployment (registry, staging, production).

# Kubeflow Pipeline definition
from kfp import dsl

@dsl.component(base_image="python:3.10")
def validate_data(input_data: str) -> str:
    """Validate data schema and quality."""
    import tensorflow_data_validation as tfdv
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • references/kubeflow-tfx.md
  • references/ml-cicd.md
  • references/ml-pipeline-advanced.md
  • references/ml-pipeline-fundamentals.md
  • references/pipeline-monitoring.md
  • references/pipeline-orchestration.md

FAQ

Что делает скилл ml-ml-pipeline?

Use when the user asks about ML pipelines with Kubeflow Pipelines (kfp v2), TFX, SageMaker Pipelines, Vertex AI Pipelines, ML CI/CD, data and model validation gates or training pipeline orchestration. Produces pipeline components, validation gates and CI/CD integration. Not for MLOps platform setup (use devops-mlops) or experiment logging (use ml-experiment-tracking).

Как установить скилл ml-ml-pipeline?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ml-ml-pipeline запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ml-ml-pipeline с