From 9e2f39033243defac67ae3d37031bcde82a4a82f Mon Sep 17 00:00:00 2001 From: root Date: Thu, 16 Apr 2026 17:22:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DSkill=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E5=85=BC=E5=AE=B9=E6=80=A7=20-=20=E6=95=B4=E5=90=88de?= =?UTF-8?q?scription=E5=92=8Cwhen=5Fto=5Fuse=E5=88=B0Markdown=20body?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除frontmatter中不被WaterFlow处理的冗余字段: - name: WaterFlow使用目录名作为skill名称 - description: WaterFlow从Markdown #标题提取 - when_to_use: 不被处理,整合到body中 修改后的SKILL.md完全兼容WaterFlow SkillLoader: - description从#标题正确提取 - allowed-tools正确转换为allowedTools - arguments正确映射 - user-invocable正确转换为userInvocable --- ts/bundled-skills/graph_memory/SKILL.md | 7 +++---- ts/bundled-skills/graph_memory/persona/SKILL.md | 7 +++---- ts/bundled-skills/graph_memory/task/SKILL.md | 7 +++---- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/ts/bundled-skills/graph_memory/SKILL.md b/ts/bundled-skills/graph_memory/SKILL.md index 3a9ba2f..6addabc 100644 --- a/ts/bundled-skills/graph_memory/SKILL.md +++ b/ts/bundled-skills/graph_memory/SKILL.md @@ -1,7 +1,4 @@ --- -name: graph_memory -description: 图记忆工具 - 让 AI 拥有真正的长期记忆能力 -when_to_use: 需要 AI 记住、回忆、管理信息或任务时 context: inline allowed-tools: - builtin:graph_memory @@ -18,7 +15,9 @@ arguments: user-invocable: true --- -# GraphMemory 图记忆操作 +# 图记忆工具 - 让 AI 拥有真正的长期记忆能力 + +**何时使用**: 需要 AI 记住、回忆、管理信息或任务时调用此技能。 你可以通过以下操作与图记忆系统交互。 diff --git a/ts/bundled-skills/graph_memory/persona/SKILL.md b/ts/bundled-skills/graph_memory/persona/SKILL.md index adcc240..731a662 100644 --- a/ts/bundled-skills/graph_memory/persona/SKILL.md +++ b/ts/bundled-skills/graph_memory/persona/SKILL.md @@ -1,7 +1,4 @@ --- -name: persona -description: 管理 AI 人设 - 更新或清除 AI 角色特征 -when_to_use: 需要修改 AI 的角色设定或清除人设时 context: inline allowed-tools: - builtin:graph_memory @@ -25,7 +22,9 @@ arguments: user-invocable: true --- -# GraphMemory Persona 人设管理 +# 管理 AI 人设 - 更新或清除 AI 角色特征 + +**何时使用**: 需要修改 AI 的角色设定或清除人设时调用此技能。 管理 AI 的人设/角色特征。 diff --git a/ts/bundled-skills/graph_memory/task/SKILL.md b/ts/bundled-skills/graph_memory/task/SKILL.md index 54e6c9d..9b75518 100644 --- a/ts/bundled-skills/graph_memory/task/SKILL.md +++ b/ts/bundled-skills/graph_memory/task/SKILL.md @@ -1,7 +1,4 @@ --- -name: task -description: 管理连续性任务 - 创建、更新、删除任务节点 -when_to_use: 需要创建或管理长期任务时 context: inline allowed-tools: - builtin:graph_memory @@ -31,7 +28,9 @@ arguments: user-invocable: true --- -# GraphMemory Task 任务管理 +# 管理连续性任务 - 创建、更新、删除任务节点 + +**何时使用**: 需要创建或管理长期任务时调用此技能。 管理长期/连续性任务。