AGENT SKILL

mise-enforcement

This skill should be used when the user asks to "install a CLI tool", "add a global tool", "check mise policy", "enforce mise-first", or when reviewing scripts that mention brew install, npm -g, bun add -g, bun install -g, pipx install, pip install --user, cargo install, go install, or gem install. Also use when validating runtime/tool commands to ensure a strict mise-first workflow. After blocking a direct install, see the mise-tool-management skill for the correct path to add tools via mise.

License 许可
MIT
最近更新
2026-08-03
Stars
★ 1
Forks
0

01 前言 Front Matter

name
mise-enforcement
description
This skill should be used when the user asks to "install a CLI tool", "add a global tool", "check mise policy", "enforce mise-first", or when reviewing scripts that mention brew install, npm -g, bun add -g, bun install -g, pipx install, pip install --user, cargo install, go install, or gem install. Also use when validating runtime/tool commands to ensure a strict mise-first workflow. After blocking a direct install, see the mise-tool-management skill for the correct path to add tools via mise.

03 SKILL.md 正文

Mise Enforcement

This repository treats mise as the authority for global runtimes, global CLIs, and SDK CLIs. mise is the authority for global tools.

Use This Skill When

  • Installing or updating command-line tools.
  • Changing setup, bootstrap, migration, automation, or devcontainer workflows.
  • Reviewing scripts or docs that mention brew install, npm -g, bun add -g, uv tool install, pipx install, cargo install, or go install.

Contract

  1. Global runtimes and global CLIs belong under mise authority, with ~/.config/mise/config.toml defining whether the declaration is a direct mise entry or a backend-native declarative config consumed by mise.
  2. Repository libraries belong in native manifests such as package.json, pyproject.toml, uv.lock, pixi, Cargo.toml, and go.mod.
  3. Use mise run <task> for repo automation and mise x <tool> -- <args> for one-off tool execution.
  4. Prefer backend-native declarative config when the backend exposes one; otherwise use a direct declarative mise entry.
  5. Do not resolve missing tools with direct global installers unless a break-glass override is explicitly set.
  6. Do not rely on implicit auto-install behavior in agent contexts. Use explicit mise install, mise run, or mise x.
  7. reuse backend-native caches by default. Do not clear or bypass package-manager caches unless a bounded maintenance or exception flow explicitly allows it.

Required Checks

  • Run mise ls to check current tool ownership before changing declarations.
  • Review the project's declarative package sources before changing script authority.
  • Check cache behavior policies when cache directories are part of the change.
  • Run mise doctor before agent-driven setup, migration, or research flows.
  • Run mise outdated after changing ownership rules or managed tool surfaces.

Explicitly Disallowed Defaults

  • brew install for repo-managed CLIs.
  • npm -g or bun add -g for repo-managed CLIs.
  • uv tool install, pipx install, cargo install, or go install as the default path for repo-managed CLIs.
  • Installing repo libraries globally to fix a missing import or command.

Quick Verification

mise doctor          # Check mise configuration health
mise ls              # Verify tool ownership
mise outdated        # Check for drift in tool versions

04 同仓库更多 Skills

ray-manaloto
ray-manaloto/macos-development-environment

next-workflow-step

Use this skill when the user wants to transition to the next workflow step, wrap up a session cleanly, prepare a handoff, or says things like "next step", "continue the workflow", "wrap up", "hand off", "move to the next phase", "what's next in embrace", or "prepare for /clear". Also triggers when the current octo:embrace phase appears complete and no explicit next action is set.

★ 1
ray-manaloto
ray-manaloto/macos-development-environment

source-discovery

This skill should be used when the user asks to "find sources", "discover URLs", "catalog a source", "classify a URL", "search for libraries", "check what exists", or mentions source discovery, URL cataloging, source classification, or research source management.

★ 1
ray-manaloto
ray-manaloto/macos-development-environment

review-synthesis

This skill should be used when the user asks to "summarize review findings", "prioritize fixes", "rank review issues", "combine reviewer feedback", "create action items from review", or mentions review synthesis, finding prioritization, severity ranking, or review result summarization.

★ 1
ray-manaloto
ray-manaloto/macos-development-environment

research-scoring

This skill should be used when the user asks to "score research", "check research quality", "evaluate coverage", "measure improvement", "assess research completeness", or mentions research scoring, quality metrics, coverage gaps, improvement baseline, or research pipeline status.

★ 1
ray-manaloto
ray-manaloto/macos-development-environment

notebooklm-integration

This skill should be used when the user asks to "ingest into NotebookLM", "query NotebookLM", "add sources to notebook", "cross-source synthesis", "check stale sources", or mentions NotebookLM, notebook integration, source ingestion, or knowledge consolidation.

★ 1
ray-manaloto
ray-manaloto/macos-development-environment

evidence-synthesis

This skill should be used when the user asks to "synthesize findings", "combine research", "cross-reference sources", "summarize evidence", "write a deep review", or mentions evidence synthesis, finding consolidation, cross-source analysis, or research summarization.

★ 1