mise-conventions
Skill7 starsChanged 4 days agoMITView on GitHub
mise: every dev tool and toolchain version in `mise.toml`, the lockfile, the dev environment, installing tools in CI. TRIGGER when: creating or editing `mise.toml`, `.mise.toml` or `mise.lock`; a `rust-toolchain.toml`, `.python-version`, `.nvmrc`, `.node-version` or `.tool-versions` (they move into `mise.toml`); scaffolding a project; adding a tool or toolchain a contributor or CI must install; a CI step installing one (`setup-node`, `setup-python`, rustup); user asks about mise or pinning dev tools. SKIP when: the app's runtime dependencies (`pyproject.toml`, `Cargo.toml`, `package.json`); the commands contributors run (`task-conventions`).
- Reads credentials
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- leroyguillaume/skillsword for word, first seen Nov 22, 2026
Other versions1 project uses a version of this.
Word for word · 1
- leroyguillaume/skills★ 7100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository54 other files it gives its agents.
- adr-conventionsSkill
- api-conventionsSkill
- architecture-conventionsSkill
- argocd-conventionsSkill
- ci-conventionsSkill
- config-conventionsSkill
- contributing-conventionsSkill
- councilSkill
- cryptography-conventionsSkill
- dependency-update-conventionsSkill
- diagram-conventionsSkill
- docker-conventionsSkill
- documentation-conventionsSkill
- frontend-conventionsSkill
- github-actions-conventionsSkill
- github-issue-conventionsSkill
- github-pr-conventionsSkill
- github-repo-settingsSkill
- gitlab-ci-conventionsSkill
- helm-conventionsSkill
- herdr-core-delegationSkill
- herdr-delegationSkill
- herdr-tui-delegationSkill
- kopf-conventionsSkill
- kubernetes-operator-conventionsSkill
- logging-conventionsSkill
- logo-conventionsSkill
- ollama-conventionsSkill
- openssf-conventionsSkill
- pr-conventionsSkill
- pre-commit-conventionsSkill
- project-metadata-conventionsSkill
- python-async-conventionsSkill
- python-conventionsSkill
- readme-conventionsSkill
- release-script-conventionsSkill
- release-supply-chain-conventionsSkill
- renovate-ci-conventionsSkill
- rest-conventionsSkill
- rust-build-conventionsSkill
- rust-conventionsSkill
- rust-http-conventionsSkill
- security-policy-conventionsSkill
- signal-handling-conventionsSkill
- sql-conventionsSkill
- starlight-conventionsSkill
- systemd-conventionsSkill
- system-user-conventionsSkill
- task-conventionsSkill
- terraform-conventionsSkill
- topic-splittingSkill
- ui-copy-conventionsSkill
- web-layout-conventionsSkill
- yaml-conventionsSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 67
After editing [tools], run mise fmt then mise lock.
- Very specific: line 119
Only non-secret development defaults: a log level, a local URL, _.path for a bin/ of project scripts.
- Very specific: line 145
Add to .pre-commit-config.yaml (pre-commit-conventions):
- Very specific: line 163
Every job that needs a tool installs it with mise: never setup-node, setup-python, a rustup action, setup-task or an apt-get install of a …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
mise conventions
mise.toml says which tools, at which version, toolchains included, and the
development environment. mise install from a fresh clone gives a
contributor and CI the same binaries; mise is the only thing either installs
by hand.
It holds no [tasks]: the commands contributors and CI run live in
Taskfile.yml (task-conventions), so a version bump lands here and nowhere
else, and a command changes there and nowhere else.
mise.toml goes in every repository a contributor builds or checks, as part
of the bootstrap.
mise.toml
At the repository root, named mise.toml (not .mise.toml, not
.tool-versions, which carries neither backends nor settings nor a lock),
and committed.
min_version = "<mise version this file needs>"
[tools]
task = "<latest>"
pre-commit = "<latest>"
helm = "<latest>"
[settings]
lockfile = true
disable_backends = ["asdf", "vfox"]- Exact versions, resolved when written.
"3.54.0", never"3"or"latest": a fuzzy version moves under people's feet and makes the bump invisible in review. Look the version up (mise latest <tool>,gh release view), never from memory. - Registry short names (
task,helm,uv): the registry maps each to a backend that verifies what it downloads (aqua,github:). Write a backend explicitly only for a tool the registry lacks, and thenaqua:orgithub:<owner>/<repo>.ubi:is deprecated: migrate it togithub:. disable_backends = ["asdf", "vfox"]. Those plugins are shell scripts fetched from a third-party repository and run on install; the registry falls back to them for some tools, and this turns the fallback into an error instead of a silent plugin run.min_versionset to the mise release the file was written with, so an older mise fails with a clear message rather than misreading the file.- Every tool a hook, a test or a task shells out to is listed: the
language: systemhooks (pre-commit-conventions),helm,terraform,hadolint,trivy,jq. A binary that is not here is a prerequisite someone discovers as a cryptic failure. - After editing
[tools], runmise fmtthenmise lock.
mise pins everything
mise.toml is the only file that holds a dev tool's version, toolchains
included. A rust-toolchain.toml, .python-version, .nvmrc,
.node-version, .terraform-version or .tool-versions found in the repo
moves into mise.toml and is deleted in the same change: two pins drift, and
the dependency bot bumps one of them.
[tools]
rust = { version = "<latest>", components = ["rustfmt", "clippy"], profile = "minimal" }
python = "<latest>"
uv = "<latest>"
node = "<latest>"
[env]
UV_PYTHON = { value = "{% if tools.python %}{{ tools.python.path }}{% endif %}", tools = true }- Rust: mise installs rustup when it is missing and sets
RUSTUP_TOOLCHAIN, which rustup ranks above anyrust-toolchain.toml.componentsandprofilecarry what the[toolchain]table did. The pin is still not the MSRV (rust-build-conventions). - Python: mise installs the interpreter, uv the dependencies
(
python-conventions).UV_PYTHONpoints uv at mise's interpreter; without it uv can pick a Python it downloaded itself. Keep the{% if %}:toolsonly holds installed tools, so unguarded,mise envand anymise execthat does not first install python fail, as in a CI job installing only some tools. Guarded, the variable is empty, which uv treats as unset. - Node.js: a
docs/site or a front end uses the rootnode; no.nvmrcbeside it. - Container images are the one pin outside mise. A
Dockerfilebuilds from itsFROMtag (rust:<version>,python:<version>), which mise does not read: keep that tag on the versionmise.tomlpins, and bump both in the same PR — a Renovate group spanning both managers does it (dependency-update-conventions). A group alone letsmise.tomlrun ahead of an image not yet published; the same skill says how to hold it back.
mise.lock
lockfile = true keeps mise.lock beside mise.toml: exact versions,
download URLs and checksums per platform. Commit it. CI installs with
mise install --locked, which refuses anything the lock does not record.
A new lockfile covers the common platforms; when one is missing, add it with
mise lock --platform linux-x64,macos-arm64. mise.local.lock is never
committed.
[env]
Only non-secret development defaults: a log level, a local URL, _.path for
a bin/ of project scripts. mise is the one thing that loads the
environment, never a task runner beside it (task-conventions), so a task, a
bare pytest and the IDE see the same variables.
Secrets never go in mise.toml. They come from mise.local.toml or a .env
loaded with _.file = ".env", both gitignored, with a committed
.env.example holding the names only.
Trust
mise refuses to load a project's [env] and settings until the config is
trusted. A contributor runs mise trust once after cloning; CI trusts
configs on its own (CI is set). Never set trusted_config_paths to a
parent directory of all checkouts to make the prompt go away.
.gitignore
mise.local.toml
mise.local.lock
.envpre-commit
Add to .pre-commit-config.yaml (pre-commit-conventions):
- repo: local
hooks:
- id: mise-fmt
name: mise fmt
entry: mise fmt
language: system
files: ^mise\.toml$
pass_filenames: falsemise itself is then a prerequisite: it is the one tool mise.toml cannot
install.
CI
Every job that needs a tool installs it with mise: never setup-node,
setup-python, a rustup action, setup-task or an apt-get install of a
dev tool beside it, which is a second pin of the same version. What the job
runs next is task-conventions' rule.
GitHub Actions, SHA-pinned (github-actions-conventions):
- name: install the tools
uses: jdx/mise-action@<latest tag SHA> # <latest tag>
with:
cache: false
- name: lint
run: task lintWith mise.lock committed, the action installs with --locked. cache:
false because the tools are downloads (ci-conventions); turn it on only
when an install builds from source (cargo:, go:), and never in a job that
publishes.
GitLab CI, on the official image pinned to an exact version
(gitlab-ci-conventions); tools run through mise exec:
quality:
image: ghcr.io/jdx/mise:<mise version>-debian
script:
- mise install --locked
- mise exec -- task lintA job that needs only a few of the tools installs only those, so it neither
waits on the other downloads nor fails when one of them does. Name them as
[tools] does, with every tool the job's commands shell out to:
- GitHub Actions:
install_args: <tool> <tool>onjdx/mise-action, which still adds--locked. - GitLab CI:
mise install --locked <tool> <tool>, withMISE_EXEC_AUTO_INSTALL: "false"in the job'svariables:. By defaultmise execfirst installs every missing tool, which undoes the selection. Set it too on a GitHub job that runsmise exec.
Dependency updates
Renovate's mise manager bumps mise.toml and mise.lock together,
toolchains included, once a self-hosted run allows it to execute mise
(allowedUnsafeExecutions, see renovate-ci-conventions); without
that, it bumps neither. It is on by default; a config with an
enabledManagers list has to name it.
CONTRIBUTING
The setup starts with installing mise (link its install page), then mise
trust and mise install; the tooling list is a link to mise.toml, not a
copy of it (contributing-conventions).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

