docx

Create, read, and edit .docx documents with docx-js formatting.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/hamadah10/OML-Skills-Testing --skill docx-hamadah10
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/hamadah10/OML-Skills-Testing/tree/main/.github/docx
Command: npx skills add https://github.com/hamadah10/OML-Skills-Testing --skill docx-hamadah10

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Word document creation, reading, editing, and formatting tasks are tedious and error-prone when done manually, leading to inconsistent styling and wasted time.

Core Features & Use Cases

  • Create new .docx documents with structured content and predefined styles; read and edit existing Word documents to apply consistent formatting; handle complex formatting like tables, lists, headers, footers, and images.
  • Use cases include generating business letters, reports, templates, and reports from templates with automated formatting and layout.

Quick Start

Ask the AI to generate a polished Word document (.docx) with a title, sections, and a table of contents.

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 from data sources?

Yes, you can read and edit existing .docx files programmatically to apply consistent formatting. The Skill handles complex styling like tables, lists, headers, footers, and images to ensure professional layout across your documents.

Can I read and edit existing Word documents to apply consistent formatting?

Yes, you can read and edit existing .docx files programmatically to apply consistent formatting. The Skill handles complex styling like tables, lists, headers, footers, and images to ensure professional layout across your documents.

Does this approach support adding tables, headers, and images to Word documents?

Adding tables, headers, footers, and images to Word documents is fully supported. The Skill relies on docx-js and related tooling to assemble and style documents, ensuring professional layout and consistent formatting throughout.

Do I need defusedxml and lxml to generate .docx files?

Yes, you need defusedxml and lxml installed in your environment to generate .docx files. These dependencies support the underlying document assembly and styling tooling required to enforce consistent formatting.

What is the best way to create Word templates for business reports?

Generating Word documents programmatically eliminates manual formatting errors and enforces consistent styling. It relies on docx-js tooling to assemble and style documents, saving time and ensuring professional layout across reports.