docx

Create and edit .docx documents with headings, tables, images, and tracked changes.

1|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/Typeless-Git/skills --skill docx-typeless-git
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/Typeless-Git/skills/tree/main/docx
Command: npx skills add https://github.com/Typeless-Git/skills --skill docx-typeless-git

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Word documents (.docx) are a cornerstone of business communication, but creating, editing, and formatting them consistently can be time-consuming and error-prone. This skill streamlines the end-to-end workflow for producing professional Word files, reducing manual repetitive work and ensuring consistency across documents.

Core Features & Use Cases

  • Create new .docx documents with predefined styles and layouts, including headings, tables, images, and headers/footers.
  • Edit existing .docx files by updating content, applying formatting, accepting or tracking changes, and converting legacy formats to modern Word documents.
  • Use-case example: generate a formatted client proposal with a table of contents, title pages, and embedded images, then deliver as a polished .docx file.

Quick Start

Generate a new Word document with standard sections and a cover page, then save as docx.

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 creation with headings, tables, and images?

Automate Word document creation by using docx-js to generate .docx files with predefined styles, layouts, headings, tables, and embedded images. It enforces explicit page sizes and table widths to produce consistently formatted professional outputs.

Can I edit existing .docx files and apply tracked changes?

Edit existing .docx files by unpacking the document structure, updating content, applying formatting, and managing tracked changes across multiple versions. The routine packs the edits back into a valid Word document while maintaining compatibility.

How do I generate a table of contents for a Word document programmatically?

Generate a table of contents for Word documents programmatically by applying built-in heading styles to section titles. The tooling validates the document structure and automatically creates the TOC, ensuring accurate navigation for professional reports and proposals.

Does this approach support adding headers, footers, and cover pages to Word documents?

This approach supports adding headers, footers, and cover pages to Word documents. You can define standard sections, title pages, and predefined layouts during creation to produce polished .docx files suitable for client proposals and formal letters.

What is the best way to convert legacy documents to modern Word formats?

Convert legacy documents to modern Word formats by unpacking the original file, updating the content and formatting, and packing it into a validated .docx structure. This ensures compatibility with modern Word processors while preserving tracked changes.

Are there limitations when formatting narrow tables in generated Word documents?

Formatting narrow tables in generated Word documents requires explicit width validation to prevent layout issues. The tooling enforces strict table and narrow width constraints during creation and editing to ensure the final document renders correctly across Word processors.