mle-workflow
Skill này làm gì
Công cụ này giúp biến một dự án AI thành một hệ thống vững chắc và đáng tin cậy. Nó đảm bảo dữ liệu sử dụng nhất quán, việc huấn luyện mô hình có thể lặp lại và chất lượng mô hình được kiểm tra trước khi dùng.
Khi nào nên dùng
- ✓Khi lên kế hoạch cho một hệ thống AI mới để đưa vào thực tế.
- ✓Khi chuyển code AI từ thử nghiệm thành hệ thống có thể dùng lặp đi lặp lại.
- ✓Khi kiểm tra xem một hệ thống AI có hoạt động đúng không và có thể khôi phục nếu gặp vấn đề không.
Liên kết skill
https://github.com/affaan-m/ECC/blob/main/pi/core/skills/mle-workflow/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Làm sao để chuyển code AI của tôi từ notebook thành một hệ thống huấn luyện và đánh giá có thể lặp lại?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ hướng dẫn bạn qua các bước xác định cách dữ liệu và mô hình phải hoạt động (hợp đồng dữ liệu). Nó cũng giúp thiết lập test để đảm bảo mô hình hoạt động tốt, và lên kế hoạch triển khai và giám sát.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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-patternsandpython-testingfor Python implementation and pytest coveragepytorch-patternsfor deep learning models, data loaders, device handling, and training loopseval-harnessandai-regression-testingfor promotion gates and agent-assisted regression checksdatabase-migrations,postgres-patterns, andclickhouse-iofor data storage and analytics surfacesdeployment-patterns,docker-patterns, andsecurity-reviewfor 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 |
…
Câu hỏi thường gặp
Tôi có cần biết lập trình để dùng công cụ này không?
Bạn không cần là lập trình viên có kinh nghiệm. Công cụ được thiết kế để hướng dẫn bạn qua từng bước, ngay cả khi bạn chưa biết rõ các chi tiết kỹ thuật.
'Hợp đồng dữ liệu' (data contract) là gì?
Hợp đồng dữ liệu là các quy tắc đảm bảo dữ liệu đi vào và đi ra khỏi hệ thống AI luôn đúng định dạng mong đợi, tránh các lỗi bất ngờ.
'Reproducible' nghĩa là gì?
Nghĩa là bạn có thể lặp lại quá trình huấn luyện mô hình AI và nhận được đúng kết quả giống hệt, đảm bảo sự nhất quán và đáng tin cậy.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 280k
- Vị trí xếp hạng
- #209
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
accessibility
280kGiúp agent của bạn tạo giao diện mà ai cũng dùng được, đảm bảo website và app hoạt động tốt với người khuyết tật như người mù hoặc khó vận động.
agent-architecture-audit
280kGiúp agent của bạn kiểm tra xem mọi thứ có hoạt động đúng không, đồng thời tìm và sửa các lỗi trong hệ thống AI để chúng chạy như mong đợi.
agent-eval
280kGiúp agent của bạn so sánh các công cụ lập trình AI khác nhau, đo xem công cụ nào nhanh hơn, rẻ hơn và đáng tin cậy hơn cho từng tác vụ.
agent-harness-construction
280kGiúp agent của bạn hiểu rõ hơn cách thực hiện tác vụ, tối ưu các công cụ và chỉ dẫn mà agent dùng để tăng khả năng thành công.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.