docx

Create, edit, and validate Word .docx documents with formatting and tables.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Automates the end-to-end creation, editing, and analysis of Word documents (.docx), reducing manual formatting and repetitive tasks.

Core Features & Use Cases

  • DOCX creation and editing with rich formatting, tables, headers/footers, and images
  • Analysis and validation of Word documents against typical OOXML constraints
  • Templates and reports generation for professional documents (reports, letters, templates)

Quick Start

Ask the AI to generate or modify a Word document (.docx) with the requested structure and formatting.

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 generation with tables and headers?

Automating Word document generation applies programmatic formatting to construct .docx files with structured elements like tables, headers, and footers. It uses XML-aware edits to deterministically build professional reports and templates without manual formatting.

What is the best way to validate content against Word schemas?

Validating content against Word schemas requires checking OOXML constraints within the document structure. This validation ensures generated or edited .docx files conform to expected formatting standards and structural integrity rules.

Does lxml work with docx files for XML-aware edits?

Yes, lxml processes .docx files by enabling XML-aware edits within the document structure. It allows precise manipulation of underlying OOXML elements, ensuring deterministic document construction and formatting-quality checks.

Can I read and edit existing Word documents programmatically?

Reading and editing existing Word documents programmatically extracts and modifies OOXML content using repository scripts. You can apply tracked changes, update content styling, and validate formatting against Word schemas without opening Word.

Why does my docx formatting break when adding images to templates?

Formatting breaks when adding images to templates usually occur due to invalid OOXML structure or schema violations. Applying XML-aware edits and content validation ensures document structure remains stable when inserting images into professional templates.