[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6J6N2SYGZFPQG7MDHK06VB4":3,"skill-same:01M6J6N2SYGZFPQG7MDHK06VB4":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":23,"linkOnly":24,"markdownContent":25,"markdownBody":26,"frontMatter":27,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M6J6N2SYGZFPQG7MDHK06VB4","Skill Evolution Manager",null,"专门用于在对话结束时，根据用户反馈和对话内容总结优化并迭代现有 Skills 的核心工具。它通过吸取对话中的“精华”（如成功的解决方案、失败的教训、特定的代码规范）来持续演进 Skills 库。","caobingsheng\u002Fskills","caobingsheng","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F18641728?v=4","01M6J6H1N0RR38WEA1KVM9V4GB","01M6J6H1SB287CPJQARKE9FXS0",1,"MIT","https:\u002F\u002Fgithub.com\u002Fcaobingsheng\u002Fskills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fskill-evolution-manager\u002FSKILL.md",[],[18,19,5,20,21,22],"evolution","manager","对话","总结","工具","2026-11-10 10:12:30",false,"---\nname: Skill Evolution Manager\ndescription: 专门用于在对话结束时，根据用户反馈和对话内容总结优化并迭代现有 Skills 的核心工具。它通过吸取对话中的“精华”（如成功的解决方案、失败的教训、特定的代码规范）来持续演进 Skills 库。\nlicense: MIT\n---\n\n# Skill Evolution Manager\n\n这是整个 AI 技能系统的“进化中枢”。它不仅负责优化单个 Skill，还负责跨 Skill 的经验复盘和沉淀。\n\n## 核心职责\n\n1.  **复盘诊断 (Session Review)**：在对话结束时，分析所有被调用的 Skill 的表现。\n2.  **经验提取 (Experience Extraction)**：将非结构化的用户反馈转化为结构化的 JSON 数据（`evolution.json`）。\n3.  **智能缝合 (Smart Stitching)**：将沉淀的经验自动写入 `SKILL.md`，确保持久化且不被版本更新覆盖。\n\n## 使用场景\n\n**Trigger**: \n- `\u002Fevolve`\n- \"复盘一下刚才的对话\"\n- \"我觉得刚才那个工具不太好用，记录一下\"\n- \"把这个经验保存到 Skill 里\"\n\n## 工作流 (The Evolution Workflow)\n\n### 1. 经验复盘 (Review & Extract)\n当用户触发复盘时，Agent 必须执行：\n1.  **扫描上下文**：找出用户不满意的点（报错、风格不对、参数错误）或满意的点（特定 Prompt 效果好）。\n2.  **定位 Skill**：确定是哪个 Skill 需要进化（例如 `yt-dlp` 或 `baoyu-comic`）。\n3.  **生成 JSON**：在内存中构建如下 JSON 结构：\n    ```json\n    {\n      \"preferences\": [\"用户希望下载默认静音\"],\n      \"fixes\": [\"Windows 下 ffmpeg 路径需转义\"],\n      \"custom_prompts\": \"在执行前总是先打印预估耗时\"\n    }\n    ```\n\n### 2. 经验持久化 (Persist)\nAgent 调用 `scripts\u002Fmerge_evolution.py`，将上述 JSON 增量写入目标 Skill 的 `evolution.json` 文件中。\n- **命令**: `python scripts\u002Fmerge_evolution.py \u003Cskill_path> \u003Cjson_string>`\n\n### 3. 文档缝合 (Stitch)\nAgent 调用 `scripts\u002Fsmart_stitch.py`，将 `evolution.json` 的内容转化为 Markdown 并追加到 `SKILL.md` 末尾。\n- **命令**: `python scripts\u002Fsmart_stitch.py \u003Cskill_path>`\n\n### 4. 跨版本对齐 (Align)\n当 `skill-manager` 更新了某个 Skill 后，Agent 应主动运行 `smart_stitch.py`，将之前保存的经验“重新缝合”到新版文档中。\n\n## 核心脚本\n\n- `scripts\u002Fmerge_evolution.py`: **增量合并工具**。负责读取旧 JSON，去重合并新 List，保存。\n- `scripts\u002Fsmart_stitch.py`: **文档生成工具**。负责读取 JSON，在 `SKILL.md` 末尾生成或更新 `## User-Learned Best Practices & Constraints` 章节。\n- `scripts\u002Falign_all.py`: **全量对齐工具**。一键遍历所有 Skill 文件夹，将存在的 `evolution.json` 经验重新缝合回对应的 `SKILL.md`。常用于 `skill-manager` 批量更新后的经验还原。\n\n## 最佳实践\n\n- **不要直接修改 SKILL.md 的正文**：除非是明显的拼写错误。所有的经验修正应通过 `evolution.json` 通道进行，这样可以保证在 Skill 升级时经验不丢失。\n- **多 Skill 协同**：如果一次对话涉及多个 Skill，请依次为每个 Skill 执行上述流程。\n","# Skill Evolution Manager\n\n这是整个 AI 技能系统的“进化中枢”。它不仅负责优化单个 Skill，还负责跨 Skill 的经验复盘和沉淀。\n\n## 核心职责\n\n1.  **复盘诊断 (Session Review)**：在对话结束时，分析所有被调用的 Skill 的表现。\n2.  **经验提取 (Experience Extraction)**：将非结构化的用户反馈转化为结构化的 JSON 数据（`evolution.json`）。\n3.  **智能缝合 (Smart Stitching)**：将沉淀的经验自动写入 `SKILL.md`，确保持久化且不被版本更新覆盖。\n\n## 使用场景\n\n**Trigger**: \n- `\u002Fevolve`\n- \"复盘一下刚才的对话\"\n- \"我觉得刚才那个工具不太好用，记录一下\"\n- \"把这个经验保存到 Skill 里\"\n\n## 工作流 (The Evolution Workflow)\n\n### 1. 经验复盘 (Review & Extract)\n当用户触发复盘时，Agent 必须执行：\n1.  **扫描上下文**：找出用户不满意的点（报错、风格不对、参数错误）或满意的点（特定 Prompt 效果好）。\n2.  **定位 Skill**：确定是哪个 Skill 需要进化（例如 `yt-dlp` 或 `baoyu-comic`）。\n3.  **生成 JSON**：在内存中构建如下 JSON 结构：\n    ```json\n    {\n      \"preferences\": [\"用户希望下载默认静音\"],\n      \"fixes\": [\"Windows 下 ffmpeg 路径需转义\"],\n      \"custom_prompts\": \"在执行前总是先打印预估耗时\"\n    }\n    ```\n\n### 2. 经验持久化 (Persist)\nAgent 调用 `scripts\u002Fmerge_evolution.py`，将上述 JSON 增量写入目标 Skill 的 `evolution.json` 文件中。\n- **命令**: `python scripts\u002Fmerge_evolution.py \u003Cskill_path> \u003Cjson_string>`\n\n### 3. 文档缝合 (Stitch)\nAgent 调用 `scripts\u002Fsmart_stitch.py`，将 `evolution.json` 的内容转化为 Markdown 并追加到 `SKILL.md` 末尾。\n- **命令**: `python scripts\u002Fsmart_stitch.py \u003Cskill_path>`\n\n### 4. 跨版本对齐 (Align)\n当 `skill-manager` 更新了某个 Skill 后，Agent 应主动运行 `smart_stitch.py`，将之前保存的经验“重新缝合”到新版文档中。\n\n## 核心脚本\n\n- `scripts\u002Fmerge_evolution.py`: **增量合并工具**。负责读取旧 JSON，去重合并新 List，保存。\n- `scripts\u002Fsmart_stitch.py`: **文档生成工具**。负责读取 JSON，在 `SKILL.md` 末尾生成或更新 `## User-Learned Best Practices & Constraints` 章节。\n- `scripts\u002Falign_all.py`: **全量对齐工具**。一键遍历所有 Skill 文件夹，将存在的 `evolution.json` 经验重新缝合回对应的 `SKILL.md`。常用于 `skill-manager` 批量更新后的经验还原。\n\n## 最佳实践\n\n- **不要直接修改 SKILL.md 的正文**：除非是明显的拼写错误。所有的经验修正应通过 `evolution.json` 通道进行，这样可以保证在 Skill 升级时经验不丢失。\n- **多 Skill 协同**：如果一次对话涉及多个 Skill，请依次为每个 Skill 执行上述流程。\n",{"name":5,"license":14,"description":7},"main","309495d95536f4a5e4db1a251f246589229e13e8",".claude\u002Fskills\u002Fskill-evolution-manager",0,"https:\u002F\u002Fgithub.com\u002Fcaobingsheng\u002Fskills","https:\u002F\u002Fgithub.com\u002Fcaobingsheng","2026-04-11 12:21:07",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add caobingsheng\u002Fskills --skill \"Skill Evolution Manager\"",{"tool":41,"command":42},"bunx","bunx skills add caobingsheng\u002Fskills --skill \"Skill Evolution Manager\"",{"tool":44,"command":45},"pnpm","pnpm dlx skills add caobingsheng\u002Fskills --skill \"Skill Evolution Manager\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcaobingsheng\u002Fskills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fskill-evolution-manager\u002FSKILL.md",true,[49,55,61,65],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},".openskills.json","REFERENCE","参考文档",208,"https:\u002F\u002Fgithub.com\u002Fcaobingsheng\u002Fskills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fskill-evolution-manager\u002F.openskills.json",{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"scripts\u002Falign_all.py","SCRIPT","脚本",1001,"https:\u002F\u002Fgithub.com\u002Fcaobingsheng\u002Fskills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fskill-evolution-manager\u002Fscripts\u002Falign_all.py",{"path":62,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":63,"sourceHtmlUrl":64},"scripts\u002Fmerge_evolution.py",2591,"https:\u002F\u002Fgithub.com\u002Fcaobingsheng\u002Fskills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fskill-evolution-manager\u002Fscripts\u002Fmerge_evolution.py",{"path":66,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":67,"sourceHtmlUrl":68},"scripts\u002Fsmart_stitch.py",2928,"https:\u002F\u002Fgithub.com\u002Fcaobingsheng\u002Fskills\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fskill-evolution-manager\u002Fscripts\u002Fsmart_stitch.py",[70,86,102,115,125,146],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":23},"01M6J72F9FX5W05JHBQQW9EHS5","tdd-workflows-tdd-refactor","Use when working with tdd workflows tdd refactor","https:\u002F\u002Fgithub.com\u002Fcaobingsheng\u002Fskills\u002Fblob\u002Fmain\u002Ftdd\u002Ftdd-workflows-tdd-refactor\u002FSKILL.md",[],[77,78,79,80,81,82,83,84,85],"tdd","workflows","refactor","tdd workflows","tdd workflows tdd refactor","use","community","with","unknown",{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":23},"01M6J72BQ4NV5HEX94RQJ8B4J2","tdd-workflows-tdd-red","Generate failing tests for the TDD red phase to define expected behavior and edge cases.","https:\u002F\u002Fgithub.com\u002Fcaobingsheng\u002Fskills\u002Fblob\u002Fmain\u002Ftdd\u002Ftdd-workflows-tdd-red\u002FSKILL.md",[],[93,77,78,94,80,95,96,97,83,98,99,100,101,85],"red","tdd workflows tdd red","edge","generate","behavior","define","tests","for","expected",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":23},"01M6J727C8Q52EG3RTQWMC2X61","tdd-workflows-tdd-green","Implement the minimal code needed to make failing tests pass in the TDD green phase.","https:\u002F\u002Fgithub.com\u002Fcaobingsheng\u002Fskills\u002Fblob\u002Fmain\u002Ftdd\u002Ftdd-workflows-tdd-green\u002FSKILL.md",[],[109,80,110,78,77,111,83,112,113,99,114,85],"green","tdd workflows tdd green","implement","minimal","code","make",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":23},"01M6J723JYFES8D9PHGY81QBHZ","tdd-workflows-tdd-cycle","Use when working with tdd workflows tdd cycle","https:\u002F\u002Fgithub.com\u002Fcaobingsheng\u002Fskills\u002Fblob\u002Fmain\u002Ftdd\u002Ftdd-workflows-tdd-cycle\u002FSKILL.md",[],[77,78,122,123,124,80,83,84,82,85],"cycle","tdd cycle","tdd workflows tdd cycle",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":23},"01M6J71ZC3W0FE9CKQGYRCSRCA","tdd-workflow","Use this skill when writing new features, fixing bugs, or refactoring code. Enforces test-driven development with 80%+ coverage including unit, integration, and E2E tests.","https:\u002F\u002Fgithub.com\u002Fcaobingsheng\u002Fskills\u002Fblob\u002Fmain\u002Ftdd\u002Ftdd-workflow\u002FSKILL.md",[],[132,133,77,134,135,82,136,137,84,138,139,99,140,141,142,143,113,144,145],"tdd workflow","workflow","writing","test","features","bugs","unit","driven","coverage","refactoring","e2e","integration","development","e2e tests",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":23},"01M6J71VTWV5GP7AQ08G4CDWFG","tdd-orchestrator","Master TDD orchestrator specializing in red-green-refactor discipline, multi-agent workflow coordination, and comprehensive test-driven development practices.","https:\u002F\u002Fgithub.com\u002Fcaobingsheng\u002Fskills\u002Fblob\u002Fmain\u002Ftdd\u002Ftdd-orchestrator\u002FSKILL.md",[],[77,153,154,155,85,156,93,139,109,157,83,158,159,160,161,79,144,135,133],"orchestrator","tdd orchestrator","master","multi","agent workflow","red-green-refactor","discipline","multi-agent","coordination"]