docx

Create and edit .docx documents with headings, tables, images, and tracked changes.

22|4|Updated May 25, 2026
One-click install
npx skills add https://github.com/crazymsn/academic-skills --skill docx-crazymsn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/crazymsn/academic-skills/tree/main/academic-skills/docx
Command: npx skills add https://github.com/crazymsn/academic-skills --skill docx-crazymsn

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Word document workflows are manual and error-prone; this skill automates creation, editing, formatting, and content manipulation for .docx files.

Core Features & Use Cases

  • Create rich Word documents with headers, tables, images, styles, and Table of Contents.
  • Edit existing Word files, insert images, perform find-and-replace, track changes, and convert content to polished Word docs.
  • Use cases include drafting reports, resumes, proposals, or academic papers with consistent formatting and professional typography.

Quick Start

Provide a new or edited .docx document with the requested formatting and content.

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 and formatting for .docx files?

You can automate Word document creation by using scripts to generate .docx files with headings, tables, images, and a Table of Contents. This ensures consistent formatting and professional typography for reports, resumes, and proposals without manual effort.

Can I edit existing .docx files and insert images or tables programmatically?

Yes, you can edit existing .docx files programmatically to insert images, add tables, apply styles, and perform find-and-replace operations. The automation preserves the document structure while manipulating content and styling.

Does this approach support adding track changes to Word documents?

Yes, track changes are supported in Word document automation. It enforces safe handling of tracked changes, allowing you to manage revisions and content manipulation securely within .docx files.

Do I need lxml to generate structured Word documents with tables and headings?

Yes, lxml is required as a dependency to process .docx files. It works alongside defusedxml to ensure safe XML parsing and manipulation when generating structured documents with complex elements like tables and images.

What's the best way to draft academic papers or resumes with consistent formatting?

The best way to draft academic papers or resumes is to automate .docx creation using predefined templates and styles. This enforces consistent formatting, professional typography, and structural integrity across your documents.

Why does my automated Word document lose its original structure after editing?

Document structure is preserved during automated editing by safely handling content manipulation and styling. Using proper dependencies like lxml ensures that structural elements remain intact when you insert images or apply formatting changes.