agentleFS
fmindfmind/dot/skills/mise/SKILL.md

mise

Skill10 starsChanged 57 days agoMITView on GitHub

Manage mise tool pins, lockfiles, environments, and tasks shared by hooks and CI.

  • Reads credentials

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every project exposes the same core tasks with short aliases so agents, hooks, and CI stay portable:

    line 28
  2. Distinctive:

    Preserve argument forwarding: keep shell quoting and tool arguments intact.

    line 47

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Mise

One project mise.toml owns tool pins and commands; hooks and CI decide when to invoke them. Reuse the appropriate language stack's configuration instead of creating parallel command definitions.

Workflow

  1. Inspect the repository's existing tasks, lockfile, tool providers, hooks, and CI before changing the contract.
  2. Select and reuse versions per the shared tool baseline before installing copied scaffold selectors: fmind/dot tracks latest, including Python; other owned repositories pin exact baseline versions. Compare mise ls --installed --json with the baseline to reuse installations; never run independent upgrades or copy tool binaries into projects.
  3. Keep tasks simple: prefer direct commands, short sequential run arrays, and declarative dependencies. A short multiline sequence for setup and cleanup is acceptable; avoid explicit bash -c/sh -c, nested conditions, argument-dispatch wrappers, and large shell programs. Use native tool options or explicit task names first; put necessary procedural logic in a small maintained script, preferably Python.
  4. Keep the shared vocabulary below; read task conventions for subtask names, concise output, argument forwarding, dependency order, and tool updates.
  5. Pin and install the project toolchain, then validate task definitions with mise tasks validate; use mise run <task> in automation.
  6. Verify the changed task and its callers, then the required complete gate; record a concrete reason for held-back pins.

Task Vocabulary

Every project exposes the same core tasks with short aliases so agents, hooks, and CI stay portable:

TaskAliasPurpose
installiSync dependencies and install git hooks (lefthook install).
formatfFormat all sources (fans out to format:*).
checkcAll static checks in parallel (fans out to check:*).
testtRun the test suite.
buildbCompile or package artifacts (fans out to build:*).
watchwLive reload, or re-run tests; omitted by stacks with neither.
allaformat, check, test, build in sequence: the full gate.

Python projects start from python-stack; specialized content and infrastructure projects use the task files owned by their stack skills, such as infra-as-code.

Gotchas

  • Load .env only when needed: [env] with _.file = ".env" loads dotenv values for tasks; use it only when the project needs that file. _.source expects a shell script.
  • Keep local builds free of side effects: builds and checks must not publish, deploy, or spend by default; expose consequential operations only as explicit on-demand paths.
  • Isolate the full gate on dirty trees: mise run all includes formatters that write the whole tree. When unrelated changes are present, use git-worktree to materialize the current candidate in isolation and check that the tested files match before transferring proof, or fall back to mise run check and mise run test.
  • Preserve argument forwarding: keep shell quoting and tool arguments intact; verify raw argument behavior with a small local example when adding wrapper tasks.
  • Separate global tools from project pins: distinguish global interactive tools from project pins used by hooks and CI; inspect provenance pilot only for that optional provider experiment.

Documentation

  • upgrade-tools for cross-repository alignment
  • mise · Tasks · Settings
  • Releases: mise · changelog
  • Companion skills: lefthook (hooks call these tasks), github-actions (CI installs the toolchain with mise-action and runs mise run all).

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.