AGENT SKILL

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/uv on macOS, ~/.cache/uv elsewhere.
  • PIPX_HOME: ~/.local/pipx
  • PIPX_BIN_DIR: ~/.local/bin
  • BUN_INSTALL: ~/.bun
  • GOCACHE: ~/Library/Caches/go-build on macOS, ~/.cache/go-build elsewhere.
  • GOMODCACHE: ~/go/pkg/mod
  • CARGO_HOME: ~/.cargo
  • RUSTUP_HOME: ~/.rustup

Policy

  1. Reuse backend-native caches by default.
  2. Warm caches with declarative mise install, mise run, or backend-native read-only commands.
  3. Do not delete caches during normal setup, verification, or automation.
  4. Cache pruning is allowed only in bounded maintenance flows with explicit commands such as uv cache prune, bun pm cache rm, or go clean -cache -modcache.
  5. Record cache behavior in configs/mde-modernization-matrix.json and 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

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