In short.
Modern Python Toolchain is a coding-assistant skill for developers setting up or maintaining Python projects, but its opinionated defaults require project-specific review. Its single SKILL.md covers uv environments and dependencies, Ruff linting and formatting, conditional Pyright use, and selected coding conventions. The examples are actionable documentation; installation, assistant compatibility and command results are untested. Its Python release claims and example build-backend bounds are not independently verified.
Researched and written by an AI model and checked by a second AI model. How it works
Covers the selected folder packages/cli/src/skill/builtin/.bundle/modern-python-toolchain, represented by its complete supplied SKILL.md, plus the associated repository-root LICENSE outside that folder. Other MiMo-Code functionality, assistant integration code, linked websites, tool implementations and downloaded dependencies are outside scope. No commands were executed; installation, skill activation, compatibility, performance and project outcomes remain untested.
The overview
Identity
Modern Python Toolchain is a Markdown instruction skill in XiaomiMiMo/MiMo-Code at packages/cli/src/skill/builtin/.bundle/modern-python-toolchain/SKILL.md. Its metadata names the skill modern-python-toolchain and describes triggers involving Python setup, uv, Ruff, Pyright, and Python tasks without an existing pyproject.toml.
The selected resource supplies instructions and command examples. The surrounding MiMo-Code application's features and behavior are outside this resource's scope.
Assessment
The skill offers a concrete starting routine for projects that already want uv and Ruff. It explains how to create a project, add dependencies, run commands in its environment, configure lint rules and perform checks after edits.
Its fit is weaker where a repository has established tooling or different Python compatibility requirements. Instructions such as always using Ruff and avoiding pip in uv projects are strong conventions; suitability depends on the project. No execution evidence establishes reliability or productivity gains.
Intended users
The intended users are developers working through a coding assistant, particularly when starting a Python repository or configuring its development environment. Beginners receive command examples and a consistent routine; experienced developers receive specific preferences for package management, lint rules, annotations and type-check scope.
Teams with existing project conventions should assess conflicts before adoption. The file does not document migration from an established toolchain or compatibility with particular assistant hosts.
Capabilities
The instructions cover installing uv, installing Python through uv, initializing projects, adding and removing dependencies, synchronizing an environment from a lockfile, running scripts and invoking tools with uvx. They also describe library and packaged-application build configuration and CLI entry points.
Ruff guidance combines linting and formatting, adds UP rules for Python syntax modernization and I rules for import sorting, and avoids rules the document identifies as conflicting with formatting. Pyright guidance is conditional on a project using type checking.
Additional conventions cover modern type annotations, Pydantic v2 configuration and root models, and Typer-based command-line interfaces. Automated enforcement of these instructions is not established.
Using it
Requirements
Following the examples requires a command environment capable of installing and invoking the chosen tools. Installation paths are supplied for macOS/Linux shells, Windows PowerShell and Homebrew. The guide says uv can install Python itself, so its setup does not assume an existing system Python installation.
Ruff is used as a development dependency or through uvx. For Pyright, the document recommends the pyright[nodejs] package extra to supply Node.js. Compatible assistant versions, skill discovery paths, hardware requirements and complete platform support are unspecified.
How it works
The file combines metadata describing when the skill applies with procedural instructions for an assistant. The intended pattern is to recognize a Python setup or tooling task, choose relevant commands, update project configuration and apply the documented checks after changes.
uv manages the project environment and command invocation, Ruff handles linting and formatting, and Pyright supplies optional static type checking. Actual command execution and adherence to these conventions depend on the assistant host and project environment; that integration is not documented in the selected file.
Setup
First establish how the intended assistant loads SKILL.md files; the resource gives no host-specific installation instructions. Its documented Python setup then installs uv, initializes a project, adds development tools and configures pyproject.toml.
The macOS/Linux and Windows installer examples download and immediately execute remote scripts. Homebrew is another listed macOS option. The guide also explains refreshing the shell environment after installation.
Its example Python constraint is requires-python = "==3.12.*". That restricts the project to Python 3.12 releases, so it needs an explicit compatibility decision before reuse. Pyright setup applies when the project chooses type checking.
Example
For a project deliberately targeting Python 3.12, the file shows uv init -p 3.12. It demonstrates adding an application dependency with uv add requests and installing development tools with uv add --dev ruff "pyright[nodejs]".
Its post-edit routine uses uv run ruff check --fix path/to/changed_file.py followed by uv run ruff format path/to/changed_file.py. For projects using type checking, it shows uv run pyright src/ for checking a source tree. These are documented examples; no successful execution or resulting project state is established.
Assessment & evidence
Limitations
The version guidance needs interpretation: the document recommends Python 3.12 as a default while also preferring Python 3.14 for new projects whose dependencies support it. Its claims about ecosystem support and the latest stable release are unverified.
Ruff's documented --fix step modifies files. Checking changed files alone cannot establish correctness across a whole repository; the skill advises broader Pyright checks for changes to shared types or base classes.
The supplied file contains no execution results, benchmarks or demonstrated assistant integration. Installation, dependency resolution, generated changes and end-to-end project behavior are untested.
Why it may fit
Its practical value is a consistent routine connecting dependency management, environment-aware command execution, linting, formatting and optional type checking. Explicit commands and configuration examples make the intended changes inspectable.
The strongest fit is a project whose maintainers already accept these tool choices. For established repositories, the main decision is whether those preferences and Python constraints support the project's requirements; the evidence does not establish a universal advantage.
Alternatives
The document names pip-based tools and Poetry in its discussion of uv, and Flake8, isort and Black in its discussion of Ruff. It also recommends Typer over argparse for command-line entry points. These comparisons are author preferences without supplied migration studies or comparative measurements.
For narrower tool guidance, it links to uv documentation at [https://docs.astral.sh/uv/] and Ruff documentation at [https://docs.astral.sh/ruff/]. The contents of those external sites are not assessed here.
Source evidence
The original resource location is [https://github.com/XiaomiMiMo/MiMo-Code/tree/main/packages/cli/src/skill/builtin/.bundle/modern-python-toolchain]. The supplied SKILL.md is fixed to revision c34db3645db4ffdf7f2b29a788bd76d9ec3be531 at [https://raw.githubusercontent.com/XiaomiMiMo/MiMo-Code/c34db3645db4ffdf7f2b29a788bd76d9ec3be531/packages/cli/src/skill/builtin/.bundle/modern-python-toolchain/SKILL.md].
The associated root licence is available at the same revision: [https://raw.githubusercontent.com/XiaomiMiMo/MiMo-Code/c34db3645db4ffdf7f2b29a788bd76d9ec3be531/LICENSE]. These sources establish the instruction text and licence terms, without establishing runtime behavior.
Access & freshness
Costs
The skill states no service prices, subscription requirements or usage estimates. The MIT notice grants software rights free of charge, but total operating cost is unknown.
Any assistant or model-provider charges, computing costs and time required to adapt an existing project are unspecified. The document's speed descriptions are not accompanied by measurements or cost comparisons.
Rights
The supplied repository-root MIT License permits use, copying, modification, distribution, sublicensing and sale, provided its copyright and permission notices accompany copies or substantial portions. It includes copyright notices for MiMo Code, Xiaomi Corporation dated 2026 and opencode dated 2025.
The licence disclaims warranties and liability. It does not establish the separate licence terms of uv, Ruff, Pyright, Node.js or downloaded project dependencies.
Freshness
The supplied snapshot was captured on 17 November 2026 at 06:23:09 UTC from revision c34db3645db4ffdf7f2b29a788bd76d9ec3be531. This identifies the source version; it does not establish when the skill was last edited or whether the moving main branch now differs.
The text calls Python 3.14 the latest stable release and includes a uv_build requirement example of >=0.11.28,<0.12.0. Current release status and compatibility of those example bounds are unverified.
Suggested next steps
Confirm that the assistant can load this skill and that the project intends to use uv and Ruff. Choose a Python version based on dependency support, review the restrictive requires-python example, and check build-backend bounds before copying configuration.
Evaluate the documented routine in a small project. Use the documented --diff option to inspect Ruff changes, and include broader type checks when shared types change. Preserve the MIT notices when sharing copies or adaptations.
