refactor: 消灭 skill.json,SKILL.md 成为唯一真相源

- 将 skill.json 中的 icon、shortDesc、category、maintainer、
  compatibleAgents、channel 迁移到 SKILL.md frontmatter 的 market 段
- 将 skill.json 中的 changelog 字段提取为独立 CHANGELOG.md
- 删除所有 skill.json(downloads/rating/ratingCount 等虚假数据一并移除)
- 版本号统一从 SKILL.md frontmatter version 读取

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-27 20:38:00 +08:00
parent 89e68de812
commit b8ba404577
12 changed files with 136 additions and 144 deletions

View File

@@ -0,0 +1,5 @@
# Changelog
## [2.1.0] - 2026-02-26
- 移除 fetch_api 依赖,改为通过 Bash/curl 调用 HTTP APIAPI 地址由 system prompt 注入

View File

@@ -7,8 +7,34 @@ status: enabled
disable-model-invocation: true
metadata:
author: desirecore
version: "2.1.0"
updated_at: "2026-02-26"
version: 2.1.0
updated_at: '2026-02-26'
version: 2.1.0
tags:
- 智能体
- 删除
- 元技能
- 清理
- 安全
market:
icon: >-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0
24 24" fill="none"><defs><linearGradient id="da2-a" x1="2" y1="7" x2="16"
y2="21" gradientUnits="userSpaceOnUse"><stop stop-color="#FF9500"/><stop
offset="1" stop-color="#FF3B30"/></linearGradient></defs><circle cx="9"
cy="7" r="4" fill="url(#da2-a)" fill-opacity="0.15" stroke="url(#da2-a)"
stroke-width="1.5"/><path d="M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2"
fill="url(#da2-a)" fill-opacity="0.1" stroke="url(#da2-a)"
stroke-width="1.5"/><circle cx="19" cy="11" r="4" fill="#FF3B30"
fill-opacity="0.12"/><line x1="16.5" y1="11" x2="21.5" y2="11"
stroke="#FF3B30" stroke-width="2" stroke-linecap="round"/></svg>
short_desc: 安全删除智能体及其关联数据,支持多重确认与可选历史清理
category: productivity
maintainer:
name: DesireCore Official
verified: true
compatible_agents: []
channel: latest
---
# delete-agent 技能

View File

@@ -1,32 +0,0 @@
{
"id": "delete-agent",
"name": "删除智能体",
"icon": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\"><defs><linearGradient id=\"da2-a\" x1=\"2\" y1=\"7\" x2=\"16\" y2=\"21\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#FF9500\"/><stop offset=\"1\" stop-color=\"#FF3B30\"/></linearGradient></defs><circle cx=\"9\" cy=\"7\" r=\"4\" fill=\"url(#da2-a)\" fill-opacity=\"0.15\" stroke=\"url(#da2-a)\" stroke-width=\"1.5\"/><path d=\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2\" fill=\"url(#da2-a)\" fill-opacity=\"0.1\" stroke=\"url(#da2-a)\" stroke-width=\"1.5\"/><circle cx=\"19\" cy=\"11\" r=\"4\" fill=\"#FF3B30\" fill-opacity=\"0.12\"/><line x1=\"16.5\" y1=\"11\" x2=\"21.5\" y2=\"11\" stroke=\"#FF3B30\" stroke-width=\"2\" stroke-linecap=\"round\"/></svg>",
"shortDesc": "安全删除智能体及其关联数据,支持多重确认与可选历史清理",
"fullDesc": "删除智能体是一个元技能,允许安全地删除不再使用的 Agent。执行前会验证智能体状态清理文件系统、内存状态、消息订阅等所有关联数据支持可选地删除会话历史。\n\n功能特性\n- 状态检查:自动验证智能体是否处于可删除状态\n- 完整清理文件系统、调度器、消息订阅、MCP 连接一并清除\n- 可选历史:默认保留会话历史,可选择同时删除\n- 多重确认:高风险操作,需用户多步确认\n- 结果报告:输出详细的清理回执",
"category": "productivity",
"tags": [
"智能体",
"删除",
"元技能",
"清理",
"安全"
],
"version": "2.1.0",
"updatedAt": "2026-02-26",
"maintainer": {
"name": "DesireCore Official",
"verified": true
},
"downloads": 0,
"rating": 0,
"ratingCount": 0,
"installStatus": "not_installed",
"riskLevel": "high",
"requires": {
"tools": [],
"connections": []
},
"compatibleAgents": [],
"changelog": "v2.1.0: 移除 fetch_api 依赖,改为通过 Bash/curl 调用 HTTP APIAPI 地址由 system prompt 注入"
}