docx

Create and edit .docx files with docx-js and XML-based steps.

Updated Mar 23, 2026
One-click install
npx skills add https://github.com/ProLeadAppt/doggroomerdemo --skill docx-proleadappt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/ProLeadAppt/doggroomerdemo/tree/main/.agents/skills/anth-docx
Command: npx skills add https://github.com/ProLeadAppt/doggroomerdemo --skill docx-proleadappt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating, editing, and formatting Word documents (.docx) can be tedious and error-prone when done manually. This skill provides a structured, repeatable workflow to generate polished documents with consistent formatting, headers/footers, images, tables, and layout.

Core Features & Use Cases

  • Automated creation of new .docx files with proper styling, headers/footers, and page layout.
  • Editing existing documents by injecting or updating content, images, tables, and styles from a high-level specification.
  • Reading and validating document structure to ensure consistency across reports, proposals, or letters.

Quick Start

Create or edit a .docx document with professional formatting, headers/footers, and embedded images.

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 headers, footers, and tables?

Automating Word document generation involves using the docx-js library to construct .docx files programmatically, applying consistent styling, headers, footers, page layout, and embedded tables from a high-level specification.

What is the best way to edit an existing .docx file and inject new content?

The best way to edit an existing .docx file is through XML-based editing steps to inject or update content, images, tables, and styles, ensuring professional document workflows like proposals and reports are updated consistently.

Can I use pandoc to read and validate Word document structure?

Pandoc is used as optional tooling to read content from Word documents, while the skill validates the .docx structure to ensure layout consistency across generated reports, proposals, or letters.

Do I need LibreOffice to convert Word documents into other formats?

You need LibreOffice as optional tooling for document conversions, working alongside the docx-js library and XML-based editing to construct, edit, and export your .docx files into desired formats.

How do I add a table of contents and page numbers to a .docx report programmatically?

Adding a table of contents and page numbers to a .docx report programmatically requires using the docx-js library to apply structured document elements, headings, and automated page numbering during document construction.

What are the limitations of using docx-js for Word document formatting?

Limitations of using docx-js for Word document formatting include the need for XML-based editing steps for advanced modifications and reliance on optional external tools like LibreOffice for format conversions.