Problem
Users often tweak skills locally. Currently WeSight has no way to detect these modifications before an upgrade overwrites them. There is also no way to back up or share a set of skills as an archive.
Goals
- Track a canonical checksum/hash for each skill file set at install/upgrade time.
- Compare current files against the recorded checksum to detect local modifications (
dirty state).
- UI: show "modified" badge on skill cards and in detail modal.
- Export:
- Single skill →
.zip
- Selected skills / all user skills →
.collection.zip with manifest
- Import:
- Accept
.zip (single skill) and .collection.zip (multiple skills).
- Read manifest, validate, scan security, install.
Acceptance Criteria
问题
用户经常会在本地调试或修改 skill。目前 WeSight 无法在升级前识别这些本地修改,导致升级直接覆盖。同时也没有把一组 skill 打包备份或分享的能力。
目标
- 在安装/升级时为每个 skill 的文件集合记录基准 checksum/hash。
- 将当前文件与记录的 checksum 比较,检测本地修改(
dirty 状态)。
- UI:在 skill 卡片和详情弹窗中展示"已修改"标识。
- 导出:
- 单个 skill →
.zip
- 选中 skill / 全部用户 skill →
.collection.zip(带 manifest)
- 导入:
- 支持
.zip(单个 skill)和 .collection.zip(多个 skill)。
- 读取 manifest、校验、安全扫描、安装。
验收标准
Problem
Users often tweak skills locally. Currently WeSight has no way to detect these modifications before an upgrade overwrites them. There is also no way to back up or share a set of skills as an archive.
Goals
dirtystate)..zip.collection.zipwith manifest.zip(single skill) and.collection.zip(multiple skills).Acceptance Criteria
问题
用户经常会在本地调试或修改 skill。目前 WeSight 无法在升级前识别这些本地修改,导致升级直接覆盖。同时也没有把一组 skill 打包备份或分享的能力。
目标
dirty状态)。.zip.collection.zip(带 manifest).zip(单个 skill)和.collection.zip(多个 skill)。验收标准