docx

Create, edit, and analyze Word documents via WordprocessingML XML.

302|22|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/JetBrains/skills --skill docx-jetbrains
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/JetBrains/skills/tree/main/docx
Command: npx skills add https://github.com/JetBrains/skills --skill docx-jetbrains

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Automate Word document creation, editing, and analysis.

Core Features & Use Cases

  • Programmatically generate new .docx files with properly formatted structure (headings, tables, TOC) and embedded content.
  • Edit existing Word documents by manipulating WordprocessingML XML to apply changes, templates, and formatting at scale.
  • Analyze Word documents for structural integrity, content validity, and tracked changes to ensure consistency across large corpora.
  • Use cases include batch report generation, template customization, and automated document validation.

Quick Start

Create a new Word document with a title, structured sections, and a formatted table of contents using the provided tooling.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I programmatically generate Word documents with structured formatting?

You can programmatically generate Word documents with structured formatting like headings, tables, and a formatted table of contents. This automates batch report generation and template customization at scale.

How does WordprocessingML XML manipulation work for editing existing .docx files?

Editing existing .docx files via WordprocessingML XML manipulation works by directly modifying the underlying XML structure. This applies changes, templates, and formatting at scale across large document corpora.

Can I validate Word document structural integrity and track changes automatically?

Yes, you can validate Word document structural integrity and track changes automatically. Analyzing .docx files checks content validity and tracked changes to ensure consistency across large corpora.

Does this Skill require defusedxml and lxml dependencies to process Word documents?

Yes, processing Word documents programmatically requires the defusedxml and lxml dependencies. These libraries handle secure XML parsing and WordprocessingML manipulation for end-to-end document workflows.

What is the best way to automate Word template customization for large report generation?

The best way to automate Word template customization is by programmatically manipulating WordprocessingML XML. This enables batch report generation and applies formatting changes across multiple documents simultaneously.

Are there limitations when using XML manipulation for document validation and formatting?

Limitations of XML manipulation for document validation include relying strictly on WordprocessingML structure rather than visual layout. You must ensure XML integrity to prevent corruption when applying changes at scale.