affaan-m avatar

Ml Adoption Playbook Skill

Installs
7k
Repo stars
316k
Repo updated
Dec 1, 2026

TL;DR

ml-adoption-playbook is a Claude Code skill providing an end-to-end methodology for adding machine learning models to existing non-ML software projects.

npx skills add https://github.com/affaan-m/ECC --skill ml-adoption-playbook
On this page
  1. What ml-adoption-playbook covers
  2. ml-adoption-playbook by the numbers
  3. What does the Ml Adoption Playbook skill produce?
  4. What files ship with ml-adoption-playbook?
  5. Which skills are related to ml-adoption-playbook?
  6. What are the Ml Adoption Playbook skill forks?
  7. Ml Adoption Playbook skill FAQ
  8. More in this repo

What ml-adoption-playbook covers

  • Five-phase methodology for adding machine learning to an existing non-ML codebase
  • Emphasizes heuristic-first checks, data contracts, and leakage prevention before any model code
  • Decouples model inference behind an API boundary with feature-flag rollout and graceful fallbacks

ml-adoption-playbook by the numbers

All-time installs6,991skills.sh registry
Repo stars★ 316kGitHub
Repo last updatedDecember 1, 2026GitHub
Repositoryaffaan-m/ECC ↗

Data as of Dec 4, 2026 (Skillselion catalog sync)

  • 5-phase methodology
  • 4-step iterative agent workflow

What can the ml-adoption-playbook skill do in Claude Code?

Capabilities
ml integration · data contract design · model baselining · inference decoupling
Use cases
data analysis · api development · planning
From the docs

What ml-adoption-playbook says it does

End-to-end methodology for AI agents and software engineers to add machine learning algorithms to existing non-ML codebases.
SKILL.md
Do not tightly couple model inference to core business logic.
SKILL.md
Build a baseline model first (e.g., a simple scikit-learn Logistic Regression or a barebones PyTorch linear layer).
SKILL.md

What does the Ml Adoption Playbook skill produce?

A decoupled baseline model behind an API boundary with a data contract, leakage prevention, feature-flag rollout, and a reproducible training script.

  • Problem-framing and feasibility check
  • Data contract schema
  • Decoupled inference interface

What files ship with ml-adoption-playbook?

SKILL.mdMarkdownGitHub ↗

ML Adoption Playbook

This skill provides an adaptive methodology for implementing machine learning models into existing software engineering projects. It bridges the gap between traditional SWE and MLOps by structuring how ML should be researched, decoupled, trained, and integrated.

When to Activate

  • A user asks to "add ML" or "add an algorithm" to their existing codebase.
  • Planning the integration of a new model (e.g., recommendation, classification, forecasting) into a non-ML application.
  • Structuring a workflow for an agent to build, train, and deploy an ML component adaptively.

Phase 1: Problem Framing & Feasibility

Before writing model code, establish the "why" and "how".

  • Heuristic Check: Ask the user if a simple heuristic (e.g., regex, rule-based sorting) could solve the problem faster. If yes, start there.
  • Metric Definition: Define what business metric the ML model is trying to improve (e.g., click-through rate, reduced latency).
  • Mistake Budget: Define what a "bad" prediction looks like and how the system should handle it.

Phase 2: Data Readiness

ML is useless without clean, accessible data.

  • Audit Data Sources: Identify where the training data lives. Is it a live database, a static CSV, or an API?
  • Data Contract: Establish a schema for the input data. What features are required? What happens if a feature is missing?
  • Leakage Prevention: Ensure the user's proposed data split does not accidentally leak future information into the training set (e.g., chronological splitting for time-series data).

Phase 3: Architectural Integration & Decoupling

Do not tightly couple model inference to core business logic.

  • API Boundary: Suggest placing the model behind an API endpoint (e.g., using fastapi-patterns or django-patterns) or a dedicated service class.
  • Fallback Mechanisms: Design a default state. If the model takes too long to respond or throws an error, the system must gracefully fall back to a hardcoded rule.
  • Feature Flags: Wrap the new ML inference call in a feature flag so it can be rolled out (or rolled back) safely.

Phase 4: Model Implementation & Training

Structure the code for reproducibility and iteration.

  • Start Simple: Build a baseline model first (e.g., a simple scikit-learn Logistic Regression or a barebones PyTorch linear layer).
  • Reproducibility: Apply pytorch-patterns or similar best practices: fix random seeds, make code device-agnostic, and explicitly document tensor/array shapes.
  • Automated Evidence: Require tests for the data transforms and inference schema. Do not accept a model without an evaluation script comparing it against the baseline.

Phase 5: Handoff to MLOps

Once the baseline model is integrated, shift focus to continuous operations.

  • Refer to mle-workflow: Guide the user toward setting up experiment tracking, model registries, and drift detection.
  • CI/CD: Add the model evaluation step to the existing CI pipeline to ensure future commits do not degrade model performance.

Iterative Agent Workflow

When assisting a user via this playbook, agents should:

  1. Ask clarifying questions to complete Phase 1 before proposing architectures.
  2. Draft a data contract in Phase 2 for user approval.
  3. Write the decoupling interface (API/Service) in Phase 3 before writing the training loop.
  4. Deliver a reproducible script in Phase 4 that trains the model and saves the artifact.

Which skills are related to ml-adoption-playbook?

What are the Ml Adoption Playbook skill forks?

Ml Adoption Playbook has 1 known copy in the catalog totaling 954 installs. They canonicalize to this original listing.

Ml Adoption Playbook skill FAQ

Who is the Ml Adoption Playbook skill for?

Structuring how to research, decouple, train, and integrate a first ML model into a non-ML application.

When should I use ml-adoption-playbook?

A user asks to add ML or an algorithm to their existing codebase, or to plan integrating a recommendation, classification, or forecasting model.

Should I always start with a model?

No, first check whether a simple heuristic like a rule-based approach could solve the problem faster, and start there if it can.

How should inference be integrated?

Do not tightly couple inference to core business logic; place the model behind an API endpoint or service class with a fallback and feature flag.

Add a ml-adoption-playbook badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Get the embed code
Data Science & MLllmresearchautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.