[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F7FC7S1WM9EACXRK721G6D":3,"skill-same:01M7F7FC7S1WM9EACXRK721G6D":115},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":14,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":50,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M7F7FC7S1WM9EACXRK721G6D","docx",null,"Create, read, edit, template, and review Word .docx files.","chaorenex1\u002Fhermes-home-content","chaorenex1","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F23194925?v=4","01M7F5NA1D1D02R2MEMYQN2NZT","chan chan","01M7F5NA20KTHMTY2015CYM1TZ",0,"MIT","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fdocx\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fdocx\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\r\nname: docx\r\ndescription: Create, read, edit, template, and review Word .docx files.\r\nversion: 1.1.0\r\nauthor: Nous Research\r\nlicense: MIT\r\nplatforms: [linux, macos, windows]\r\nmetadata:\r\n  hermes:\r\n    tags: [word, docx, documents, office, templates, revisions, comments]\r\n    category: productivity\r\n    related_skills: [pdf, xlsx, powerpoint]\r\n---\r\n\r\n# Docx Skill\r\n\r\nCreate, read, edit, and template Microsoft Word `.docx` files with\r\npython-docx via small CLIs. It handles text, styles, lists, tables,\r\nimages, headers\u002Ffooters, `{{token}}` templating, tracked changes\r\n(list\u002Faccept\u002Freject), comments (list\u002Fadd\u002Fdelete), TOC and page-number\r\nfields, and package health checks. It does not render documents itself\r\n(PDF needs LibreOffice — see Converting to PDF) or edit legacy `.doc`.\r\n\r\n## When to Use\r\n\r\n- The user asks to generate a Word document (report, letter, contract).\r\n- You need the text, outline, styles, or embedded images of a `.docx`.\r\n- You must change an existing `.docx`: replace text, edit table cells,\r\n  insert\u002Fdelete paragraphs, apply styles, merge fragmented runs.\r\n- You have a `.docx` template with `{{placeholders}}` to fill from data.\r\n- The document has tracked changes to review, accept, or reject.\r\n- You need to read reviewers' comments, or add\u002Fdelete comments.\r\n- A `.docx` won't open or behaves oddly and you need corruption triage.\r\n- The document needs a table of contents or \"Page X of Y\" footers.\r\n- Not for: `.doc` (legacy), `.odt`, or WYSIWYG layout work.\r\n\r\n## Prerequisites\r\n\r\n- Python 3.10+ with `python-docx` installed:\r\n  `pip install python-docx` (import name is `docx`; lxml comes with it).\r\n- Comments `add` uses the native API on python-docx >= 1.2 and an XML\r\n  fallback on older versions — both are automatic.\r\n- For image blocks: the image files must exist locally (PNG\u002FJPEG).\r\n\r\n## How to Run\r\n\r\nAll helpers live in `scripts\u002F` next to this file. Run them with the\r\n`terminal` tool; each supports `--help` and prints JSON to stdout.\r\n\r\n```bash\r\npython scripts\u002Fdocx_create.py spec.json out.docx\r\npython scripts\u002Fdocx_read.py out.docx --text\r\npython scripts\u002Fdocx_edit.py replace out.docx --find old --replace new\r\npython scripts\u002Fdocx_template.py tpl.docx values.json filled.docx\r\npython scripts\u002Fdocx_revisions.py list out.docx\r\npython scripts\u002Fdocx_comments.py list out.docx\r\npython scripts\u002Fdocx_validate.py out.docx\r\n```\r\n\r\n## Quick Reference\r\n\r\n| Task | Command |\r\n| --- | --- |\r\n| Create from JSON spec | `docx_create.py spec.json out.docx` |\r\n| Full text (body+tables+headers\u002Ffooters) | `docx_read.py f.docx --text` |\r\n| Heading outline + table shapes | `docx_read.py f.docx --structure` |\r\n| Styles actually used | `docx_read.py f.docx --styles` |\r\n| Extract embedded images | `docx_read.py f.docx --images outdir\u002F` |\r\n| Detect tracked changes\u002Fcomments | `docx_read.py f.docx --revisions` |\r\n| Find\u002Freplace (formatting kept) | `docx_edit.py replace f.docx --find A --replace B -o out.docx` |\r\n| Set a table cell | `docx_edit.py set-cell f.docx --table 0 --row 1 --col 2 --text X` |\r\n| Insert paragraph before index N | `docx_edit.py insert f.docx --index N --text X --style Normal` |\r\n| Delete paragraph N | `docx_edit.py delete f.docx --index N` |\r\n| Apply style to paragraph N | `docx_edit.py style f.docx --index N --style \"Heading 1\"` |\r\n| Merge equal-format adjacent runs | `docx_edit.py normalize f.docx -o out.docx` |\r\n| Insert TOC field before para N | `docx_edit.py toc f.docx --index N -o out.docx` |\r\n| \"Page X of Y\" footer fields | `docx_edit.py page-numbers f.docx` |\r\n| Fill `{{tokens}}` | `docx_template.py tpl.docx values.json out.docx --strict` |\r\n| List revisions (id\u002Fauthor\u002Fdate\u002Ftext) | `docx_revisions.py list f.docx` |\r\n| Accept \u002F reject all revisions | `docx_revisions.py accept-all f.docx -o out.docx` (or `reject-all`) |\r\n| Accept \u002F reject one revision | `docx_revisions.py accept f.docx --id 3 -o out.docx` |\r\n| List comments (+anchored text) | `docx_comments.py list f.docx` |\r\n| Add comment anchored to text | `docx_comments.py add f.docx --target \"phrase\" --text \"note\" --author You` |\r\n| Delete comment by id | `docx_comments.py delete f.docx --id 0` |\r\n| Health-check the package | `docx_validate.py f.docx` (exit 1 on errors) |\r\n\r\n## Procedure\r\n\r\n1. **Create.** Write a JSON spec with `write_file`, then run\r\n   `scripts\u002Fdocx_create.py`. The spec supports: `page` (size + margins in\r\n   mm), `header`\u002F`footer` strings, `footer_page_numbers` (adds a\r\n   \"Page X of Y\" field footer), `styles` (custom paragraph styles with\r\n   font, size, bold\u002Fitalic, hex `color`), and `blocks` — `heading`\r\n   (level 1-9), `paragraph` (either `text` or a `runs` list where each run\r\n   may set `bold`\u002F`italic`\u002F`underline`), `bullet_list`, `numbered_list`,\r\n   `table` (`header` row rendered bold, `rows`, optional built-in table\r\n   `style` such as `Table Grid`), `image` (`path`, optional `width_mm`),\r\n   `toc` (Table of Contents field), and `page_break`. The full spec\r\n   format is documented at the top of `scripts\u002Fdocx_create.py`.\r\n2. **Read.** Use `scripts\u002Fdocx_read.py` with exactly one mode flag.\r\n   `--text` returns body paragraphs, all table cell text, and\r\n   header\u002Ffooter text as JSON. `--structure` returns the heading outline\r\n   plus paragraph\u002Ftable\u002Fsection counts. `--images DIR` copies every file\r\n   under `word\u002Fmedia\u002F` out of the package.\r\n3. **Edit.** Use `scripts\u002Fdocx_edit.py`. `replace` walks body, tables\r\n   (nested included), headers and footers, and preserves run formatting;\r\n   add `--body-only` to skip headers\u002Ffooters. Pass `-o out.docx` to keep\r\n   the original; omit it to edit in place. Paragraph indices for\r\n   `insert`\u002F`delete`\u002F`style`\u002F`toc` refer to `--structure`\u002F`--text` body\r\n   order. Run `normalize` first on documents that came out of heavy Word\r\n   editing — it merges adjacent runs with identical formatting so later\r\n   find-replace matches reliably.\r\n4. **Review revisions.** `docx_revisions.py list` reports every `w:ins`\r\n   and `w:del` (id, author, date, affected text) anywhere in body,\r\n   tables, headers, or footers. `accept-all` \u002F `reject-all` resolve them\r\n   in bulk; `accept`\u002F`reject --id N` handles a single revision. Accept\r\n   keeps insertions and drops deleted text; reject does the reverse.\r\n5. **Comments.** `docx_comments.py list` returns each comment's id,\r\n   author, date, body text, and the document text it is anchored to.\r\n   `add --target \"some phrase\"` anchors a new comment to the first\r\n   occurrence of that phrase (runs are split as needed; formatting is\r\n   preserved). `delete --id N` removes the comment and its markers\r\n   without touching document text.\r\n6. **Template.** Put `{{name}}`-style tokens in the document. Run\r\n   `scripts\u002Fdocx_template.py` with a JSON object of values. Use\r\n   `--strict` to fail when tokens remain unfilled; the JSON output lists\r\n   `filled` counts and `unfilled_tokens` either way.\r\n7. **Verify** (always): re-read the output with `--text` or\r\n   `--structure`, and run `docx_validate.py` on anything you produced\r\n   via revision\u002Fcomment surgery.\r\n\r\n## Converting to PDF\r\n\r\nNo script needed. When LibreOffice is installed, convert headlessly:\r\n\r\n```bash\r\nsoffice --headless --convert-to pdf --outdir outdir\u002F file.docx\r\n```\r\n\r\nCheck availability first (`command -v soffice || command -v\r\nlibreoffice`). If neither exists, tell the user PDF conversion is\r\nunavailable in this environment rather than improvising — python-docx\r\ncannot render PDFs, and layout fidelity requires a real renderer.\r\n\r\n## Pitfalls\r\n\r\n- **Tokens split across runs.** Word often fragments text into several\r\n  runs. The replace helpers collapse matched runs (replacement inherits\r\n  the first run's formatting); running `docx_edit.py normalize` first\r\n  reduces fragmentation for all later edits.\r\n- **Revision coverage.** `docx_revisions.py` resolves run-level\r\n  insertions and deletions (the overwhelming majority). Paragraph-mark\r\n  and table-row revisions, format-change records, and moves are detected\r\n  by `--revisions` but not auto-resolved — see\r\n  `references\u002Frevisions-and-comments.md` and hand those to Word.\r\n- **Comment threading.** Replies and \"resolved\" status live in\r\n  `commentsExtended.xml`, which this skill ignores; comments it adds are\r\n  plain top-level comments.\r\n- **Field results are computed by Word.** `toc`, `page-numbers`, and the\r\n  `toc`\u002F`footer_page_numbers` spec options write *field codes*.\r\n  Word\u002FLibreOffice populates the actual entries and numbers when the\r\n  file is opened (Word may prompt to update fields); python-docx never\r\n  computes them, so placeholder text shows until then.\r\n- **Validation is a health check, not schema validation.**\r\n  `docx_validate.py` verifies the zip, required parts, relationship\r\n  targets, image magic bytes, and referenced styles. It is NOT XSD\r\n  validation — a file can pass and still contain XML Word dislikes.\r\n- **Style names must exist.** Applying a style that isn't defined in the\r\n  document raises `KeyError`. Built-ins like `Heading 1`, `List Bullet`,\r\n  `List Number`, `Table Grid` exist in the default template; custom\r\n  styles must be declared in the create spec first.\r\n- **Numbered lists restart.** `List Number` relies on Word's default\r\n  numbering; separate lists in one document may continue numbering\r\n  instead of restarting. Warn users needing precise multi-list numbering.\r\n- **Cell writes replace formatting.** `set-cell` uses `cell.text = ...`,\r\n  which resets runs in that cell to plain formatting.\r\n- **Encoding.** All JSON specs\u002Fvalues files are read as UTF-8 explicitly;\r\n  never rely on locale defaults when writing your own glue code.\r\n- **Don't unzip-and-sed the XML.** Edit through the scripts (or\r\n  python-docx); raw text substitution in `document.xml` corrupts files\r\n  easily. Use `patch`\u002F`write_file` only for the JSON inputs, never on the\r\n  `.docx` itself.\r\n\r\n## Verification\r\n\r\n- After create\u002Fedit\u002Ftemplate, run `docx_read.py out.docx --text` and\r\n  check the expected strings appear (and old strings are gone).\r\n- After accept\u002Freject, `docx_revisions.py list` should return `[]` (or\r\n  only the ids you intentionally left); after comment surgery,\r\n  `docx_comments.py list` should reflect the change and `--text` output\r\n  must be unchanged.\r\n- `docx_validate.py out.docx` exits 0 with `\"ok\": true` on a healthy\r\n  package — run it after any revision\u002Fcomment\u002Ffield manipulation.\r\n- For templates run with `--strict`, or check `unfilled_tokens == []`.\r\n- Structure checks: `--structure` should show the expected heading\r\n  outline and table shapes; `--styles` confirms custom styles applied.\r\n","# Docx Skill\r\n\r\nCreate, read, edit, and template Microsoft Word `.docx` files with\r\npython-docx via small CLIs. It handles text, styles, lists, tables,\r\nimages, headers\u002Ffooters, `{{token}}` templating, tracked changes\r\n(list\u002Faccept\u002Freject), comments (list\u002Fadd\u002Fdelete), TOC and page-number\r\nfields, and package health checks. It does not render documents itself\r\n(PDF needs LibreOffice — see Converting to PDF) or edit legacy `.doc`.\r\n\r\n## When to Use\r\n\r\n- The user asks to generate a Word document (report, letter, contract).\r\n- You need the text, outline, styles, or embedded images of a `.docx`.\r\n- You must change an existing `.docx`: replace text, edit table cells,\r\n  insert\u002Fdelete paragraphs, apply styles, merge fragmented runs.\r\n- You have a `.docx` template with `{{placeholders}}` to fill from data.\r\n- The document has tracked changes to review, accept, or reject.\r\n- You need to read reviewers' comments, or add\u002Fdelete comments.\r\n- A `.docx` won't open or behaves oddly and you need corruption triage.\r\n- The document needs a table of contents or \"Page X of Y\" footers.\r\n- Not for: `.doc` (legacy), `.odt`, or WYSIWYG layout work.\r\n\r\n## Prerequisites\r\n\r\n- Python 3.10+ with `python-docx` installed:\r\n  `pip install python-docx` (import name is `docx`; lxml comes with it).\r\n- Comments `add` uses the native API on python-docx >= 1.2 and an XML\r\n  fallback on older versions — both are automatic.\r\n- For image blocks: the image files must exist locally (PNG\u002FJPEG).\r\n\r\n## How to Run\r\n\r\nAll helpers live in `scripts\u002F` next to this file. Run them with the\r\n`terminal` tool; each supports `--help` and prints JSON to stdout.\r\n\r\n```bash\r\npython scripts\u002Fdocx_create.py spec.json out.docx\r\npython scripts\u002Fdocx_read.py out.docx --text\r\npython scripts\u002Fdocx_edit.py replace out.docx --find old --replace new\r\npython scripts\u002Fdocx_template.py tpl.docx values.json filled.docx\r\npython scripts\u002Fdocx_revisions.py list out.docx\r\npython scripts\u002Fdocx_comments.py list out.docx\r\npython scripts\u002Fdocx_validate.py out.docx\r\n```\r\n\r\n## Quick Reference\r\n\r\n| Task | Command |\r\n| --- | --- |\r\n| Create from JSON spec | `docx_create.py spec.json out.docx` |\r\n| Full text (body+tables+headers\u002Ffooters) | `docx_read.py f.docx --text` |\r\n| Heading outline + table shapes | `docx_read.py f.docx --structure` |\r\n| Styles actually used | `docx_read.py f.docx --styles` |\r\n| Extract embedded images | `docx_read.py f.docx --images outdir\u002F` |\r\n| Detect tracked changes\u002Fcomments | `docx_read.py f.docx --revisions` |\r\n| Find\u002Freplace (formatting kept) | `docx_edit.py replace f.docx --find A --replace B -o out.docx` |\r\n| Set a table cell | `docx_edit.py set-cell f.docx --table 0 --row 1 --col 2 --text X` |\r\n| Insert paragraph before index N | `docx_edit.py insert f.docx --index N --text X --style Normal` |\r\n| Delete paragraph N | `docx_edit.py delete f.docx --index N` |\r\n| Apply style to paragraph N | `docx_edit.py style f.docx --index N --style \"Heading 1\"` |\r\n| Merge equal-format adjacent runs | `docx_edit.py normalize f.docx -o out.docx` |\r\n| Insert TOC field before para N | `docx_edit.py toc f.docx --index N -o out.docx` |\r\n| \"Page X of Y\" footer fields | `docx_edit.py page-numbers f.docx` |\r\n| Fill `{{tokens}}` | `docx_template.py tpl.docx values.json out.docx --strict` |\r\n| List revisions (id\u002Fauthor\u002Fdate\u002Ftext) | `docx_revisions.py list f.docx` |\r\n| Accept \u002F reject all revisions | `docx_revisions.py accept-all f.docx -o out.docx` (or `reject-all`) |\r\n| Accept \u002F reject one revision | `docx_revisions.py accept f.docx --id 3 -o out.docx` |\r\n| List comments (+anchored text) | `docx_comments.py list f.docx` |\r\n| Add comment anchored to text | `docx_comments.py add f.docx --target \"phrase\" --text \"note\" --author You` |\r\n| Delete comment by id | `docx_comments.py delete f.docx --id 0` |\r\n| Health-check the package | `docx_validate.py f.docx` (exit 1 on errors) |\r\n\r\n## Procedure\r\n\r\n1. **Create.** Write a JSON spec with `write_file`, then run\r\n   `scripts\u002Fdocx_create.py`. The spec supports: `page` (size + margins in\r\n   mm), `header`\u002F`footer` strings, `footer_page_numbers` (adds a\r\n   \"Page X of Y\" field footer), `styles` (custom paragraph styles with\r\n   font, size, bold\u002Fitalic, hex `color`), and `blocks` — `heading`\r\n   (level 1-9), `paragraph` (either `text` or a `runs` list where each run\r\n   may set `bold`\u002F`italic`\u002F`underline`), `bullet_list`, `numbered_list`,\r\n   `table` (`header` row rendered bold, `rows`, optional built-in table\r\n   `style` such as `Table Grid`), `image` (`path`, optional `width_mm`),\r\n   `toc` (Table of Contents field), and `page_break`. The full spec\r\n   format is documented at the top of `scripts\u002Fdocx_create.py`.\r\n2. **Read.** Use `scripts\u002Fdocx_read.py` with exactly one mode flag.\r\n   `--text` returns body paragraphs, all table cell text, and\r\n   header\u002Ffooter text as JSON. `--structure` returns the heading outline\r\n   plus paragraph\u002Ftable\u002Fsection counts. `--images DIR` copies every file\r\n   under `word\u002Fmedia\u002F` out of the package.\r\n3. **Edit.** Use `scripts\u002Fdocx_edit.py`. `replace` walks body, tables\r\n   (nested included), headers and footers, and preserves run formatting;\r\n   add `--body-only` to skip headers\u002Ffooters. Pass `-o out.docx` to keep\r\n   the original; omit it to edit in place. Paragraph indices for\r\n   `insert`\u002F`delete`\u002F`style`\u002F`toc` refer to `--structure`\u002F`--text` body\r\n   order. Run `normalize` first on documents that came out of heavy Word\r\n   editing — it merges adjacent runs with identical formatting so later\r\n   find-replace matches reliably.\r\n4. **Review revisions.** `docx_revisions.py list` reports every `w:ins`\r\n   and `w:del` (id, author, date, affected text) anywhere in body,\r\n   tables, headers, or footers. `accept-all` \u002F `reject-all` resolve them\r\n   in bulk; `accept`\u002F`reject --id N` handles a single revision. Accept\r\n   keeps insertions and drops deleted text; reject does the reverse.\r\n5. **Comments.** `docx_comments.py list` returns each comment's id,\r\n   author, date, body text, and the document text it is anchored to.\r\n   `add --target \"some phrase\"` anchors a new comment to the first\r\n   occurrence of that phrase (runs are split as needed; formatting is\r\n   preserved). `delete --id N` removes the comment and its markers\r\n   without touching document text.\r\n6. **Template.** Put `{{name}}`-style tokens in the document. Run\r\n   `scripts\u002Fdocx_template.py` with a JSON object of values. Use\r\n   `--strict` to fail when tokens remain unfilled; the JSON output lists\r\n   `filled` counts and `unfilled_tokens` either way.\r\n7. **Verify** (always): re-read the output with `--text` or\r\n   `--structure`, and run `docx_validate.py` on anything you produced\r\n   via revision\u002Fcomment surgery.\r\n\r\n## Converting to PDF\r\n\r\nNo script needed. When LibreOffice is installed, convert headlessly:\r\n\r\n```bash\r\nsoffice --headless --convert-to pdf --outdir outdir\u002F file.docx\r\n```\r\n\r\nCheck availability first (`command -v soffice || command -v\r\nlibreoffice`). If neither exists, tell the user PDF conversion is\r\nunavailable in this environment rather than improvising — python-docx\r\ncannot render PDFs, and layout fidelity requires a real renderer.\r\n\r\n## Pitfalls\r\n\r\n- **Tokens split across runs.** Word often fragments text into several\r\n  runs. The replace helpers collapse matched runs (replacement inherits\r\n  the first run's formatting); running `docx_edit.py normalize` first\r\n  reduces fragmentation for all later edits.\r\n- **Revision coverage.** `docx_revisions.py` resolves run-level\r\n  insertions and deletions (the overwhelming majority). Paragraph-mark\r\n  and table-row revisions, format-change records, and moves are detected\r\n  by `--revisions` but not auto-resolved — see\r\n  `references\u002Frevisions-and-comments.md` and hand those to Word.\r\n- **Comment threading.** Replies and \"resolved\" status live in\r\n  `commentsExtended.xml`, which this skill ignores; comments it adds are\r\n  plain top-level comments.\r\n- **Field results are computed by Word.** `toc`, `page-numbers`, and the\r\n  `toc`\u002F`footer_page_numbers` spec options write *field codes*.\r\n  Word\u002FLibreOffice populates the actual entries and numbers when the\r\n  file is opened (Word may prompt to update fields); python-docx never\r\n  computes them, so placeholder text shows until then.\r\n- **Validation is a health check, not schema validation.**\r\n  `docx_validate.py` verifies the zip, required parts, relationship\r\n  targets, image magic bytes, and referenced styles. It is NOT XSD\r\n  validation — a file can pass and still contain XML Word dislikes.\r\n- **Style names must exist.** Applying a style that isn't defined in the\r\n  document raises `KeyError`. Built-ins like `Heading 1`, `List Bullet`,\r\n  `List Number`, `Table Grid` exist in the default template; custom\r\n  styles must be declared in the create spec first.\r\n- **Numbered lists restart.** `List Number` relies on Word's default\r\n  numbering; separate lists in one document may continue numbering\r\n  instead of restarting. Warn users needing precise multi-list numbering.\r\n- **Cell writes replace formatting.** `set-cell` uses `cell.text = ...`,\r\n  which resets runs in that cell to plain formatting.\r\n- **Encoding.** All JSON specs\u002Fvalues files are read as UTF-8 explicitly;\r\n  never rely on locale defaults when writing your own glue code.\r\n- **Don't unzip-and-sed the XML.** Edit through the scripts (or\r\n  python-docx); raw text substitution in `document.xml` corrupts files\r\n  easily. Use `patch`\u002F`write_file` only for the JSON inputs, never on the\r\n  `.docx` itself.\r\n\r\n## Verification\r\n\r\n- After create\u002Fedit\u002Ftemplate, run `docx_read.py out.docx --text` and\r\n  check the expected strings appear (and old strings are gone).\r\n- After accept\u002Freject, `docx_revisions.py list` should return `[]` (or\r\n  only the ids you intentionally left); after comment surgery,\r\n  `docx_comments.py list` should reflect the change and `--text` output\r\n  must be unchanged.\r\n- `docx_validate.py out.docx` exits 0 with `\"ok\": true` on a healthy\r\n  package — run it after any revision\u002Fcomment\u002Ffield manipulation.\r\n- For templates run with `--strict`, or check `unfilled_tokens == []`.\r\n- Structure checks: `--structure` should show the expected heading\r\n  outline and table shapes; `--styles` confirms custom styles applied.\r\n",{"name":5,"author":25,"license":15,"version":26,"metadata":27,"platforms":41,"description":7},"Nous Research","1.1.0",{"hermes":28},{"tags":29,"category":36,"related_skills":37},[30,5,31,32,33,34,35],"word","documents","office","templates","revisions","comments","productivity",[38,39,40],"pdf","xlsx","powerpoint",[42,43,44],"linux","macos","windows","main","a3f3199bb87ec3c91248f68a39d88527e1847ae9","skills\u002Fproductivity\u002Fdocx","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content","https:\u002F\u002Fgithub.com\u002Fchaorenex1","https:\u002F\u002Fblog.aduib.com","A programmer whose only hobby in life is coding","2026-10-20 00:34:32",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add chaorenex1\u002Fhermes-home-content --skill docx",{"tool":59,"command":60},"bunx","bunx skills add chaorenex1\u002Fhermes-home-content --skill docx",{"tool":62,"command":63},"pnpm","pnpm dlx skills add chaorenex1\u002Fhermes-home-content --skill docx","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fdocx\u002FSKILL.md",true,[67,71,77,83,87,91,95,99,103,107,111],{"path":68,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":16},"LICENSE","许可证",1091,{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Frevisions-and-comments.md","REFERENCE","参考文档",4085,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fdocx\u002Freferences\u002Frevisions-and-comments.md",{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"scripts\u002Fdocx_comments.py","SCRIPT","脚本",10929,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fdocx\u002Fscripts\u002Fdocx_comments.py",{"path":84,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":85,"sourceHtmlUrl":86},"scripts\u002Fdocx_common.py",3406,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fdocx\u002Fscripts\u002Fdocx_common.py",{"path":88,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":89,"sourceHtmlUrl":90},"scripts\u002Fdocx_create.py",6564,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fdocx\u002Fscripts\u002Fdocx_create.py",{"path":92,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":93,"sourceHtmlUrl":94},"scripts\u002Fdocx_edit.py",8869,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fdocx\u002Fscripts\u002Fdocx_edit.py",{"path":96,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":97,"sourceHtmlUrl":98},"scripts\u002Fdocx_read.py",5554,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fdocx\u002Fscripts\u002Fdocx_read.py",{"path":100,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":101,"sourceHtmlUrl":102},"scripts\u002Fdocx_revisions.py",4696,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fdocx\u002Fscripts\u002Fdocx_revisions.py",{"path":104,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":105,"sourceHtmlUrl":106},"scripts\u002Fdocx_template.py",2552,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fdocx\u002Fscripts\u002Fdocx_template.py",{"path":108,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":109,"sourceHtmlUrl":110},"scripts\u002Fdocx_validate.py",6309,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fdocx\u002Fscripts\u002Fdocx_validate.py",{"path":112,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":113,"sourceHtmlUrl":114},"tests\u002Ftest_docx_skill.py",21831,"https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fdocx\u002Ftests\u002Ftest_docx_skill.py",[116,123,130,137,144,151],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":20},"01M7F8GF32YD5MBQW2TGSRH1YP","web-retrieval-resilience","Web tools fail or search rules break: repair or fall back.","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fweb\u002Fweb-retrieval-resilience\u002FSKILL.md",[],[],{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":20},"01M7F8FP46QESQMCZ1KBT3TW3R","blocked-page-recovery","Use when a fetch fails: 403\u002F429, paywall, WAF, bot wall.","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fweb\u002Fblocked-page-recovery\u002FSKILL.md",[],[],{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":20},"01M7F8ER6VXHBNVRQBZS7X08SE","verification-loop","Run a six-phase verification of a Claude Code session's work — build, type check, lint, tests with coverage, security grep, and diff review — then produce a PASS\u002FFAIL verification report. Use when verifying work after completing a feature or refactor, before creating a PR, or when quality gates must pass.","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[],{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":20},"01M7F8E4BQJ38KVQVM3MT20PYV","unreal-world-builder","开放世界与环境专家——精通 UE5 World Partition、Landscape、程序化植被、HLOD 和大规模关卡流式加载，打造无缝开放世界体验","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Funreal-engine\u002Funreal-world-builder\u002FSKILL.md",[],[],{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":20},"01M7F8D747SQW2FTP7GBSX38BR","unreal-technical-artist","Unreal Engine 视觉管线专家——精通材质编辑器、Niagara 特效、程序化内容生成和 UE5 项目的美术到引擎管线","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Funreal-engine\u002Funreal-technical-artist\u002FSKILL.md",[],[],{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":20},"01M7F8CKHYJVZVBTN0321J88T2","unreal-systems-engineer","性能与混合架构专家——精通 C++\u002FBlueprint 边界、Nanite 几何体、Lumen GI 和 Gameplay Ability System，面向 AAA 级 Unreal Engine 项目","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Funreal-engine\u002Funreal-systems-engineer\u002FSKILL.md",[],[]]