Proma 管理工具箱:跨工作区 Skill 同步与溯源、MCP 配置一致性检查、Skill 分组管理、Chat 与 Agent 会话管理
Server has 10 tools with complete input schemas and descriptions in Chinese. Naming follows verb_noun pattern (check, diff, sync, bootstrap, info, mcp_check, group_list, group_set, list_sessions, delete_session). However, descriptions are lengthy (200-400+ chars) and lack English localization, making them inaccessible to most LLM agents. Parameter descriptions are present but sparse. Output schemas are not documented. Error handling is minimal, no recovery guidance or actionable error messages visible in code. Security: safeResolve() path sanitizer is present (CWE-22 mitigation), but no permission gates, audit logging, or scope declarations visible. Composition is reasonable, tools are single-purpose, but some lack idempotency guarantees (sync, bootstrap are write operations without confirmation patterns).
为跨工作区但缺少 .source.json 的 skill 补溯源文件。指定 skill 名、目标工作区和来源工作区。自动拒绝 default-skills(workspace-watcher 管理的 19 个 skill)。
全量扫描所有工作区,返回跨工作区 skill 的同步状态。单工作区独有 skill 也会检测错误 .source.json(声称来源但源不存在)并报告为 orphan。排除 default-skills 管理的 watcher 同步 skill。返回 managed(有 .source.json)、unmanaged(跨区但缺 .source.json)、orphans(.source.json 指向不存在的母工作区)三组清单。
删除指定的 Chat 对话或 Agent 会话。不可逆操作——会同时清理消息文件(.jsonl)、附件和工作目录。建议在 Proma 关闭或切换到其他会话后操作,避免与运行中进程冲突。不传 confirm 或 confirm=false 时仅预览(dry-run),列出将删除的文件/目录及其大小;传 confirm=true 才真正执行删除。
对比母版和某个子版 skill 的完整目录差异(文件级 + 行级)。需指定 skill 名和目标工作区 slug。自动拒绝 default-skills(workspace-watcher 管理的 19 个 skill)。
列出指定工作区所有 skill 的 group 状态和内容摘要,供 AI 分析后自动分配 group。自动排除 default-skills 管理的 19 个 watcher 同步 skill。返回每个 skill 的 name、description、当前 group、正文预览。默认扫描 default 工作区。
写入 SKILL.md frontmatter 的 group 字段。接受 skill 名到 group 值的映射,批量更新。已有 group 的会被替换,没有的新增。自动拒绝 default-skills(workspace-watcher 管理的 19 个 skill)。
All tool descriptions are in Chinese (200-400+ chars). LLM agents trained on English will struggle to understand when/why to invoke these tools. Descriptions exceed recommended 10-200 char range for LLM optimization.
Output schemas are not documented. LLMs cannot plan downstream tool calls or extract required fields (e.g., what does check() return? What fields are in the response?). Violates pattern:response-shaper.
Destructive operations (sync, bootstrap, delete_session) lack confirmation/dry-run patterns. delete_session has a 'confirm' parameter (good), but sync and bootstrap do not. Agents can accidentally overwrite or delete data without explicit confirmation.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 54 | 2026-07-28+ | v2 |
查看单个 skill 的完整溯源视图:各工作区是否存在、hash、文件清单、母/子关系。
列出 Proma 的所有 Chat 对话和 Agent 会话。返回标题、时间、归档状态、工作区等元数据。可按 type 参数筛选。
扫描所有工作区的 mcp.json,返回服务器合集和各工作区缺失的服务器。用于保持所有工作区 MCP 配置一致——每个服务器要么在所有工作区都有,要么只在需要的工作区有。
从母工作区推送 skill 整目录到一个或多个子工作区。先备份子版到 .sync-backup/ 再覆盖,更新 .source.json。首次分发时用 sourceWorkspace 参数指定母工作区。自动拒绝 default-skills(workspace-watcher 管理的 19 个 skill)。
No error handling guidance visible in code. Error responses do not indicate whether failures are retryable, user-fixable, or fatal. LLMs cannot determine next steps on failure.
No permission gates or scope declarations visible. Tools like delete_session and sync can modify/destroy data without checking caller authority. No audit logging present.