Skip to content
Back to skills

Mise Fy

ASecurity

Use when installing or working with mise (mise-en-place) or planning to update mise.toml. If the project uses mise, consult it even for one-line edits to mise.toml/hk.pkl, hooks, or CI tool setup, as it has the practices and security defaults you'd otherwise skip. Trigger on the intent even when the user never says "mise" (e.g. "update/pin the node version", "set up pre-commit") as long as the project already uses mise. Don't load for routine mise *use* (run/trust/`mise install`) that isn't c...

  • 9 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 5, 2026
ai-agentsrustgoshellnodedockergitapidatabasebackendci/cd

Works with

  • claude code
  • terminal
  • cli
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add sherifabdlnaby/skills --skill mise-fy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mise Fy?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mise Fy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sherifabdlnaby-mise-fy/badge)](https://www.skillsdirectory.com/skills/sherifabdlnaby-mise-fy)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mise-fy
description: >
  Use when installing or working with mise (mise-en-place) or planning to update mise.toml.
  If the project uses mise, consult it even for one-line edits to mise.toml/hk.pkl, hooks, or CI tool setup, as it has the practices and security defaults you'd otherwise skip.
  Trigger on the intent even when the user never says "mise" (e.g. "update/pin the node version", "set up pre-commit") as long as the project already uses mise.
  Don't load for routine mise *use* (run/trust/`mise install`) that isn't changing config. Optionally use the skill to transform local development into using mise, aka (mise-fy).
license: MIT
argument-hint: "Mise-fy this project | Audit this project | Add x tool via Mise"
metadata:
  author: sherifabdlnaby
  version: "0.9.3"
---

# mise-fy

# How to use the skill

The skill uses progressive disclosure: each area routes to a `references/` file holding the actual rules and best practices.
Read the matching one **before** planning or acting, not after. SKILL.md alone is not enough. Plan ahead, and read all references you'll need!

**Versions.** Checked against mise 2026.12.3, hk 2.15.0 and pitchfork 2.37.0 on 2026-12-05.

## When to read references

Always read at-least 1 reference from the router below. Depending on your goal you might want to read more than 1 reference.
Be eager to load local .md references. Do not load online links/references unless you really need to, default to trust your knowledge. Only load online reference when you need to learn more.
Commands and keys in the references are the usual call, not the full surface: `--help` and the current docs win. Experimental features (e.g. `[daemons]`) are thin in your training, so read their
linked docs before you use anything a page doesn't show.

## Router

**Install mise** (machine setup, not project setup) -> [`references/install.md`](references/install.md)
Install via package manager, activate the shell, shims for non-interactive shells, completions.

**Add, pin, update, or remove a tool or runtime** -> [`references/tools.md`](references/tools.md)
Version pin policy, `mise use`, backends by safety, `disable_backends`, `minimum_release_age`, `mise.lock` and locked mode, lazy and task-scoped tools, tool stubs, external services.

**Runtime integration** (per-runtime: package managers, dep install) -> [`references/runtimes/`](references/runtimes/).

- Node -> [`runtimes/node.md`](references/runtimes/node.md)

**Env & vars** (project env, dotenv, secrets) -> [`references/env.md`](references/env.md)
`[env]`, `_.file`/`_.path`/`_.source`, templating, required vars, default fallbacks, redaction, updating PATH, loading .env files, config environments (`MISE_ENV`), shell aliases.

**Tasks** (run scripts, build pipelines, watch) -> [`references/tasks.md`](references/tasks.md)
TOML vs file tasks, `depends`/`wait_for`, `sources`/`outputs` caching, running and parallelism, `mise watch` (re-run on change).

**Local dev stack** (databases, caches, app servers and workers in the background; a stack per worktree) -> [`references/dev.md`](references/dev.md)
`[daemons]` presets and custom daemons, the port block, ready/health/retry, migrations, the `dev:*` tasks, container images, compose files as daemons.

**Hooks** (directory & lifecycle: `enter`/`cd`, `watch_files`, `postinstall`) -> [`references/hooks.md`](references/hooks.md)
Keeping `enter`/`cd` hooks offline-safe (plain shell, not `mise run`), trust impact, the shim caveat. For git/pre-commit hooks specifically, see hk below.

**hk Hooks** (pre-commit / git hooks) -> [`references/hk.md`](references/hk.md)
`hk.pkl` (Pkl, lives at `.config/hk.pkl`), `check` vs `fix`, builtins, mise integration, install, extending with custom steps, the `.config/` home for linter configs.

**CI** (running mise tasks/tools in CI: shims, caching, pinning, tokens) -> [`references/ci.md`](references/ci.md)
General platform-agnostic CI rules; platform specifics under [`references/ci/`](references/ci/):

- GitHub Actions -> [`ci/github.md`](references/ci/github.md)

**mise-fy an existing project** (migrate + audit) -> [`references/mise-fy.md`](references/mise-fy.md)
Step-by-step conversion from custom/asdf/Makefile, plus a full audit checklist. References every other doc.

**Project docs** (README + AGENTS.md onboarding) -> [`references/docs.md`](references/docs.md)
What to put in README.md and AGENTS.md/CLAUDE.md so a human and an agent can install mise, set up, run tasks, and extend the setup. Part of every mise-fy/audit.

**Build a standard task or lay out a project** (`setup`, `deps`, `check`, `test`, `build`, `dev`) -> [`references/reference-setup-and-patterns.md`](references/reference-setup-and-patterns.md)
Canonical file tree, the fast path vs slow path lane map, setup stamp and `enter` nag, `[doctor.checks]` prerequisites, the `deps` task and `[deps]` providers, `check` on hk, adapting the assets.

### Complementary skills

**CI/CD** (checks/release/publish workflows, gating, signing, and community hygiene) -> load **cicd-fy** skill, if installed (from same author).
This skill covers running mise *in* CI; the pipeline's shape is cicd-fy's domain.


## Always applies (regardless of task)

These hold no matter which reference you loaded; check them even when fixated on one task.
Unlike the opinionated best practices (scope those to your goal), these are the
safety/correctness floor: apply them even on a one-tool change, not polish you'd defer.

1. **Untrusted config errors out.** A `mise.toml` containing `[env]`, hooks, templates, or task logic hard-errors as a *whole file* until it is trusted. Only a bare `min_version` + plain-string
   `[tools]`/`[tasks]` file loads untrusted. Outside CI, `mise run`/`install`/`exec` record trust on their own (from mise 2026.11.15, any mise command typed on a terminal does too). Setup docs need no
   `mise trust` step: `mise run setup` trusts the project. Until a command records trust, `mise env` without a terminal errors and the shell hook skips the file with a warning. In CI (`CI` or another
   CI variable set), mise trusts every config and records nothing, so CI needs no trust step either, except in paranoid mode. A `trusted_config_paths` entry must be an absolute or `~/` path; mise
   ignores a relative one. An untrusted file's `[settings]` are silently ignored, so security settings such as `disable_backends` and `minimum_release_age` stay off until trust.
2. **Some features need `experimental = true`** and may change between releases. If a documented flag errors, check whether it's gated.
3. **Set `min_version`** (root level, not under `[settings]`): the oldest release that supports every feature the config uses, never below the known-vulnerable floor (`2026.10.13`), and never
   above what the author has installed. An old client is then told to update instead of failing on a feature it lacks.
4. **Avoid GitHub rate limits** on tool installs (local *and* CI): set
   `github.gh_cli_tokens` and `github.use_git_credentials` under `[settings]`.
   mise tries the gh CLI token first, falls back to git credentials, fails open.
   In CI a `GITHUB_TOKEN` env var works too (see [`ci.md`](references/ci.md)).
5. **Mise moves fast.** When you hit a wall, check the recent changelog alongside the docs.
6. **Shims don't expose every `mise activate` feature** (e.g. some env-on-`cd`); local-vs-CI mismatches often trace here. See [`install.md`](references/install.md) / [`ci.md`](references/ci.md).
7. Always be aware of **Fast path vs slow path concept.**
   Whatever runs many times a day is fast-path: cheap, offline-safe, non-interactive.
   A setup is slow-path: allowed to be slow, online, interactive. Never make a fast-path task depend on a slow-path one, nag instead;
   the [lane map](references/reference-setup-and-patterns.md#fast-path-vs-slow-path) is the one list of members.
8. More Generally, always think of how often a task is going to be run by the user. And never make tasks that belong to different cadences depend on each other.
9. **Keep `mise.toml` top-level sections in order**, including when adding one for the first time: `min_version` → `[tools]` → `[env]` → `[vars]` → `[tasks]` → `[daemons]` → `[hooks]` →
   `[doctor]` → `[settings]`. A section not listed goes before `[settings]`, next to the section it works with.

## Unattended

No one can answer this turn (a cron, a trigger, an afk run, a background watch), or the user handed over the whole task. Where a page says to ask or confirm with the user, take the reversible option
(e.g. keep the old managers, leave a noisy linter off, install the report-only workflow). The open call stays **open**: unapplied, and in the final report.

## Compatibility

Assume everything below is present; do not probe for it. Stop early only on a host listed as unsupported.

Needs: `mise`, git, network (tool installs, the GitHub API); Docker or Podman for container and compose daemons only.
Hosts: Claude Code CLI yes. Sandbox no (no network: `mise install` and `mise lock` download). Windows partly (container daemons fail, the Redis preset has no build). Autonomous runs yes (see
Unattended).

Files in this skill

  • README.md8 B
  • SKILL.md8.5 KB
  • assets/.config/hk.pkl3.4 KB
  • assets/.config/mise/.gitignore6 B
  • assets/.github/workflows/check.autofix.yml8 KB
  • assets/.github/workflows/check.yml5.1 KB
  • assets/AGENTS.md1.7 KB
  • assets/README.md2.5 KB
  • assets/mise.toml6.8 KB
  • references/ci.md6.6 KB
  • references/ci/github.md7.4 KB
  • references/docs.md3.8 KB
  • references/env.md6 KB
  • references/hk.md20.1 KB
  • references/hooks.md1.8 KB
  • references/install.md1.2 KB
  • references/mise-fy.md7.7 KB
  • references/reference-setup-and-patterns.md7.4 KB
  • references/runtimes/node.md5.1 KB
  • references/tasks.md15.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.