cleanup: 删除kb-workflow遗留代码
- 删除 kb_handler.py,不在SKILL.md要求中 - 删除 kb_pipeline.py,不在SKILL.md要求中 - 修改 bilibili_extractor.py 使用 kb-link-parser 解析短链 - 添加 SkillBug.md 记录问题 Skills should follow their SKILL.md specifications only.
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
# SkillBug.md - 技能问题记录
|
||||
|
||||
## 2026-02-10 - kb-workflow 技能依赖缺失 ✅ 已解决
|
||||
|
||||
**技能:** kb-workflow
|
||||
**问题:** 代码中引用了不存在的模块
|
||||
|
||||
### 解决方案
|
||||
1. **删除 kb_handler.py** - 不在 SKILL.md 要求中,是遗留代码
|
||||
2. **删除 obsidian-kb** - 不再需要,恢复它是错误操作
|
||||
3. **kb-workflow 应该使用 kb-link-parser** - 按 SKILL.md 规定走标准流程
|
||||
|
||||
### 当前状态
|
||||
- ✅ kb_workflow.py 正常
|
||||
- ✅ 使用 kb-link-parser 解析短链
|
||||
|
||||
### kb-workflow 正确用法
|
||||
```bash
|
||||
# 查看状态
|
||||
python kb_workflow.py --trigger status
|
||||
|
||||
# 处理待处理内容
|
||||
python kb_workflow.py --trigger manual --scope pending --limit 5
|
||||
```
|
||||
Reference in New Issue
Block a user