AGENT SKILL

MDE 智能体运行时契约

mde-agent-runtime-contract

本仓库中智能体(agent)工作的强制运行时与工具所有权契约。用于设置、安装、迁移、自动化和研究任务,使智能体保持 mise 优先,避免非托管的全局安装。

适用职业AI 工程师
使用场景智能体开发
License 许可
MIT
最近更新
2026-08-03
Stars
★ 1
Forks
0

01 前言 Front Matter

name
mde-agent-runtime-contract
description
Mandatory runtime and tool ownership contract for agent work in this repo. Use for setup, installation, migration, automation, and research tasks so agents stay mise-first and avoid unmanaged global installs.

03 SKILL.md 正文

MDE Agent Runtime Contract

Load this skill before any setup, installation, migration, automation, or research task in this repository.

Canonical Rule Set

  • This repo defines the MacBook host setup contract for agent-run tooling work.
  • Global runtimes, global CLIs, and SDK CLIs are mise-owned.
  • Repo libraries are native-manifest-owned.
  • macOS or system exceptions must be listed in configs/mde-install-exceptions.json.
  • Reuse backend-native caches by default; cold installs and cache clears are exception-only behaviors.

Required Inputs

Read these before making changes:

  • configs/mde-tool-ownership.json
  • configs/mde-modernization-matrix.json
  • configs/mde-install-exceptions.json
  • configs/mde-skill-registry.json
  • .agents/skills/mde-package-cache-policy/SKILL.md
  • .agents/AGENTS.md
  • AGENTS.md

Required Entry Points

  • mise run mde:agent:preflight
  • mise run mde:agent:verify
  • mise run mde:migrate:global-tools -- --dry-run|--apply|--verify|--report
  • mise run mde:research:autoimprove -- --incremental|--full|--report

Hard Prohibitions

Unless an explicit exception is present and break-glass override is enabled, do not use:

  • brew install
  • npm -g
  • bun add -g
  • uv tool install
  • pip install --user
  • pipx install
  • cargo install
  • go install
  • curl-based installer flows

Decision Rule

If the problem is a missing import, missing package, or missing library, fix the manifest. If the problem is a missing global executable, fix mise ownership. Never solve either class of problem with an unmanaged global install.

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