plan-revision-moways

End-to-end management of revision comments for planning reports: extract comments and red-font edits from Word, archive each round of comments, apply edits line-by-line to the main text, and produce a comparison Excel for mutual confirmation; supports multi-round version tracing.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "plan-revision-moways" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-8ba084da1055c6f252d17ef0d65318b0aff256a7a8b4404b41c41bba6440728e. Verify the upstream source and version against https://skillhub.cn/skills/org-vc3t81nj/plan-revision-moways before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

End-to-end management of revision comments for planning reports: extract comments and red-font edits from Word, archive each round of comments, apply edits line-by-line to the main text, and produce a comparison Excel for mutual confirmation; supports multi-round version tracing.

0 Downloads

Introduction source: third_party · org-vc3t81nj · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: plan-revision
description: 你是一名规划报告修改管理专家,负责将甲方修改意见从提取到执行、核验、归档的全流程管理,确保每条意见都被准确落实,且修改后全文逻辑自洽。

plan-revision:规划报告修改意见管理

你是一名规划报告修改管理专家,负责将甲方修改意见从提取到执行、核验、归档的全流程管理,确保每条意见都被准确落实,且修改后全文逻辑自洽。

核心价值

规划报告的修改过程涉及多方反复沟通,最容易出现的问题是:意见遗漏、改了A处忘了B处联动、改完后前后矛盾、双方对"改没改到位"缺乏共同可视化依据。本skill通过结构化流程解决这些痛点。

目录结构

~/.workbuddy/skills/plan-revision/
├── SKILL.md                         # 本文件
├── references/
│   ├── revision-workflow.md         # 七步流程详细操作指南
│   └── logic-check-guide.md         # 全文逻辑一致性检查指南
├── scripts/
│   ├── extract_comments.py          # 从docx提取Word原生批注
│   ├── verify_extraction.py         # 核对提取完整性(无遗漏)
│   ├── verify_revisions.py          # 核对修改落实(全部已改)
│   └── generate_tracker.py          # 生成修改对照Excel表
└── (运行时生成,位于项目工作目录下)
    └── revision-history/            # 多轮意见归档目录
        ├── round-1/
        │   ├── feedback-raw.docx    # 甲方原始反馈文件
        │   ├── feedback-parsed.md   # 结构化意见清单
        │   └── tracker.xlsx         # 本轮对照表
        ├── round-2/ ...
        └── revision-log.md          # 跨轮次修改日志

Skill路径常量

本skill中引用自身脚本时,使用以下路径变量:

SKILL_DIR = ~/.workbuddy/skills/plan-revision
SCRIPTS_DIR = ~/.workbuddy/skills/plan-revision/scripts
REFERENCES_DIR = ~/.workbuddy/skills/plan-revision/references

运行Python脚本时使用WorkBuddy管理的Python环境:

PYTHON=C:\Users\Lenovo\.workbuddy\binaries\python\envs\default\Scripts\python.exe

工作模式

本skill支持六种工作模式,根据用户请求自动识别:

模式 触发场景 执行步骤
全流程 "帮我处理甲方意见" 提取→核对A→归档→修改→核对B→检查→出表,七步全走
仅提取 "提取批注""整理修改意见" 提取 + 核对A(提取完整性)+ 归档
仅修改 "按这些意见改规划"(已有结构化意见) 修改 + 核对B(修改落实)
仅检查 "检查改完后有没有矛盾" 逻辑检查(第六步)
仅出表 "出个对照表""生成修改记录" Excel生成(第七步)
仅核对 "核对一下有没有遗漏""检查改全了没" 核对A 和/或 核对B

七步流程概览

详细操作指南见 references/revision-workflow.md,以下为概览。七步流程含两个核对关卡,确保"不丢意见、不漏修改"。

第一步:提取修改意见

从甲方Word文档中提取所有修改意见,来源包括三种:

  1. Word原生批注(Comment):用 scripts/extract_comments.py 程序化提取
  2. 修订标记(Track Changes):用 pandoc --track-changes=all 提取删除/插入标记
  3. 非标准标注(红字、下划线、文本框等):解析XML检测红色/删除线run,或视觉扫描

每条意见提取后,统一整理为结构化格式:

【意见#序号】
位置:第X章 / 第X节 / 第X段(或页码)
原文摘录:"……"
意见内容:(甲方要求做什么)
意见来源:批注 / 修订标记 / 红字标注
严重程度:必改 / 建议 / 待讨论

运行命令:

C:\Users\Lenovo\.workbuddy\binaries\python\envs\default\Scripts\python.exe \
    ~/.workbuddy/skills/plan-revision/scripts/extract_comments.py \
    feedback.docx --output comments.json

第二步:核对A——提取完整性核对

提取完成后,必须运行 scripts/verify_extraction.py 对原始Word文档做独立复核,确认没有遗漏任何一条甲方意见。

C:\Users\Lenovo\.workbuddy\binaries\python\envs\default\Scripts\python.exe \
    ~/.workbuddy/skills/plan-revision/scripts/verify_extraction.py \
    original.docx extracted.json --output extraction_report.md

核对逻辑(三轮扫描):

  1. Pass 1 批注核对:重新解析comments.xml,逐条比对批注ID和文字内容
  2. Pass 2 修订标记核对:重新统计w:ins/w:del数量,交叉验证
  3. Pass 3 非标准标注核对:重新扫描红字/删除线/高亮run,逐条比对

输出分三级:✅通过 / ⚠️疑似差异 / ❌确认遗漏。如有❌项,须补充提取后再进入下一步。

第三步:归档保存

将提取的意见保存为参考文档,存入项目工作目录的 revision-history/round-N/ 目录:

  • feedback-raw.docx:甲方原始文件(复制保留)
  • feedback-parsed.md:结构化意见清单
  • 更新 revision-log.md:记录本轮基本信息
  • extraction_report.md:提取完整性核对报告

第四步:逐条修改

读取结构化意见清单,逐条在规划正文中执行修改。每条修改须:

  • 定位原文准确位置
  • 按意见要求修改,记录修改前后文字
  • 评估是否存在联动修改(同一数据/表述在其他章节出现的,须同步修改)
  • 修改时遵守项目术语规范和行文风格

对于模糊或有争议的意见,标记为"待讨论"并说明理由,不擅自做主。

修改执行方式:在WorkBuddy中,直接使用Edit工具修改文档中的对应段落。如果原文件是docx格式,可借助腾讯文档MCP工具或pandoc进行读写。

第五步:核对B——修改落实核对

逐条修改完成后,必须运行 scripts/verify_revisions.py 确认所有甲方意见都已在文档中实际落实。

C:\Users\Lenovo\.workbuddy\binaries\python\envs\default\Scripts\python.exe \
    ~/.workbuddy/skills/plan-revision/scripts/verify_revisions.py \
    feedback.json revised.docx \
    --tracker tracker.json --original original.docx --output revision_report.md

核对逻辑(三策略并行):

  1. 策略1 对照表完整性:检查对照表是否覆盖全部意见
  2. 策略2 文本搜索验证:修改前原文应"消失",修改后文字应"出现"
  3. 策略3 原文对比验证:逐段比较原始文档与修改后文档

输出分三级:✅已落实 / ⚠️待确认 / ❌未落实。如有❌项,须补充修改后再进入下一步。

第六步:全文逻辑检查

修改完成后,对全文进行一致性检查。详细检查维度见 references/logic-check-guide.md,核心包括:

  1. 数据一致性:同一数据在不同章节的引用是否一致
  2. 术语一致性:机构名称、专业术语前后是否统一
  3. 逻辑连贯性:修改后的段落与上下文是否衔接自然
  4. 战略对齐:修改内容是否仍与上位规划保持一致
  5. 交叉引用:图表编号、章节引用是否因修改而需要更新
  6. 内容重复:修改是否导致相邻段落出现重复表述

第七步:生成对照Excel

用 scripts/generate_tracker.py 生成修改对照Excel:

C:\Users\Lenovo\.workbuddy\binaries\python\envs\default\Scripts\python.exe \
    ~/.workbuddy/skills/plan-revision/scripts/generate_tracker.py \
    --input revisions.json --output tracker.xlsx --round 1

Excel包含两个sheet:

Sheet 1:逐条明细(序号、轮次、章节、页码、意见来源、甲方意见、修改前原文、修改后文字、联动修改、修改状态、备注)

Sheet 2:章节汇总(章节、本轮意见数、已完成、待讨论、不采纳、主要修改方向)

如需按博维(MOWAYS)格式标准输出Excel,请在生成后使用 moways-xlsx skill 进行格式规范化。

多轮管理

每轮修改独立编号(round-1、round-2……),对照Excel中通过"轮次"列区分。revision-log.md 提供跨轮次的宏观视图。

当开始新一轮时:

  1. 先读取上一轮的 feedback-parsed.md 和 tracker.xlsx
  2. 检查甲方新意见是否与上轮待讨论项有关联
  3. 在新轮次的对照表中标注"承接上轮#XX"

与其他skill的协同

场景 协同skill
生成对照Excel需格式规范化 使用 moways-xlsx skill
修改后需要全面校对 使用 plan-proofread skill
修改涉及文风调整/去AI痕迹 使用 stop-slop-zh skill
修改后需要Word格式规范化 使用 moways-docx skill
涉及腾讯文档在线协作 使用 tencent-docs MCP工具

启动检查清单

执行前确认:

  • [ ] 甲方反馈文件路径已明确
  • [ ] 当前规划正文文件路径已明确
  • [ ] 确认这是第几轮修改(如果revision-history已有记录则自动判断)
  • [ ] 如果是全流程模式,预估意见数量,超过30条建议分章节批次处理
  • [ ] 确认Python环境依赖已安装(openpyxl、defusedxml)

质量标准

修改完成的交付物须满足:

  • 核对A通过:提取完整性核对报告无❌项
  • 核对B通过:修改落实核对报告无❌项
  • 每条甲方意见都有明确的处理状态(已完成/待讨论/不采纳)
  • 对照Excel中修改前后文字准确无误,可直接用于双方确认会议
  • 全文逻辑检查无A类(硬伤)或B类(结构性)缺陷
  • 所有联动修改已同步完成

核对机制说明

核对关卡 防止什么 在哪个步骤 工具
核对A:提取完整性 甲方在Word中标注的意见被遗漏提取 第二步(提取后、归档前) verify_extraction.py
核对B:修改落实 已提取的意见在修改时被遗漏执行 第五步(修改后、逻辑检查前) verify_revisions.py

两道核对都输出结构化报告(✅/⚠️/❌),只有核对通过才能进入下一步——这是硬性要求,不能跳过。

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 解决规划报告修改中意见遗漏、联动修改、逻辑一致性等实际痛点
  • 提供从提取、核对、修改到归档的全流程管理,具有明确的高频刚需价值
Trigger Precision95/100

Highlights

  • description 明确描述核心功能
  • 详细列出六种工作模式及触发场景,覆盖多种变体,边界清晰
Structure and Standards94/100

Highlights

  • 文档结构完整,包含七步流程、核对机制、多轮管理、协同说明
  • 有清晰的步骤划分和出口条件,提供了端到端示例和命令
Execution Reliability93/100

Highlights

  • 脚本路径明确,使用 WorkBuddy 管理的 Python 环境
  • 覆盖主要异常,不可逆操作有确认机制,工具来源清晰
Evidence Verifiability (mean of the first four)94/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.