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, orgo install.
Contract
- Global runtimes and global CLIs belong under
miseauthority, with~/.config/mise/config.tomldefining whether the declaration is a directmiseentry or a backend-native declarative config consumed bymise. - Repository libraries belong in native manifests such as
package.json,pyproject.toml,uv.lock,pixi,Cargo.toml, andgo.mod. - Use
mise run <task>for repo automation andmise x <tool> -- <args>for one-off tool execution. - Prefer backend-native declarative config when the backend exposes one; otherwise use a direct declarative
miseentry. - Do not resolve missing tools with direct global installers unless a break-glass override is explicitly set.
- Do not rely on implicit auto-install behavior in agent contexts. Use explicit
mise install,mise run, ormise x. - 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 lsto 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 doctorbefore agent-driven setup, migration, or research flows. - Run
mise outdatedafter changing ownership rules or managed tool surfaces.
Explicitly Disallowed Defaults
brew installfor repo-managed CLIs.npm -gorbun add -gfor repo-managed CLIs.uv tool install,pipx install,cargo install, orgo installas 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
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.
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.
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.
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.
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.
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.