skills/mise/SKILL.md
Mise (formerly rtx) polyglot tool version manager, environment variable manager, and task runner. Covers tool version management (install, use, pin across Node/Python/Rust/Go/Java and more), mise.toml task definitions (scripts, dependencies, watch mode, incremental builds), environment variable management (.env integration, per-directory env, redaction), project-level tool pinning, backend system (asdf, npm, pipx, cargo, GitHub releases), and comparison with alternatives (asdf, nvm, pyenv, Makefiles). Use when configuring development tool versions, defining project tasks in mise.toml, managing per-project environment variables, setting up polyglot dev environments, migrating from asdf or nvm, or automating build/test/lint/deploy workflows with mise run.
npx skillsauth add long36708/longmo-skills miseInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Mise is a polyglot development tool manager that handles tool versions, environment variables, and task running in a single CLI. It replaces asdf, nvm, pyenv, direnv, and Makefiles with a unified mise.toml configuration per project.
When to use: Managing multiple language runtimes per project, defining reproducible dev environments, running project tasks with dependencies, replacing scattered .nvmrc/.python-version/.tool-versions files, automating CI pipelines.
When NOT to use: Container-only workflows where all tools live in Docker images, single-language projects already well-served by their native version manager, production runtime management (mise is a dev tool).
Mise resolves tool versions by checking these sources in priority order:
MISE_<TOOL>_VERSION environment variablemise.toml in current directorymise.toml in parent directories (walks up the tree).tool-versions file (asdf compatibility).nvmrc, .python-version, .ruby-version)~/.config/mise/config.toml (global default)| Pattern | Command / Config | Key Points |
| --------------------- | ---------------------------------------- | ------------------------------------------- |
| Install tools | mise install | Reads mise.toml, installs all listed tools |
| Pin tool version | mise use node@22 | Writes to mise.toml in current directory |
| Pin globally | mise use -g node@22 | Writes to ~/.config/mise/config.toml |
| Run a task | mise run build | Runs task defined in mise.toml |
| Run with args | mise run test -- --watch | Passes args after -- to the task |
| Watch mode | mise watch build | Re-runs task when sources change |
| List tasks | mise tasks | Shows all available tasks |
| Set env vars | [env] section in mise.toml | Per-directory, auto-activated on cd |
| Load .env file | _.file = ".env" | Loads dotenv into environment |
| Extend PATH | _.path = ["./bin"] | Prepends directories to PATH |
| List installed | mise ls | Shows all installed tool versions |
| Outdated tools | mise outdated | Shows tools with newer versions |
| Upgrade tools | mise upgrade | Upgrades tools to latest within constraints |
| Trust config | mise trust | Trusts mise.toml in current directory |
| Tool backends | "npm:prettier" / "cargo:cargo-watch" | Install from npm, cargo, pipx, GitHub, etc. |
| Task dependencies | depends = ["lint", "test"] | Prerequisite tasks run first |
| Incremental build | sources + outputs on task | Skips task if outputs newer than sources |
| Exec without activate | mise exec -- node app.js | Runs command with mise-managed tools |
| Diagnostics | mise doctor | Check installation and config health |
| Prune unused | mise prune | Remove tool versions not in any config |
| Generate hook | mise generate git-pre-commit | Generate git pre-commit hook for tasks |
| Env-specific config | .mise.staging.toml | Activated via MISE_ENV=staging |
| Shims for IDEs | mise settings set shims_on_path true | PATH-based shims for IDE compatibility |
| Mistake | Correct Pattern |
| ------------------------------------------------ | -------------------------------------------------------------------- |
| Using mise install node@22 without mise use | mise use node@22 both installs and pins to mise.toml |
| Editing .tool-versions manually with mise | Use mise use to update; mise.toml is preferred over .tool-versions |
| Forgetting mise trust on new project clone | Run mise trust to activate untrusted config files |
| Using depends key for task dependencies | Current key is depends (array), not deps |
| Running mise run without activating mise | Run mise activate in shell profile or use mise exec |
| Putting secrets directly in mise.toml | Use _.file = ".env.local" and gitignore the .env file |
| Expecting env vars without cd-ing into project | Mise activates env on directory change; use mise env to debug |
| Using latest version in shared projects | Pin specific major versions (node = "22") for reproducibility |
| Defining tasks in Makefile alongside mise | Consolidate all tasks in mise.toml for one tool |
| Missing shebang in multi-line task scripts | Add #!/usr/bin/env bash for explicit interpreter |
| Not using sources/outputs for slow tasks | Define source globs for incremental skipping and watch mode |
| Using mise activate in non-interactive scripts | Use mise exec or eval "$(mise env)" in scripts and CI |
Explore agentTask agentTask agentIf the
rustskill is available, delegate Rust toolchain management patterns to it. If thepython-uvskill is available, delegate Python version and virtual environment patterns to it. If thegithub-actionsskill is available, delegate CI workflow patterns to it. If thedockerskill is available, delegate containerized workflow patterns to it. If thepino-loggingskill is available, delegate logging configuration patterns to it. If thesentryskill is available, delegate error monitoring setup patterns to it.
documentation
Use this skill any time a .pptx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates, layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx filename, regardless of what they plan to do with the content afterward. If a .pptx file needs to be opened, created, or touched, use this skill.
development
Portless development server proxy that eliminates port conflicts by routing through localhost subdomains. Use when setting up development servers, managing multiple apps, avoiding port conflicts, or working with monorepos and turborepo projects.
content-media
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.
development
MSW (Mock Service Worker) v2 最佳实践、模式和API指南,用于 JavaScript/TypeScript测试和开发中的API模拟。涵盖处理器 设计、服务器设置、响应构造、测试模式、GraphQL和 v1到v2迁移。基准版本:msw ^2.0.0。 触发条件:msw导入,http.get,http.post,HttpResponse,setupServer, setupWorker,graphql.query,提及"msw"、"mock service worker"、 "api mocking"或"msw v2"。