Mise
全球最大的 Claude Code 技能聚合库 · 收录 3900+ 来自 12+ 来源的技能,提供在线搜索与趋势分析看板 / The world's largest Claude Code skill aggregation hub — 3900+ skills from 12+ sources with online search and trend dashboard
npx -y skills add bg-szy/TOP-SKILLS --skill miseAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Set up, configure, and maintain development environments with `mise` (mise-en-place) — the polyglot tool/version manager, per-directory environment switcher, and task runner. ALWAYS use this skill when the user mentions mise, `mise.toml`, `.mise.toml`, `mise use`, `mise run`, pinning tool/language versions per project, an asdf / nvm / rbenv / pyenv / direnv replacement, a `.tool-versions` file, or wants project-scoped env vars and task automation in one config. Also trigger when scaffolding a dev environment for a repo, migrating from asdf/nvm/direnv/make to mise, adding a tool from a backend (npm, cargo, pipx, aqua, ubi/GitHub), or diagnosing "tool not found" / activation / shim problems. Covers house conventions, a sample-driven config template, workflows, a `mise.toml` best-practice linter, and a full CLI reference. NOT FOR system package management (apt/brew for OS libraries), Nix flakes, or make-style file-timestamp build graphs with complex dependency trees.
SKILL.md
7.6 KB, ~1.7k tokens by cl100k_base, as published. Nobody here has run it
mise Skill
mise (pronounced "meez", short for mise-en-place) is a single static binary that does three jobs
that usually take three tools:
| Job | Tools it replaces | Where it lives in config |
|---|---|---|
| Manage tool/language versions per project | asdf, nvm, rbenv, pyenv | [tools] |
| Switch environment variables per directory | direnv, dotenv | [env] |
| Run project tasks | make, npm scripts, just | [tasks.*] + mise run |
Everything lives in one committed mise.toml. This skill enforces a consistent house style so
every project's mise config reads the same way, and treats mise.toml as source-controlled infra:
pinned, reviewable, reproducible.
Before you touch anything
mise.toml can execute code (via [tasks], env._.source, env._.file). Two habits keep that safe
and predictable:
- Verify mise is present and how it's wired: run
mise --versionandmise doctor.doctortells you whether the shell is activated, whether shims are onPATH, and which config files load. Never assume — the #1 class of mise bugs is "tool installed but not found", and it's almost always an activation/shim issue, not a version issue. - Trust before you run: mise refuses to evaluate a config in an untrusted directory. After
creating or editing a
mise.toml,mise trustin that directory (or add the path totrusted_config_paths).
Per the operating rules here: any executable helper you add to a project ships as TypeScript run
with bun, never Python or npm/npx.
Choose a workflow
Route to the workflow file that matches the request. Each is a self-contained recipe — read it, then follow it.
| The user wants to… | Workflow |
|---|---|
| Stand up mise for a repo (tools + env + tasks from scratch) | Workflows/SetupProject.md |
| Add or pin a tool, pick the right backend | Workflows/AddTool.md |
| Define, wire, and run tasks | Workflows/CreateTasks.md |
| Move an existing repo off asdf / nvm / direnv / make | Workflows/MigrateToMise.md |
| Fix "tool not found" / wrong version / activation / trust | Workflows/Troubleshoot.md |
Reach for Templates.md whenever you need a concrete starting mise.toml — copy the closest sample
and delete what doesn't apply rather than writing one from a blank page.
House style
These conventions are what the linter (Tools/lint.ts) checks. They exist because a mise.toml is a
contract the whole team (and CI, and future-you) reads — surprises in it are expensive.
- Pin real versions in committed config.
node = '24'ornode = '24.3.0', notnode = 'latest'.latestmeans "whatever exists the day someone runsmise install" — it silently breaks reproducibility, which is the entire reason to use mise.latestis fine for a throwawaymise x, never formise.toml. Global~/.config/mise/config.tomlis the one placelts/latestis acceptable, because it's personal, not shared. - Order sections top-down as a reader would want them:
[tools], then[env], then[tasks.*], then[settings]. Tools define the world, env configures it, tasks act in it. - Every task gets a
description.mise tasksis the project's command menu; an undescribed task is a dead entry. One line, imperative ("Build the release binary"). - Secrets are redacted, never inlined. Load them from a git-ignored
.env/.env.jsonviaenv._.file, or mark themredact = true. A literal token in a committedmise.tomlis a leak. - Personal overrides go in
mise.local.toml(git-ignored), not in the committed file. Keep the shared config clean. - Prefer
mise useover hand-editing for tools, because it installs and writes the pin in one reviewable step — but hand-editing is fine and expected for env and tasks.
Best practices worth stating out loud
- Reproducibility is the point. If two teammates run
mise installand get different tool versions, the config has failed at its one job. Pinning is not pedantry; it's the deliverable. - Activation vs shims is the mental model that prevents most pain.
mise activateupdatesPATHat your shell prompt — great interactively, invisible to scripts/IDEs/cron because they never hit a new prompt. Shims (~/.local/share/mise/shims) are real files that work everywhere. When something can't find a tool outside an interactive shell, the fix is shims ormise exec, not reinstalling. SeeReferences/Configuration.mdandWorkflows/Troubleshoot.md. sources/outputsturn tasks into a cheap build cache. A task that declares what it reads and writes is skipped when nothing changed — make-style incrementality without make's footguns.- Let mise own the versions, not the READMEs. Once
mise.tomlpins the toolchain, delete the "install node 24, python 3.12…" prose from onboarding docs and point atmise install. The config is now the single source of truth; two sources drift.
Validate before you call it done
After writing or editing a mise.toml, lint it and prove it loads:
bun <skill-dir>/Tools/lint.ts path/to/mise.toml --strict # house-style + safety check
mise trust path/to/ # trust the dir if new
mise install # resolves + installs everything
mise ls # confirm the versions you expect are active
mise tasks # confirm tasks are listed with descriptions
<skill-dir> is this skill's directory (wherever this SKILL.md lives — never assume a fixed
install path). --strict makes warnings fail the exit code too, so the lint works as a real gate.
A change isn't finished because the file parses — it's finished when mise install succeeds and the
tools/tasks you intended actually show up. Verify, don't assume.
Reference material
Load the reference that matches the depth you need — these hold the exhaustive detail so this file stays scannable.
References/Configuration.md—mise.tomlstructure, config resolution & precedence,[settings], trust, activation vs shims.References/Tools.md— version strings,use/install/ls/upgrade/prune, backends (npm, cargo, pipx, aqua, ubi, go, asdf/vfox).References/Tasks.md— TOML & file tasks,depends,sources/outputs,usageargument specs, parallelism.References/Environments.md—[env],_.file/_.source/_.path, secrets & redaction, templates.References/CliReference.md— every command you reach for, grouped by purpose.
What ships with it: 1 file
3.4 KB alongside SKILL.md
- Templates.md3.4 KB