mlops-industrialization-cn
SKILL.md
MLOps Industrialization π
Convert notebooks to production packages.
Features
1. Package Structure Generator π¦
Create src/ layout:
./scripts/create-package.sh my_package
Creates:
src/my_package/
βββ __init__.py
βββ io/ # I/O operations
βββ domain/ # Pure business logic
βββ application/ # Orchestration
2. Three-Layer Architecture ποΈ
Domain (Pure)
- No I/O, no side effects
- Feature transformations
- Pure functions or immutable objects
I/O (Impure)
- External interactions
- Load data, save models
- Classes for state management
Application
- Wire Domain + I/O
- Training loops, inference
Quick Start
# Create package structure
./scripts/create-package.sh my_ml_package
# Add CLI entrypoint to pyproject.toml:
# [project.scripts]
# train = "my_ml_package.application.train:main"
Key Files
Generated files:
src/my_package/domain/features.py- Feature engineeringsrc/my_package/io/data.py- Data loading/savingsrc/my_package/application/train.py- Training pipeline
Author
Converted from MLOps Coding Course
Changelog
v1.0.0 (2026-02-18)
- Initial OpenClaw conversion
- Added package generator
Weekly Installs
2
First Seen
2 days ago
Installed on
junie1
amp1
cline1
openclaw1
trae1
opencode1