docx

Create and edit Word documents with JavaScript and Node.js.

17|3|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/ErixWong/touwaka-ai-mate --skill docx-erixwong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/ErixWong/touwaka-ai-mate/tree/main/data/skills/docx
Command: npx skills add https://github.com/ErixWong/touwaka-ai-mate --skill docx-erixwong

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docx, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the management of Word documents, allowing users to read, write, edit, and fill templates with ease, saving time and reducing errors.

Core Features & Use Cases

  • Document Processing: Read, write, and edit .docx files, including page headers and footers, hyperlinks, tables, and images.
  • Template Filling: Fill templates with placeholder values while preserving original formatting.
  • Use Case: When you need to create a professional report with a specific template and personalized content, this Skill can automatically insert the necessary data and formatting.

Quick Start

Use the docx skill to create a new document from a template 'template.docx' and fill it with the following data: name='John Doe', date='2024-01-15', amount='¥1,000.00'.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I fill a Word document template with personalized data automatically?

To fill a Word document template with personalized data, this Skill injects placeholder values like name and date into the .docx file using JavaScript and Node.js, preserving the original formatting while generating the final document.

Can I create and edit Word documents with headers, footers, and tables using Node.js?

Yes, you can create and edit Word documents with headers, footers, tables, hyperlinks, and images using Node.js. This Skill utilizes the 'docx' library to handle comprehensive document manipulation for content management tasks.

Do I need the docx npm package to generate Word documents?

Yes, you need the 'docx' npm package installed in your Node.js environment to use this Skill. It serves as the core dependency required for reading, writing, and manipulating the .docx files programmatically.

What is the best way to automate professional report generation from a .docx file?

The best way to automate professional report generation from a .docx file is by using this Skill to automatically insert necessary data and formatting into a specific template, streamlining administrative and documentation workflows.

Does template filling preserve the original formatting of my Word document?

Yes, template filling preserves the original formatting of your Word document. When the Skill inserts placeholder values into the template, it maintains the existing layout and styles while updating the content.