editing-docx-files

Create, read, edit, and manipulate .docx files using docx-js and Python XML scripts.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/wizeline/sdlc-agents --skill editing-docx-files
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: editing-docx-files
Source: https://github.com/wizeline/sdlc-agents/tree/main/aicores/documentation-writer-agent/skills/editing-docx-files
Command: npx skills add https://github.com/wizeline/sdlc-agents --skill editing-docx-files

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandoc, docx, LibreOffice, Poppler, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of creating, reading, and editing Word documents (.docx files), handling everything from basic text manipulation to complex formatting and tracked changes.

Core Features & Use Cases

  • Document Creation: Generate new .docx files using JavaScript with precise control over layout, styles, tables, images, and more.
  • Document Editing: Modify existing .docx files by unpacking, editing XML, and repacking, including accepting tracked changes and adding comments.
  • Format Conversion: Convert between .doc and .docx, and extract content into Markdown or images.
  • Use Case: Automatically generate a client-ready report in .docx format, complete with a table of contents, specific formatting, and embedded images, based on provided data.

Quick Start

Use the editing-docx-files skill to create a new Word document with a title and a paragraph.

Frequently Asked Questions about editing-docx-files

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Word document generation with specific formatting and tables?

Word document generation is automated using the docx-js library and Python XML scripts to create .docx files with precise layout, styles, tables, images, headers, footers, and tables of contents.

Can I edit an existing .docx file to accept tracked changes and add comments?

Yes, editing existing .docx files is handled by unpacking the document, manipulating the underlying XML structure to manage tracked changes and insert comments, and then repacking the file.

What is the best way to convert legacy .doc files to .docx format for automated processing?

The best way to convert .doc to .docx is using LibreOffice, which transforms legacy files into the modern .docx format required for automated XML manipulation and document generation workflows.

Does this document automation approach support extracting content into Markdown or images?

Yes, document automation supports extracting .docx content into Markdown format and converting document pages into images using Poppler and LibreOffice for downstream processing.

Do I need LibreOffice and Poppler installed to manipulate .docx files?

LibreOffice and Poppler are required dependencies for format conversion and image extraction, while core .docx creation and XML manipulation rely primarily on the docx-js library and Python scripts.

Why modify the underlying XML structure when editing Word documents?

Modifying the XML structure allows precise control over complex Word document features like tracked changes, comments, and specific formatting that are difficult to access through standard high-level APIs.