compare
Compare two document versions and produce analysis or a Word redline. Use when the user has two versions of a document and wants to understand what changed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Compare two document versions and produce analysis or a Word redline. Use when the user has two versions of a document and wants to understand what changed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Edit existing DOCX files — tracked-change redlines, placeholder fills, range deletes, comments, and accept/reject finalization. Plain-text-only tools; no raw OOXML. For structural edits beyond text replacement, invoke `Skill('docx-xml')`.
Advanced — structural OOXML edits via run_code + lxml + zipfile. Use ONLY when the docx-editing tools (edit_document, add_comment, accept/reject, revert_edit) can't express the change. For ordinary text edits, use the docx-editing skill instead.
Draft a NEW document from scratch via docx-js (run_code language="node"). Use when the user wants to create new legal content from a blank page — agreements, memos, letters, resolutions, term sheets. For filling an existing template with placeholder values, use the `docx-editing` skill instead.
Quality assurance review — 6-dimension checklist covering template compliance, factual accuracy, completeness, track changes, research audit, and instruction cross-reference.
Research a legal topic with web search and inline citations. Use when the user needs legal information, market standards, regulatory guidance, or case law references.
Review a document against playbook positions. Analyze clauses for risks, flag issues, suggest specific changes, and apply edits. Subsumes redlining — review + fix is one workflow.
| name | compare |
| emoji | 🔄 |
| description | Compare two document versions and produce analysis or a Word redline. Use when the user has two versions of a document and wants to understand what changed. |
| requires | {"tools":["read_document","compare","run_code","list_documents"]} |
Use this skill when:
read_documentcompare with both document paths or texts — this returns a structured diff, similarity percentage, and visual outputrun_code (default Python) to generate a DOCX with tracked changes. Open the original with python-docx, compute a diff against the revised text, and insert w:ins/w:del tracked-change markup via lxml. See /docx-editing skill for OOXML tracked change patterns. Verify the output with structural checks.