docx

Create and manipulate Word documents with the docx library in Node.js.

6|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/jnotsknab/mux-swarm --skill docx-jnotsknab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/jnotsknab/mux-swarm/tree/main/Skills/bundled-docker/docx
Command: npx skills add https://github.com/jnotsknab/mux-swarm --skill docx-jnotsknab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables programmatic creation and manipulation of Word documents (.docx) using the docx library in a Node.js environment, reducing manual formatting work.

Core Features & Use Cases

  • Programmatic document creation and packing with predefined styles, sections, and content.
  • Page size, formatting, and layout customization for reports, letters, and memos.
  • Use Case: generate templated reports or letters with consistent styling across multiple documents.

Quick Start

Create a new Word document using the docx library and save it as output.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 in Node.js?

Generate Word documents programmatically in Node.js using the docx library to define styles, sections, and content. Pack the output into a .docx file, eliminating manual formatting for reports and memos.

Can I customize page size and formatting when generating .docx files with code?

Customize page size, formatting, and layout when generating .docx files through the docx library API. It supports explicit styling and structural definitions for consistent document formatting.

Do I need Node.js and npm to use the docx library for document automation?

Yes, Node.js and npm are required to use the docx library for document automation. This Skill operates within a Node.js environment to programmatically create and manipulate Word documents.

What is the best way to generate templated reports with consistent styling?

Generate templated reports with consistent styling programmatically using the docx library in Node.js. Define predefined styles, sections, and content structures that apply uniformly across multiple generated documents.

How does programmatic Word document manipulation work for content insertion?

Programmatic Word document manipulation works by using the docx API in Node.js to define structures and styles in code. Create, edit, and pack content into a final .docx file without manual formatting.