This commit is contained in:
Ubuntu
2026-07-03 16:58:28 +08:00
commit 32b43f85bd
6240 changed files with 1987678 additions and 0 deletions
+77
View File
@@ -0,0 +1,77 @@
# ⚠️ 重要:Skills 代码同步说明
## 📂 代码存放位置(两份)
| 用途 | 完整路径 | 说明 |
|------|---------|------|
| **运行时** | `/home/ubuntu/.nanobot/workspace/skills/` | nanobot实际使用的技能 |
| **版本控制** | `/home/ubuntu/nanocode/skills/` | Git仓库中的技能 |
## 🔄 同步流程
### 开发流程(nanobot → Git)
```bash
# 1. 在nanobot中开发和测试技能
# ~/.nanobot/workspace/skills/xxx/
# 2. 同步到Git仓库
bash /home/ubuntu/nanocode/sync-skills.sh 1
# 3. 提交Git
cd /home/ubuntu/nanocode
git add skills/
git commit -m "更新xxx技能"
git push
```
### 部署流程(Git → nanobot)
```bash
# 1. 从Git拉取更新
cd /home/ubuntu/nanocode
git pull
# 2. 同步到nanobot工作区
bash /home/ubuntu/nanocode/sync-skills.sh 2
```
## 📋 当前技能列表
| 技能名称 | 路径 | 说明 |
|---------|------|------|
| anti-ai-detector | `skills/anti-ai-detector/` | 去AI化技能(中文/英文/小红书) |
| xiaohongshu_integration | `skills/xiaohongshu_integration/` | 小红书发布集成 |
| markitdown-converter | `skills/markitdown-converter/` | 文档转Markdown |
| chat-history-exporter | `skills/chat-history-exporter/` | 聊天记录导出 |
| image-generation | `skills/image-generation/` | 图片生成 |
| email-sender | `skills/email-sender/` | 邮件发送 |
| lightpanda_enhancer | `skills/lightpanda_enhancer/` | 网页抓取增强 |
| office-document-specialist-suite | `skills/office-document-specialist-suite/` | Office文档处理 |
| context-hub | `skills/context-hub/` | 上下文管理 |
| self-improving-agent | `skills/self-improving-agent/` | 自我改进代理 |
## ⚡ 快速命令
```bash
# 查看差异
bash sync-skills.sh 3
# nanobot → Git
bash sync-skills.sh 1
# Git → nanobot
bash sync-skills.sh 2
```
## 📝 提交前检查清单
- [ ] 技能在nanobot工作区已测试通过
- [ ] 运行 `bash sync-skills.sh 1` 同步到Git
- [ ] 检查 `git status` 确认变更文件
- [ ] 提交并推送
---
**注意**: 务必保持两份代码一致,避免运行时和版本控制不一致!
**最后更新**: 2026-03-20