# operations 良渚日报月报 Skill 治理记录

## 本次目标

按用户要求，先治理运营机器人中良渚日报/月报相关的大 Skill：

1. 将原 `liangzhu-ecommerce-reporting` 完整移动备份到本项目；
2. 从原 Skill 中只提取日报/月报报表输出格式、数据合并规则、表格要求；
3. 删除原运行时 Skill，停止其继续作为大而全流程被 operations 召回；
4. 新建窄版运行时 Skill：`liangzhu-daily-monthly-report-format`；
5. 排除数据库、千牛/京东/阿里妈妈平台操作、GUI、Bot2、Kanban、cron、dashboard、NAS 写入、Git 等扩散动作。

## 实际处理

### 已备份并删除

原运行时 Skill：

```text
/Users/bot1/.hermes/profiles/operations/skills/devops/liangzhu-ecommerce-reporting
```

备份位置：

```text
backups/deleted_skills/liangzhu-ecommerce-reporting_original_20260610_2338/
```

校验文件：

```text
docs/backup_sha256_manifest.txt
```

### 参考备份

首次治理时，`liangzhu-monthly-report-generation` 先作为参考 Skill 备份，便于抽取月报格式内容：

```text
backups/reference_skills/liangzhu-monthly-report-generation_reference_20260610_2338/
```

后续同类合并时，已将其中可复用的月报、推广分析、接手前后对比和 Excel 校验规则合并入 `liangzhu-daily-monthly-report-format`，并从运行时目录删除该重复 Skill。

删除前完整备份：

```text
backups/same_class_merge_20260610_2352/running_before_edit/liangzhu-monthly-report-generation_before_delete_20260610_2352/
```

### 新建窄版 Skill

新 Skill 路径：

```text
/Users/bot1/.hermes/profiles/operations/skills/devops/liangzhu-daily-monthly-report-format/SKILL.md
```

新 Skill 只覆盖：

- 良渚日报/周报/月报 Excel 输出格式；
- 数据合并字段和日期窗口；
- 核心指标计算；
- 商品 TOP 和推广分析要求；
- Excel 校验要求；
- 最终回复边界。

明确不覆盖：

- 数据库入库/查询；
- 千牛、京东、阿里妈妈导出；
- GUI / HAR / Cookie / 登录态；
- Bot2 / IT2 / Kanban / operator；
- cron / watchdog / dashboard 部署；
- Git / Gitee / NAS 共享知识库写入。

## 当前状态

同类合并后，operations profile 中良渚日报/月报格式类只保留：

```text
/Users/bot1/.hermes/profiles/operations/skills/devops/liangzhu-daily-monthly-report-format/SKILL.md
```

`liangzhu-ecommerce-reporting` 与 `liangzhu-monthly-report-generation` 均已从运行时 skills 目录删除，并保留完整备份。

通用汇报风格 Skill `ops-data-reporting-queen-style` 保留，但已去掉其中的良渚日报/周报具体格式内容，改为指向本窄版 Skill，避免重复维护。

详细同类合并记录：

```text
docs/same_class_merge_20260610_2352.md
```

随后按用户指示删除平台导出类 Skill，删除前已完整备份：

```text
backups/deleted_platform_exporters_20260611_0003/
```

已删除运行时 Skill：

```text
qianniu-exporter
jd-report-exporter
alimama-exporter
```

详细记录：

```text
docs/platform_exporters_deleted_20260611_0003.md
```

后续按用户确认，清理电商运营伞形 / 汇报风格 / 路由索引组：

```text
backups/ecommerce_reporting_router_cleanup_20260611_0009/
```

处理结果：

```text
ecommerce-operations                         已备份并从运行时删除
ops-data-reporting-queen-style               已收窄为纯汇报表达风格
operations-project-experience-index          已收窄为短路由索引
```

详细前后对比：

```text
docs/ecommerce_reporting_router_cleanup_20260611_0009.md
```

用户随后纠正：`ecommerce-operations` 中活动选品、库存盘点、推广费申请、报价重算属于仍需保留的业务 SOP，不应作为冗余日报/月报流程删除。已从备份恢复并收窄边界：

```text
/Users/bot1/.hermes/profiles/operations/skills/ecommerce-operations
```

恢复记录：

```text
docs/ecommerce_operations_sop_restored_20260611.md
```

随后按用户提醒，对已治理 Skill 的名称、触发范围和触发词做一致性修正：

```text
backups/skill_name_trigger_alignment_20260611_0030/
docs/skill_name_trigger_alignment_20260611_0030.md
```

当前关键运行时名称：

```text
liangzhu-daily-monthly-report-format   良渚日报/周报/月报 Excel 报表格式
ecommerce-operations-sop               电商运营 SOP：选品/库存/推广费/报价
operations-briefing-style              已有数据的汇报表达/核心亮点/口播稿
operations-project-experience-index    运营项目经验短路由
```

随后继续清理 operations 中与运营职责不匹配的泛化大 Skill：

```text
backups/non_operations_generic_skills_removed_20260611_0039/
docs/non_operations_generic_skills_removed_20260611_0039.md
```

结果：删除 34 个 operations profile 本地泛化 Skill，并在 operations config 中禁用 13 个 shared 泛化 Skill；保留 13 个本地业务/文档处理 Skill。

随后按用户确认，对 operations 中国博相关 Project/表单/发货/补货 Skill 做只收窄、不删除的治理：

```text
backups/guobo_skill_narrowing_20260611_0100/
docs/guobo_skill_narrowing_20260611_0106.md
```

结果：保留国博业务 SOP，收窄 4 个核心国博 Skill 的职责边界，消除表单模板规则冲突，把补货历史主体/供应商事实和地址查询迁移到 reference，并更新运营项目路由索引。
