mise 工具缓存策略管理
mde-package-cache-policy
面向 mise 管理工具的跨生态系统缓存策略,包括首选缓存位置、缓存预热、缓存复用以及有界清理规则。
- License 许可
- MIT
- 最近更新
- 2026-08-03
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- mde-package-cache-policy
- description
- Cross-ecosystem cache policy for mise-managed tooling, including preferred cache locations, warming, reuse, and bounded pruning rules.
03 SKILL.md 正文
MDE Package Cache Policy
Use this skill when changing setup, migration, verification, automation, or host-tool cache behavior.
Preferred Cache Locations
UV_CACHE_DIR:~/Library/Caches/uvon macOS,~/.cache/uvelsewhere.PIPX_HOME:~/.local/pipxPIPX_BIN_DIR:~/.local/binBUN_INSTALL:~/.bunGOCACHE:~/Library/Caches/go-buildon macOS,~/.cache/go-buildelsewhere.GOMODCACHE:~/go/pkg/modCARGO_HOME:~/.cargoRUSTUP_HOME:~/.rustup
Policy
- Reuse backend-native caches by default.
- Warm caches with declarative
mise install,mise run, or backend-native read-only commands. - Do not delete caches during normal setup, verification, or automation.
- Cache pruning is allowed only in bounded maintenance flows with explicit commands such as
uv cache prune,bun pm cache rm, orgo clean -cache -modcache. - Record cache behavior in
configs/mde-modernization-matrix.jsonand never rely on shell-only tribal knowledge.
cache pruning
- cache pruning is never the default path.
- cache pruning must be explicit, bounded, and recorded in maintenance guidance.
Drift Rules
- Treat hardcoded alternate cache paths as drift unless the matrix or exception registry declares them.
- Treat cold-install guidance as drift unless an exception explicitly allows it.
- Preflight should verify cache directories are writable before automation starts.
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.