mindos-zh
MindOS 是用户的本地知识助手,也是跨会话、跨 Agent 共享的知识库。它保存决策记录、会议纪要、SOP、 排错经验、架构选型、调研结论和偏好设置。 仅 mindRoot…
将 MindOS 渲染器插件从“可选插件”升级为“完全内置能力(core builtin)”的通用流程。 当用户要求“把某插件改成内置/核心”“插件不应可关闭”“插件主程序化”或需要将旧入口迁移到 新主流程并保留兼容迁移能力时触发。
$ npx -y skills add geminilight/mindos --skill plugin-core-builtin-migration --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/plugin-core-builtin-migrationContext preview
The summary Claude sees to decide when to auto-load this skill.
将 MindOS 渲染器插件从“可选插件”升级为“完全内置能力(core builtin)”的通用流程。 当用户要求“把某插件改成内置/核心”“插件不应可关闭”“插件主程序化”或需要将旧入口迁移到 新主流程并保留兼容迁移能力时触发。
name: plugin-core-builtin-migration description: > 将 MindOS 渲染器插件从“可选插件”升级为“完全内置能力(core builtin)”的通用流程。 当用户要求“把某插件改成内置/核心”“插件不应可关闭”“插件主程序化”或需要将旧入口迁移到 新主流程并保留兼容迁移能力时触发。
把单个插件改造成“稳定、默认、不可缺席”的产品能力,并沉淀可复用迁移步骤。
适用场景:
---
在本项目中,“完全内置”建议同时满足:
1. **注册稳定**:渲染器注册有且仅有一个**客户端根入口**(推荐 `SidebarLayout` / `ShellLayout`) 2. **默认可用**:`manifest.builtin = true` 3. **不可禁用**(如需真正 core):`manifest.core = true`(`registry` 会强制启用) 4. **可观测可维护**:插件页、设置页、文档、测试一致 5. **历史兼容**:旧入口数据有迁移方案,不丢内容 6. **表层语义清晰**:区分“插件(可管理)”和“应用内建能力(不在插件面板展示)”
---
每次执行本 Skill 时,默认同时应用以下质量视角(按顺序):
1. **产品设计视角**(`product-designer`)
2. **UI/UX 视角**(`ui-design-patterns`)
3. **实现质量视角**
4. **验证视角**
若任一步不满足,迁移不得判定完成。
---
先确认插件的四类事实来源:
并回答:
在 manifest 中设置:
如果插件要被替换/下线:
必须收敛为单点初始化(客户端):
验收标准:
如果旧插件依赖旧文件格式:
1. 在核心数据层实现“懒迁移”:
2. 迁移后清理旧入口文件(防止双写和重复导入) 3. 提供一次性脚本(离线/手动修复):
至少同步:
并记录迁移决策:
最低测试集合:
推荐命令:
npm --prefix app run test -- __tests__/core/content-changes.test.ts __tests__/api/changes.test.ts
---
这次迁移可作为样板:
---
1. **只删插件没迁移旧数据** -> 用户历史丢失 2. **注册入口分散/仅服务端注册** -> 客户端插件面板出现 `0/0` 3. **文档未同步** -> 用户看到过时入口 4. **core/builtin/appBuiltinFeature 语义混淆** -> 本应“应用内建”的能力仍出现在插件面板 5. **迁移不幂等** -> 每次读取重复导入同一批旧数据
---
MindOS is a Human-AI Collaborative Mind System, where human thinks and agents act. Globally sync your mind for all agents: transparent, controllable, and evolving symbiotically.
Repo: geminilight/mindos
MindOS 是用户的本地知识助手,也是跨会话、跨 Agent 共享的知识库。它保存决策记录、会议纪要、SOP、 排错经验、架构选型、调研结论和偏好设置。 仅 mindRoot…
MindOS: local knowledge assistant & shared KB. Keeps decisions, notes, SOPs, debugging…
Helps users discover and install agent skills when they ask questions like "how do I do X",…
Operate a MindOS knowledge base: update notes, search, organize files, execute…
MindOS 是用户的本地知识助手,也是所有已连接 Agent 共用的记忆层。 决策记录、会议纪要、SOP、排错经验、架构选型、调研结论、偏好设置、对话摘要都保存在这里。…
MindOS: local knowledge assistant & global memory layer. Keeps decisions, notes, SOPs,…