docx

Create, read, edit, and format .docx Word documents with tables and tracked changes.

1|Updated Apr 21, 2025
One-click install
npx skills add https://github.com/LAI-YEN-CHUN/VSCode-Settings --skill docx-lai-yen-chun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/LAI-YEN-CHUN/VSCode-Settings/tree/main/.github/skills/docx
Command: npx skills add https://github.com/LAI-YEN-CHUN/VSCode-Settings --skill docx-lai-yen-chun

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

The DOCX skill automates the creation, reading, editing, and formatting of Word documents (.docx), reducing manual drafting time and ensuring consistent styling.

Core Features & Use Cases

  • Create new .docx documents with formatting, tables, and structured content.
  • Read and modify existing Word documents, including images, headers/footers, and tracked changes.
  • Reuse or convert content into professional Word deliverables (reports, letters, templates) with reproducible formatting.
  • Use cases: generate client letters with letterheads, update daily reports, or mass-produce templated documents.

Quick Start

Ask me to generate or modify a .docx document and I will return a polished Word file.

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 formatting and tables?

Automate Word document creation by using the docx skill to generate .docx files with structured content, tables, formatting, headers, footers, and images. It handles styling programmatically to produce polished, standards-compliant outputs.

Can I read and modify existing .docx files including tracked changes?

Yes, you can read and modify existing .docx files. The skill supports editing Word documents including images, headers, footers, and tracked changes, allowing you to update content while preserving formatting and revisions.

What's the best way to generate client letters or daily reports as Word documents?

The best way to generate client letters or daily reports is to use this skill to mass-produce templated .docx documents. It applies reproducible formatting to convert content into professional Word deliverables like letters and reports.

Do I need a specific toolchain to create standards-compliant .docx files?

Yes, creating standards-compliant .docx files requires a Word-ready toolchain with validation. The skill uses dependencies like lxml and defusedxml to ensure outputs are compatible and properly formatted for Word.

Does this approach work with embedding images and structured content in Word?

Yes, this approach works with embedding images and structured content in Word documents. The skill creates new .docx files with formatting, tables, and structured content, and can modify existing files containing images.

Why does my Word document formatting break when generating .docx files programmatically?

Formatting can break without proper validation and standards-compliant tooling. This skill uses defusedxml and lxml to validate .docx outputs, ensuring reproducible formatting and preventing compatibility issues with Word.