fix: 修正 SkillItem 类型为标准的 Anthropic SKILL.md 格式

将 SkillItem 从虚构的 detail/triggers/instructions/format 字段简化
为标准 SKILL.md 定义:name + description + body。

- protocol.ts: SkillItem 精简为 {name, description, body}
- SkillsView.tsx: 从 3 层改为 2 层渐进式披露
- skills.ts / skills-loader.ts: 去掉多余的映射字段
- .gitignore: 排除外部 skills/ 仓库克隆目录
This commit is contained in:
carry
2026-06-07 22:57:46 +08:00
parent e47587f492
commit b8e4961d10
5 changed files with 41 additions and 142 deletions
+1
View File
@@ -2,3 +2,4 @@ node_modules/
dist/
.DS_Store
*.tsbuildinfo
skills/