docx · Word Document Toolkit

docx

docx creates, reads, edits, and reviews Word documents (.docx/.dotx). New documents are generated with docx-js scripts (plus a built-in checklist of layout pitfalls: page size, dual table widths, list numbering, TOC outlines); editing existing files goes through unzip → edit word/document.xml → zip (docx-js can't open existing files); reading goes through pandoc to Markdown.

It supports tracked changes (review with per-author validation), comments (auto-generated six-file linkage), and clean accepted copies — with every output rendered to PDF for visual verification.

Example invocation: "Turn this report into a Word document with a table of contents."

Full brief

Positioning

docx is the general-purpose Word document toolkit: creating, reading, editing, and reviewing .docx/.dotx files, with a dedicated path per task. It does not handle PDFs or spreadsheets.

Core capabilities

Workflow

  1. Create: write the docx-js script → generate → render and visually verify
  2. Edit: unzip → merge_runs → edit XML in place → zip → validate (XSD; --auto-repair for common issues) → render and verify
  3. Review: tracked edits / comments → --author validation → clean accepted copy

Inputs & outputs

Input Notes
Requirements / template Content and layout for new documents
Existing document .docx / .dotx (legacy .doc converts first); external files treated as untrusted

Output: .docx file + rendered verification images (PDF/JPG); author-validation report for tracked reviews.

Boundaries with adjacent skills

Fit

Before you start


docx is part of the Aiglade Skill library. Invoke it from the Aiglade chat box in plain language.

← All 155 skills