跳到正文
Skillpedia
智能体280k · #209

mle-workflow

它能做什么

这个工具可以帮你把 AI 项目打造成稳健可靠的系统。它能确保使用的数据前后一致、模型训练可以重复进行,并且在投入使用前检查模型的质量。

适用场景

  • ✓当你规划一个要投入生产环境的 AI 系统时。
  • ✓当你要把 AI 代码从实验阶段改造成可以反复使用的系统时。
  • ✓当你要检查 AI 系统是否正常工作,并且在出现问题时能够回滚时。

技能链接

https://github.com/affaan-m/ECC/blob/main/pi/core/skills/mle-workflow/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/affaan-m/ECC/blob/main/pi/core/skills/mle-workflow/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“怎样把我在 Notebook 里写的 AI 代码改造成可重复训练和评估的系统?”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会引导你完成一系列步骤,先定义数据和模型应该如何运行(即数据契约)。它还会帮你设置测试,确保模型表现良好,并规划部署和监控方案。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Machine Learning Engineering Workflow

Use this skill to turn model work into a production ML system with clear data contracts, repeatable training, measurable quality gates, deployable artifacts, and operational monitoring.

When to Activate

  • Planning or reviewing a production ML feature, model refresh, ranking system, recommender, classifier, embedding workflow, or forecasting pipeline
  • Converting notebook code into a reusable training, evaluation, batch inference, or online inference pipeline
  • Designing model promotion criteria, offline/online evals, experiment tracking, or rollback paths
  • Debugging failures caused by data drift, label leakage, stale features, artifact mismatch, or inconsistent training and serving logic
  • Adding model monitoring, canary rollout, shadow traffic, or post-deploy quality checks

Scope Calibration

Use only the lanes that fit the system in front of you. This skill is useful for ranking, search, recommendations, classifiers, forecasting, embeddings, LLM workflows, anomaly detection, and batch analytics, but it should not force one architecture onto all of them.

  • Do not assume every model has supervised labels, online serving, a feature store, PyTorch, GPUs, human review, A/B tests, or real-time feedback.
  • Do not add heavyweight MLOps machinery when a data contract, baseline, eval script, and rollback note would make the change reviewable.
  • Do make assumptions explicit when the project lacks labels, delayed outcomes, slice definitions, production traffic, or monitoring ownership.
  • Treat examples as interchangeable scaffolds. Replace metrics, serving mode, data stores, and rollout mechanics with the project-native equivalents.

Related Skills

  • python-patterns and python-testing for Python implementation and pytest coverage
  • pytorch-patterns for deep learning models, data loaders, device handling, and training loops
  • eval-harness and ai-regression-testing for promotion gates and agent-assisted regression checks
  • database-migrations, postgres-patterns, and clickhouse-io for data storage and analytics surfaces
  • deployment-patterns, docker-patterns, and security-review for serving, secrets, containers, and production hardening

Reuse the SWE Surface

Do not treat MLE as separate from software engineering. Most ECC SWE workflows apply directly to ML systems, often with stricter failure modes:

The recommended minimal --with capability:machine-learning install keeps the core agent surface available alongside this skill. For skill-only or agent-limited harnesses, pair skill:mle-workflow with agent:mle-reviewer where the target supports agents.

SWE surface MLE use
product-capability / architecture-decision-records Turn model work into explicit product contracts and record irreversible data, model, and rollout choices
repo-scan / codebase-onboarding / code-tour Find existing training, feature, serving, eval, and monitoring paths before introducing a parallel ML stack
plan / feature-dev Scope model changes as product capabilities with data, eval, serving, and rollback phases
tdd-workflow / python-testing Test feature transforms, split logic, metric calculations, artifact loading, and inference schemas before implementation
code-reviewer / mle-reviewer Review code quality plus ML-specific leakage, reproducibility, promotion, and monitoring risks
build-fix / pr-test-analyzer Diagnose broken CI, flaky evals, missing fixtures, and environment-specific model or dependency failures
quality-gate / test-coverage Require automated evidence for transforms, metrics, inference contracts, promotion gates, and rollback behavior
eval-harness / verification-loop Turn offline metrics, slice checks, latency budgets, and rollback drills into repeatable gates
ai-regression-testing Preserve every production bug as a regression: missing feature, stale label, bad artifact, schema drift, or serving mismatch
api-design / backend-patterns Design prediction APIs, batch jobs, idempotent retraining endpoints, and response envelopes
database-migrations / postgres-patterns / clickhouse-io Version labels, feature snapshots, prediction logs, experiment metrics, and drift analytics
deployment-patterns / docker-patterns Package reproducible training and serving images with health checks, resource limits, and rollback

…

常见问题

使用这个工具需要会编程吗?

你不需要是经验丰富的程序员。这个工具会一步步引导你完成整个过程,即使你不了解具体的编程细节也可以使用。

什么是“数据契约”?

数据契约就像一套规则,确保进出 AI 系统的数据始终符合预期格式,从而避免意外错误。

“可复现”是什么意思?

可复现是指你可以重复 AI 模型的训练过程,并得到完全相同的结果,从而保证结果的一致性和可靠性。

详情

作者的原始描述

Production machine-learning engineering workflow for data contracts, reproducible training, model evaluation, deployment, monitoring, and rollback. Use when building, reviewing, or hardening ML systems beyond one-off notebooks.

repo: affaan-m/ECC

热度

GitHub 星标
280k
排名
#209
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能