Documentation Index
Fetch the complete documentation index at: https://engineering.unkey.com/llms.txt
Use this file to discover all available pages before exploring further.
What mise owns
Unkey uses mise as the local toolchain and task runner. The source of truth ismise.toml, mise.lock, and .mise/tasks/*.
Use mise for local repository commands:
Install the toolchain
Install the pinned mise binary, then install the tools frommise.toml:
If you run into github ratelimit issues, mise can use an auth token to get higher limits
You can manually create a token, or use the one from your
gh cli:mise install installs languages, CLIs, and package managers. It does not run
repository setup tasks. Repository tasks declare setup work as dependencies, so
you don’t need to run setup-only tasks manually.
How tools are pinned
Add tools to the[tools] section in mise.toml. Pin exact versions instead
of floating versions like latest.
mise.lock:
mise install --locked --yes after updating the lockfile. This catches
missing URLs, checksums, and platform entries before another developer hits the
same issue.
How tasks work
Repository tasks are executable files under.mise/tasks/. The file name is the
task name. Metadata is declared with #MISE comments near the top of the file.
.mise/tasks/example
#MISE depends=["task-name"] instead of telling
users to run setup steps by hand.
Hidden dependency tasks
Some tasks exist only to prepare other tasks. Mark those tasks hidden:Cache task outputs
Tasks can declare source and output files. Mise skips the task when all outputs are newer than the sources.Add a task
When you add a task, follow this checklist:- Create an executable script in
.mise/tasks/<name>. - Add a clear
#MISE description. - Add
set -euo pipefailfor Bash tasks. - Add
#MISE depends=["task-name"]when the task has setup dependencies. - Add
#MISE sourcesand#MISE outputsonly when skip behavior is safe. - Mark setup-only tasks with
#MISE hide=true. - Run
mise tasks validate. - Run the smallest task or command that proves the task works.
mise exec -- <tool> for one-off direct tool calls.
What to expect
Mise tasks run from the repository root unless configured otherwise. Keep task scripts explicit about paths, for examplepnpm --dir=web instead of changing
directories for the rest of the script.
Task dependencies run before the requested task. Hidden tasks can still run as
dependencies. mise tasks hides them by default, and mise tasks --hidden
shows them.
The lockfile is part of the review surface. If mise.toml changes, expect a
matching mise.lock change unless the edit only affects task configuration or
environment variables.
