docx-diff-comment
Compare two Word documents to find new features in V2, add comments to the V2 document for each new feature, and generate a requirements table with effort…
Skill by trae-community
Chalk Labs
Need help deploying docx-diff-comment?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/trae-community-docx-diff-comment
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/docx-diff-comment
What's inside
- Skill name
docx-diff-comment- Description
- Compare two Word documents to find new features in V2, add comments to the V2 document for each new feature, and generate a requirements table with effort estimation in person-days. Invoke when user asks to compare two docx documents, add comments for new features, or generate a requirements diff table.
- License
- MIT
- Instructions
- 115 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Docx Diff & Comment
## Description
This skill compares two versions of a Word document (V1 and V2), identifies new features added in V2, adds Word comments (annotations) to the V2 document at each new feature location, and generates a standalone requirements table sorted by development effort (person-days).
## Prerequisites
The following tools are required:
- **pandoc**: Convert docx to markdown for text extraction and comparison
- **python-docx**: Generate the requirements table as a Word document
- **docx unpack/pack utilities**: Helper scripts (`unpack.py`, `comment.py`, `pack.py`, `sanitize.py`) to manipulate the OOXML structure of docx files (these scripts are typically available in docx-processing toolkits)
## Usage Scenario
- Comparing two versions of a requirements document or project plan
- Annotating new features in a revised document
- Generating a development effort estimation table for new requirements
## Instructions
### Step 1: Extract Text & Compare
1. Use `pandoc` to convert both docx files to markdown:
```
pandoc v1.docx -o v1_content.md
pandoc v2.docx -o v2_content.md
```
2. Read both md files, compare paragraph by paragraph, identify new features, chapters, and sub-modules in V2
3. For each new item, record: feature name, module, description
### Step 2: Add Comments to V2 Document
1. Unpack V2 docx:
```
python scripts/unpack.py v2.docx v2_unpacked/
```
2. Read `v2_unpacked/word/document.xml`, locate the `<w:r>...</w:r>` block containing each new feature text
3. Create comments using `comment.py`. Use a consistent comment template and author:
```
python scripts/comment.py v2_unpacked/ <comment_id> "V2 new feature: <module> / <feature>. Not present in V1, added in V2."
```
- Comment author should be set to "AI Assistant"
- `comment_id` starts from 0 and increments for each new feature
4. Insert comment markers into document.xml:
- Before the target `<w:r>`: `<w:commentRangeStart w:id="N"/>`
- After `</w:r>`: `<w:commentRangeEnd w:id="N"/><w:r><w:rPr><w:rStyle w:val="CommentReference"/></w:rPr><w:commentReference w:id="N"/></w:r>`
- Markers must be direct children of `<w:p>`, never inside `<w:r>`
- Insert from the end backward to avoid position offset
5. Pack the annotated document:
```
python scripts/pack.py v2_unpacked/ v2_annotated.docx --original v2.docx
```
6. Run `sanitize.py` to clean up any malformed XML or orphaned comment references
### Step 3: Generate Requirements Table
Use `python-docx` to generate a Word table with these columns:
| Column | Description |
|--------|-------------|
| No. | Sorted by effort descending |
| Feature Name | Name of the new feature |
| Module | Functional module |
| Description | Brief description |
| Development Content | Specific dev work |
| Effort (person-days) | Estimated days |
Append summary row with total feature count and total person-days.
## Effort Estimation Reference
The following table provides reference effort ranges for common feature types. Final estimates should be adjusted based on actual complexity, team size, and technology stack.
| Feature Type | Reference Range (person-days) | Description | Example |
|-------------|------------------------------|-------------|---------|
| Brand-new independent module (with algorithm/model) | 6–10 | Module introduces new technical capability; may involve ML/NLP components | AI measurement, NLP parsing, rule engine |
| Visualization component integration | 4–6 | Integrate third-party or self-built visualization widgets | GIS map dashboard, chart library, data timeline |
| Interactive feature development | 3–5 | New user interactions on existing pages | Area selection query, layer toggle, drag-and-drop |
| Data storage / export enhancement | 2–3 | Extend existing data workflows | Save & download, Excel export, file upload |
| Statistics / classification function | 1–2 | Add or refine counting/categorical logic | Project status statistics, report breakdown by dimension |
| Documentation / process design | 1 | Non-code work items | API doc writing, mechanism design, acceptance plan |
> **Note**: These are reference values only. Always document assumptions in the table footer.
## Notes
1. **Comparison scope**: Focus on structural differences — new modules, sub-features, chapters. Ignore wording tweaks, typo fixes, and formatting changes.
2. **Cleanup**: Delete temporary files (`.md`, unpacked directories) after completion. Only keep the final deliverables.
3. **Deliverable naming convention**:
- `{DocumentName}_V2_with_comments.docx` — Annotated V2 document with all new features highlighted
- `V2_New_Requirements_Table.docx` — Requirements table sorted by effort (person-days), with summary row
4. **Batch comment insertion**: When inserting multiple comment markers in `document.xml`, always process from the **end of the file backward** to avoid position offsets.
## Examples
### Input
User provides two docx files:
- `Platform_V1.docx` (old version)
- `Platform_V2.docx` (new version)
### Output
1. `Platform_V2_annotated.docx` — V2 document with comments on all new features
2. `V2_new_requirements_table.docx` — Requirements table sorted by effort, e.g.:
| No. | Feature | Module | Effort (days) |
|-----|---------|--------|---------------|
| 1 | AI Calculation | Investment | 8 |
| 2 | Map Visualization | Dashboard | 5 |
| 3 | Infrastructure Dashboard | Dashboard | 5 |
| ... | ... | ... | ... |
| Total | | | 34 |From trae-community/trae-skills, MIT.
More from trae-community/trae-skills
- 0.610score
cycle-delivery
trae-community
Governs evidence-gated software delivery through the local Cycle control plane.
SkillBFreshness: B★ 21Claude Code +9 - 0.610score
project-governance
trae-community
为 AI 长期项目建立「项目记忆 + 文件索引 + 工作规则 + 版本记录」的治理系统,让 AI 在长期项目里「不忘事、不乱改、不重复犯错」,换会话后仍能接着做。Set up and maintain a project governance workspace for AI-assisted…
SkillBFreshness: B★ 21Claude Code +9 - 0.607score
entropy-box-zh
trae-community
以箱熵(Entropy Box)的方案咨询 Consult 为核心,把边界明确的具身智能技术需求转化为候选实现方法和有依据的工程工作流。先由当前大模型澄清并拆分宽泛需求,分别咨询具体子问题,再用 Search 深入了解已选技术、用 Lookup 锚定实体、用 Evidence…
SkillBFreshness: B★ 21Claude Code +9 - 0.605score
cloudbase
trae-community
Use when building, deploying, or debugging Tencent CloudBase (腾讯云开发 / TCB) apps in Trae — Web, WeChat Mini Program, cloud functions, CloudRun, auth…
SkillBFreshness: B★ 21Claude Code +9 - 0.605score
gbr-pair
trae-community
Pair a phone running Build Remote Agent to this Trae desktop session via gbr/1.
SkillBFreshness: B★ 21Claude Code +9 - 0.489score
wechat-mini-program-development
trae-community
WeChat mini-program development skill with standard project structure, request wrapper, and API management.
SkillDFreshness: D★ 21Claude Code +9 - 0.489score
cn-punctuation-checker
trae-community
Checks Chinese text for incorrect English punctuation marks.
SkillDFreshness: D★ 21Claude Code +9 - 0.489score
video-to-keyframes
trae-community
Extracts video frames, detects cuts/segments, selects candidate keyframes, and generates review HTML galleries.
SkillDFreshness: D★ 21Claude Code +9 - 0.486score
web-design-teroop
trae-community
A design-first architect that generates, persists, and maintains a comprehensive design document (Style, Color, Typography, Icons, Logo) to ensure a premium…
SkillDFreshness: D★ 21Claude Code +9 - 0.486score
trae-claw-install
trae-community
Run a repository-driven OpenClaw deployment workflow with platform routing, setup/start/check, acceptance checks, and unified troubleshooting.
SkillDFreshness: D★ 21Claude Code +9 - 0.486score
daily-hot-news
trae-community
获取今日全网新闻热榜数据,聚合多个主流平台(微博热搜、百度热搜、知乎热榜、头条热榜、 哔哩哔哩热门、抖音热搜等)的实时热点话题。当用户提到"今日热搜"、"新闻热榜"、 "今天有什么热点"、"全网热搜"、"热门新闻"、"今日新闻"、"热榜"等关键词时触发此技能。 不适用于查询历史新闻或特定领域深度分析。
SkillDFreshness: D★ 21Claude Code +9 - 0.486score
git-commit-generator
trae-community
Generate clear, standardized git commit messages based on code changes (diffs), following Conventional Commits specification.
SkillDFreshness: D★ 21Claude Code +9
Signals
- Stars
- 21
- Forks
- 23
- Open issues
- 1
- Last commit (this folder)
- Sep 8, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/trae-community/trae-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from trae-community
- 0.610score
cycle-delivery
trae-community
Governs evidence-gated software delivery through the local Cycle control plane.
SkillBFreshness: B★ 21Claude Code +9 - 0.610score
project-governance
trae-community
为 AI 长期项目建立「项目记忆 + 文件索引 + 工作规则 + 版本记录」的治理系统,让 AI 在长期项目里「不忘事、不乱改、不重复犯错」,换会话后仍能接着做。Set up and maintain a project governance workspace for AI-assisted…
SkillBFreshness: B★ 21Claude Code +9 - 0.607score
entropy-box-zh
trae-community
以箱熵(Entropy Box)的方案咨询 Consult 为核心,把边界明确的具身智能技术需求转化为候选实现方法和有依据的工程工作流。先由当前大模型澄清并拆分宽泛需求,分别咨询具体子问题,再用 Search 深入了解已选技术、用 Lookup 锚定实体、用 Evidence…
SkillBFreshness: B★ 21Claude Code +9 - 0.605score
cloudbase
trae-community
Use when building, deploying, or debugging Tencent CloudBase (腾讯云开发 / TCB) apps in Trae — Web, WeChat Mini Program, cloud functions, CloudRun, auth…
SkillBFreshness: B★ 21Claude Code +9 - 0.605score
gbr-pair
trae-community
Pair a phone running Build Remote Agent to this Trae desktop session via gbr/1.
SkillBFreshness: B★ 21Claude Code +9 - 0.489score
video-to-keyframes
trae-community
Extracts video frames, detects cuts/segments, selects candidate keyframes, and generates review HTML galleries.
SkillDFreshness: D★ 21Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get docx-diff-comment running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
docx-diff-comment skill. Agent Mart. https://agentmart.dev/skills/trae-community-docx-diff-comment (last updated 2026-10-24)