mise
БесплатноБез исполняемых скриптовНе проверенMise configuration patterns, task definitions, hooks, presets, and language-specific setup guidance for dev environment management and project tooling.
от basher83★ 24 звезды на GitHubОб этом скилле
mise
mise is a polyglot tool version manager and task runner. A single mise.toml replaces Makefiles, shell scripts, and language-specific version managers (nvm, pyenv, rustup). It manages tool versions, defines project tasks, and sets environment variables from one configuration file.
Config File Structure
Order sections canonically for consistency:
min_version = "2024.9.5"
[env]
DATABASE_URL = "postgres://localhost/myapp_dev"
[tools]
python = "3.12"
[tasks]
test.run = "pytest"
[settings]
auto_install = true
not_found_auto_install = true
task_run_auto_install = true
Use min_version to enforce a minimum mise version. Recognized top-level sections: [env], [tools], [tasks], [settings], [plugins], [tool_alias], [task_config], [vars].
Tool Version Management
Pin every tool to a concrete semver ("0.15.16"), never "latest" or "lts". Where a repo extends basher83/renovate-config, the mise preset auto-merges tool bumps — but only for semver-pinned entries. "latest" is invisible to renovate's mise manager, so it silently strands a tool at whatever version installed first; a semver pin gets the same currency plus renovate visibility and rollback. ("latest" once froze hk at 1.36.0, three minors past the 1.40.0 fix for its config-cache round-trip bug.) Produce pins by resolve-then-pin: mise use --pin <tool> resolves the current version and writes it exactly, and global MISE_PIN=1 makes that the default; bare mise use <tool> writes the unpinnable "latest" under mise's fuzzy default. Do not phrase this guidance as "resolve live" or "never hardcode" — agents read that as "use latest"; name the --pin mechanism explicitly. The format table below catalogs what mise accepts; this policy governs what to write.
Specify tools in the [tools] section. mise installs and activates them automatically.
[tools]
node = "22" # Major version prefix
python = "3.12.2" # Exact version
go = "latest" # Latest stable
erlang = "lts" # LTS channel
Multiple versions install side-by-side (first is default):
[tools]
python = ["3.11", "3.12"]
Version formats
| Format | Example | Behavior |
|---|---|---|
| Exact | "3.12.2" |
Specific version |
| Prefix | "3.12" |
Latest matching 3.12.x |
| Channel | "latest", "lts" |
Resolved at install time |
| Reference | "ref:main" |
Git ref, compiled from source |
| Subtraction | "sub-1:latest" |
One major behind latest |
Table form with options
[tools]
node = { version = "22", postinstall = "corepack enable" }
rust = { version = "stable", components = "clippy,rustfmt", profile = "default" }
Backend syntax for non-core tools
[tools]
"ubi:astral-sh/ruff" = "0.15.16" # GitHub binary releases
"cargo:cargo-watch" = "8.5.3" # Cargo crate
"npm:prettier" = "3.4.2" # npm package
"pipx:ansible-lint" = "25.1.3" # Python CLI tools via pipx
Custom plugins
Register custom tool plugins in [plugins]:
[plugins]
fnox-env = "https://github.com/jdx/mise-env-fnox"
Task Definitions
Tasks are defined in [tasks] or as executable files in .mise/tasks/.
Inline tasks
tasks.test = "pytest"
tasks.lint = "ruff check ."
tasks.format = "ruff format ."
Table tasks
[tasks.build]
description = "Build the project"
depends = ["lint"]
run = "cargo build --release"
dir = "{{config_root}}/backend"
env = { RUST_LOG = "info" }
sources = ["src/**/*.rs", "Cargo.toml"]
outputs = ["target/release/myapp"]
Task-level options
Pin tool versions per-task, set aliases for shortcuts, or override the shell:
[tasks."lint:shellcheck"]
description = "Lint shell scripts"
run = "shellcheck scripts/*.sh"
tools = { "shellcheck" = "0.11.0" } # Pin tool version for this task
alias = "sc" # Short alias for mise run sc
shell = "bash -c" # Override default shell
Task directory scoping
Use dir to run a task in a specific subdirectory. Essential for monorepos and infrastructure projects where different tasks target different paths:
[tasks.prod-validate]
description = "Validate production Terraform"
dir = "infrastructure/environments/production"
run = "terraform init -backend=false -input=false >/dev/null && terraform validate"
[tasks.prod-plan]
description = "Plan production changes"
dir = "infrastructure/environments/production"
run = "terraform plan"
Relative paths resolve from the config file's directory. Use {{config_root}} for explicit anchoring. When multiple tasks share a base directory, the pattern of environment-scoped tasks (same command, different dir) keeps configs DRY while remaining explicit about scope.
Multi-line scripts
[tasks.setup]
run = [
"pip install -e '.[dev]'",
"pre-commit install"
]
File-based tasks
Pl
Установить mise в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл mise?
Mise configuration patterns, task definitions, hooks, presets, and language-specific setup guidance for dev environment management and project tooling.
Как установить скилл mise?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mise запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub