Agent Skills: refactor:scikit-learn

Refactor Scikit-learn and machine learning code to improve maintainability, reproducibility, and adherence to best practices. This skill transforms working ML code into production-ready pipelines that prevent data leakage and ensure reproducible results. It addresses preprocessing outside pipelines, missing random_state parameters, improper cross-validation, and custom transformers not following sklearn API conventions. Implements proper Pipeline and ColumnTransformer patterns, systematic hyperparameter tuning, and appropriate evaluation metrics.

ID: snakeo/claude-debug-and-refactor-skills-plugin/refactor:scikit-learn

Install this agent skill to your local

npx skills add snakeo/claude-debug-and-refactor-skills-plugin --skill refactor:scikit-learn

Skill Files

The files that make up refactor:scikit-learn.

Download Skill

More agent skills