AGENTS.md@skills/mise-fy/assets · git:20260802.31e154b · 2026-08-02 · sha256 b3200f17a4de7343
AGENTS.md@skills/mise-fy/assets git:20260802.31e154bA
Immutable. This exact content is served forever at /api/v1/blob/b3200f17a4de7343.
# AGENTS.md > Drop-in block for an agent-facing guide. Trim the hk lines if the repo has no pre-commit hooks. ## Toolchain (mise) This project uses [**mise**](https://mise.jdx.dev) to pin tools, expose tasks, and wire git hooks. `mise.toml` is the source of truth. Don't install tools by hand or add ad-hoc scripts; add a mise tool or task instead. **Setup** (once, and per new worktree): `mise trust && mise run setup`. **Run via mise.** Run `mise run check` before you call work done. A few examples, not the full list: ```sh mise run check # all linters/formatters/validators (alias: lint); add --fix to auto-fix mise run test # test suite mise tasks # discover every task mise run <task> --help # a task's flags ``` Prefer `mise run <task>` over calling the tool directly, so local, hooks, and CI stay in sync. ## Git hooks (hk) Commits run [hk](https://hk.jdx.dev), the same `check` CI runs, to format and lint staged files. Fix failures with `mise run check --fix`. Don't disable steps to push a commit through; `git commit --no-verify` skips hooks for a WIP commit. ## Extending the setup Changing tools, tasks, env, mise hooks, or pre-commit hooks? This is where things live: - **`mise.toml`**: the source of truth for `[tools]`, `[tasks]`, `[env]`/`[vars]`, `[settings]`, and `[hooks]`. - **`mise.lock`**: resolved versions plus checksums. Commit it; regenerate with `mise install` after a `[tools]` change. - **`.config/mise/`**: project-local state, like the gitignored setup stamp the `setup`/`enter` hooks read. File tasks can live in `.config/mise/tasks/`. - **`.config/hk.pkl`**: the pre-commit and `check` pipeline (linters and formatters, in Pkl). Add or edit a lint step here; linter configs live beside it in `.config/`.