ml-setup

Automate ML project environment setup with uv or pixi and dev tooling.

Updated Feb 6, 2026
One-click install
npx skills add https://github.com/nishide-dev/claude-code-ml-research --skill ml-setup-nishide-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ml-setup
Source: https://github.com/nishide-dev/claude-code-ml-research/tree/main/skills/ml-setup
Command: npx skills add https://github.com/nishide-dev/claude-code-ml-research --skill ml-setup-nishide-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Setting up a clean, reproducible development environment for ML projects is slow and error-prone, especially when dependency and tooling choices (uv vs pixi) are unclear.

Core Features & Use Cases

  • Project-state detection: Identifies existing project managers and common dependency files (pyproject.toml, pixi.toml, requirements.txt).
  • Tooling installation & dependency setup: Installs and initializes uv or pixi, then adds ML and development dependencies for workflows involving PyTorch Lightning, Hydra, and common testing/linting.
  • Development standards configuration: Generates ruff, mypy, and pytest configuration to standardize code quality and validation for new repositories.

Quick Start

Tell the assistant: "Set up my ML dev environment with uv if possible, configure ruff/mypy/pytest, and generate the standard project folder structure."

Frequently Asked Questions about ml-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up an ML development environment with uv and pre-configured dev tools?

To set up an ML development environment, this Skill installs uv or pixi, adds ML dependencies like PyTorch, and configures ruff, mypy, and pytest. It detects existing configuration files to standardize your repository automatically.

What is the best way to bootstrap a reproducible Python ML project?

The best way to bootstrap a reproducible ML project is using a modern package manager. This Skill chooses between uv and pixi based on your needs, installs PyTorch and Hydra dependencies, and generates standardized testing configurations.

Does this ML environment setup work with existing pyproject.toml or requirements.txt files?

Yes, ML environment setup works with existing files by performing project-state detection. The Skill identifies existing configuration files like pyproject.toml, pixi.toml, or requirements.txt before deciding to initialize or reconfigure your workspace.

How do I configure ruff, mypy, and pytest for a new PyTorch project?

You configure ruff, mypy, and pytest for a PyTorch project by requesting dev tooling setup during initialization. The Skill generates the necessary configuration files to standardize code quality and validation for your new ML experimentation workflow.

Can I use pixi instead of uv for ML dependencies and experimentation workflows?

Yes, you can use pixi instead of uv for ML dependencies. The Skill chooses between uv or pixi based on your specific needs, then installs required PyTorch and Hydra tooling while applying development environment configurations.

Why should I automate pre-commit and linting configuration for ML repositories?

Automating pre-commit and linting configuration for ML repositories prevents code quality issues and ensures reproducibility. This Skill optionally sets up pre-commit hooks and generates ruff and mypy configurations to validate the resulting environment automatically.