document-docx

Create and modify DOCX documents from templates using Python and Node.js libraries.

73|16|Updated Nov 14, 2025
One-click install
npx skills add https://github.com/vasilyu1983/AI-Agents-public --skill document-docx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: document-docx
Source: https://github.com/vasilyu1983/AI-Agents-public/tree/main/frameworks/claude-code-kit/framework/skills/document-docx
Command: npx skills add https://github.com/vasilyu1983/AI-Agents-public --skill document-docx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates Word document generation, edits, and information extraction with tracked changes and templates.

Core Features & Use Cases

  • DOCX creation & editing: Tables, formatting, headers/footers.
  • Template fill: Mail merges and context-aware content.
  • Extraction: Read content and tables from existing docs.

Quick Start

Fill a DOCX template with customer data and save as output.docx.

Frequently Asked Questions about document-docx

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

FAQPage Schema
How do I automate Word document generation from templates?

Word document automation with templates lets you fill DOCX files with dynamic data programmatically. Use python-docx or docxtpl libraries to load a template, inject variables, and output personalized documents—ideal for mail merges, contracts, and reports without manual editing.

Can I extract content and tables from existing DOCX files?

Yes, you can extract content and tables from DOCX files using python-docx or mammoth.js. Parse document structure, read text and table data, then convert to HTML or other formats for further processing or analysis.

What's the best way to apply tracked changes to Word documents programmatically?

Tracked changes in DOCX files record document edits with change metadata. Libraries like python-docx support adding tracked changes to enable collaborative workflows, compliance audits, and version control within Word documents themselves.

How do I add tables, headers, footers, and images to generated DOCX files?

DOCX document creation supports tables, headers, footers, and embedded images through python-docx and docx libraries. Define table structure, insert content, position headers and footers, and embed images to produce fully formatted, production-ready Word documents.

Does DOCX automation work with both Python and Node.js?

Yes, DOCX automation is supported across tech stacks. Python uses python-docx and docxtpl; Node.js uses docx and mammoth.js libraries. Choose based on your runtime environment while maintaining consistent document generation workflows.

Can I convert DOCX documents to HTML format?

DOCX to HTML conversion preserves document structure and formatting for web display or further processing. Use mammoth.js or similar conversion tools to transform Word documents into semantic HTML output.