Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

configure-mise

БесплатноБез исполняемых скриптовНе проверен

mise runtime/tool version manager - mise.toml, backends (pipx/aqua/npm/cargo/go), tasks, env, lockfile. Use when setting up, pinning runtimes/CLI tools, or…

laurigatesот laurigates★ 61 звезда на GitHub

Об этом скилле

/configure:mise

Set up and audit mise as the unified manager for language runtimes, CLI tools, environment variables, and project tasks. mise replaces asdf/nvm/pyenv (runtimes), cargo install/brew install (CLI binaries), and Make/just (tasks) behind one mise.toml.

When to Use This Skill

Use this skill when... Use another approach when...
Setting up mise.toml to pin a project's runtimes and CLI tools Installing one tool ad-hoc — run mise use <tool>@<ver> directly
Picking the right backend for a tool (core / pipx: / aqua: / npm: / cargo: / go:) The project only needs Python/JS libraries — use /configure:package-management (uv/bun)
Migrating from .tool-versions/asdf, .nvmrc, .python-version, Homebrew, or a Makefile Defining build/test recipes only, no version management — use /configure:justfile or /configure:makefile
Adding [tasks], [env], secret loading, or a mise.lock for reproducible installs Running a specific runtime version once — mise exec <tool>@<ver> -- <cmd> (see global rule dependency-management)
Auditing an existing mise setup for pinning, lockfile, trust, and backend correctness Configuring CI runtime install — that consumes the mise.toml this skill produces (jdx/mise-action)

Context

  • Project root: !pwd
  • mise config (project): !find . -maxdepth 2 \( -name 'mise.toml' -o -name '.mise.toml' -o -path './.config/mise.toml' -o -name 'mise.local.toml' \)
  • Lockfile: !find . -maxdepth 1 -name 'mise.lock'
  • Legacy version files: !find . -maxdepth 2 \( -name '.tool-versions' -o -name '.nvmrc' -o -name '.python-version' -o -name '.ruby-version' -o -name '.go-version' \)
  • Things mise can absorb: !find . -maxdepth 1 \( -name 'Makefile' -o -name 'justfile' -o -name 'Brewfile' \)

Parameters

Parse from command arguments:

  • --check-only: Audit and report; make no changes (CI/review mode).
  • --fix: Apply the recommended config without prompting for each step.
  • --global: Target the global config (~/.config/mise/config.toml) instead of a project mise.toml.
  • --migrate <source>: Convert an existing setup into mise.toml. Sources: asdf (.tool-versions), nvm (.nvmrc), pyenv (.python-version), brew (Brewfile CLI tools), makefile (targets → [tasks]).

Backend Selection (the core decision)

mise installs every tool through a backend. Picking the right one mirrors the user's tool-install priority (dependency-management rule): mise first, with the most secure/fastest backend.

Full backend table (syntax and rationale per tool kind): references/backends.md — read it in Step 3.

Rule of thumb: runtime → core; Python CLI → pipx:; everything else → aqua: first, falling back to npm:/cargo:/go:/github: only when the aqua registry lacks the tool. Verify aqua availability at https://github.com/aquaproj/aqua-registry.

Execution

Step 1: Detect current state

From Context, classify the repo:

  • No mise, has legacy version files (.tool-versions, .nvmrc, .python-version) → migration candidate.
  • No mise, has Makefile/Brewfile → task/tool migration candidate.
  • Has mise.toml → audit mode (Step 5).
  • Greenfield → fresh mise.toml.

Detect which runtimes the project already implies: pyproject.toml/.python-version → Python; package.json/.nvmrc → Node; go.mod → Go; Cargo.toml → Rust.

Step 2: Choose config target and naming

Target File Committed?
Project (default) mise.toml at repo root yes — pins the team to the same versions
Project, local overrides mise.local.toml no — add to .gitignore
Global (--global) ~/.config/mise/config.toml n/a (dotfiles)

Prefer the modern mise.toml name over legacy .mise.toml. Use mise.local.toml for machine-specific or secret-bearing overrides and ensure it is gitignored.

Step 3: Build the [tools] block

Pin runtimes the project needs, then add CLI tools by backend (table above). Pin as loosely as safe: python = "3.13" (allow patch upgrades) for libraries; exact pins (opentofu = "1.11.2") for tools where reproducibility matters. Detect latest stable versions with WebSearch/mise ls-remote <tool> before writing.

Minimal example:

[tools]
python = "3.13"
node = "lts"
"pipx:ruff" = "latest"
"pipx:pre-commit" = "latest"
"aqua:jqlang/jq" = "latest"
"aqua:cli/cli" = "latest"   # gh

Step 4: Add [env], [tasks], [settings] as needed

  • [env] — project env vars and PATH; load secrets from a gitignored file with _.file = ".env.local" (never inline secrets). See REFERENCE.md.
  • [tasks] — migrate Makefile/just recipes here so mise run <task> replaces make <target>. Supports depends, alias, multi-line run. See REFERENCE.md for the full grammar.
  • **`[
Полный SKILL.md на GitHub

Установить configure-mise в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Glob
Grep
Read
Write
Edit
Bash(find *)
Bash(mise trust)
Bash(mise install *)
Bash(mise lock *)
Bash(mise doctor *)
Bash(mise ls *)
Bash(mise current *)
Bash(mise ls-remote *)
Bash(mise outdated *)
Bash(git add mise.lock)
AskUserQuestion
TodoWrite
WebSearch
WebFetch

Вложенные файлы

REFERENCE.mdreferences/audit-report.mdreferences/backends.mdreferences/migrations.mdreferences/troubleshooting.md

FAQ

Что делает скилл configure-mise?

mise runtime/tool version manager - mise.toml, backends (pipx/aqua/npm/cargo/go), tasks, env, lockfile. Use when setting up, pinning runtimes/CLI tools, or migrating from asdf/nvm/pyenv/brew/Make.

Как установить скилл configure-mise?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл configure-mise запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить configure-mise с