docx

Create, edit, and analyze .docx files using docx-js, pandoc, and LibreOffice.

Updated Mar 14, 2026
One-click install
npx skills add https://github.com/ironkid90/Lucky5-v7 --skill docx-ironkid90
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/ironkid90/Lucky5-v7/tree/main/.github/skills/docx
Command: npx skills add https://github.com/ironkid90/Lucky5-v7 --skill docx-ironkid90

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the creation, editing, and analysis of Word documents, eliminating the need for manual formatting and reducing errors.

Core Features & Use Cases

  • Document Creation: Generate new .docx files with custom styles and page layouts.
  • Document Editing: Modify existing .docx files by reading, analyzing, and editing the XML structure directly.
  • Document Analysis: Extract text and structured data from .docx files.
  • Use Case: If you need to convert a legacy .doc file to .docx, extract text with tracked changes, or add images and footnotes to a Word document, this Skill can help.

Quick Start

Run the "docx" skill with the command "create_document --name 'My New Document'".

Frequently Asked Questions about docx

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

FAQPage Schema
How do I create a Word document with custom formatting and styles?

To create a Word document with custom formatting, generate new .docx files using docx-js to define custom styles and page layouts. This approach eliminates manual formatting and reduces errors in document creation workflows.

How can I extract text and structured data from a .docx file?

You can extract text and structured data from a .docx file by analyzing its underlying XML structure. This Skill reads and parses the document XML directly, allowing you to retrieve content including tracked changes and footnotes.

Do I need pandoc and LibreOffice to edit Word documents?

Yes, you need pandoc and LibreOffice installed alongside docx-js to process XML and perform document transformations. These dependencies are required to handle formatting, style management, and file conversions effectively.

What is the best way to convert a legacy .doc file to .docx?

The best way to convert a legacy .doc file to .docx is by using LibreOffice and pandoc to process the file transformation. This Skill manages the conversion by manipulating the document structure and outputting a valid .docx file.

Can I modify an existing Word document by editing its XML structure directly?

Yes, you can modify an existing Word document by reading, analyzing, and editing the XML structure directly using docx-js. This allows precise manipulation of document formatting, styles, and embedded content like images.