docx

Create and edit Word documents with headings, tables, and images.

247|14|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/TFboy1/academic-paper-writer --skill docx-tfboy1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/TFboy1/academic-paper-writer/tree/main/docx
Command: npx skills add https://github.com/TFboy1/academic-paper-writer --skill docx-tfboy1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires defusedxml, lxml, pandoc, libreoffice, gcc, and includes scripts (resource) components.

What problem does it solve?

This Skill eliminates the tedious, error-prone manual work of creating, editing, and formatting Word documents (.docx), enabling consistent professional output at scale.

Core Features & Use Cases

  • Create new documents with structured styles, headings, and tables of contents.
  • Read, edit, and reorganize content in existing Word files, including images, tables, headers/footers, and page layout.
  • Manage tracked changes and comments, including applying or validating formatting, and producing polished deliverables (reports, letters, templates) from outlines or data.

Quick Start

Create a polished Word document (.docx) with headings, tables, images, and a table of contents from your outline.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I automate Word document creation with structured headings and a table of contents?

You can automate Word document creation by using Python-based tooling to generate .docx files with structured styles, headings, and tables of contents directly from outlines or data, eliminating manual formatting errors.

Can I edit existing Word files and embed images without breaking the layout?

Yes, you can read, edit, and reorganize content in existing Word files including images, tables, headers, footers, and page layout. The process uses validation and error handling to maintain document integrity during image embedding and modifications.

Does this approach support managing tracked changes and comments in .docx files?

Managing tracked changes and comments in .docx files is fully supported. You can apply or validate formatting changes and produce polished deliverables like reports and letters while maintaining the review history and annotations.

Do I need pandoc and LibreOffice installed to process Word documents?

Pandoc and LibreOffice are required dependencies alongside Python libraries like lxml and defusedxml to execute the Word document processing and handle complex formatting tasks.

What is the best way to generate formatted reports from raw data automatically?

Generating formatted reports from raw data is best handled by an automated .docx processing pipeline that transforms data into structured documents with built-in validation, handling tables of contents, headers, footers, and image embedding seamlessly.

Why does my Word document formatting break when adding tables through automation?

Formatting errors when adding tables through automation often occur due to invalid structures; using a tool with built-in validation and error handling ensures Python-based processing correctly structures tables, images, and headers without corrupting the .docx file.