docx

Create and edit .docx files with the docx-js library.

Updated Jun 15, 2026
One-click install
npx skills add https://github.com/CarbonTails/Di-Vincis-Atelier --skill docx-carbontails
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/CarbonTails/Di-Vincis-Atelier/tree/main/.cursor/skills/docx
Command: npx skills add https://github.com/CarbonTails/Di-Vincis-Atelier --skill docx-carbontails

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the creation, editing, and manipulation of Word documents, reducing manual effort and errors.

Core Features & Use Cases

  • Document Creation: Generate new Word documents with specified formatting and content.
  • Document Editing: Modify existing Word documents with XML manipulation and scripting.
  • Document Manipulation: Insert images, tables, and hyperlinks, convert documents, and accept/reject tracked changes.
  • Use Case: When a user needs to create a professional report or memo in Word, this Skill can be used to format the document, insert tables and images, and manage comments and changes efficiently.

Quick Start

Create a new Word document titled "Report.docx" with Arial font size 12.

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 JavaScript?

Automating Word document creation with JavaScript is handled by generating .docx files using the docx-js library. This approach allows you to programmatically define document formatting, insert images and tables, and manage content without manual editing.

Can I edit existing .docx files and manipulate their XML structure?

Editing existing .docx files and manipulating their underlying XML structure is supported through scripting. You can modify document content, apply specific formatting changes, and manage tracked changes programmatically using docx-js.

Do I need docx-js to generate formatted Word documents?

Yes, the docx-js library is required as a dependency to generate and manipulate Word documents. It provides the JavaScript-based framework needed to handle document formatting, table creation, and image insertion within the .docx format.

What's the best way to insert tables and images into a .docx file programmatically?

Inserting tables and images into a .docx file programmatically is best accomplished using the docx-js library. This Skill leverages the library to seamlessly add formatted tables, images, and hyperlinks while maintaining precise document structure.

How does document manipulation handle tracked changes in Word files?

Document manipulation handles tracked changes in Word files by allowing you to accept or reject modifications programmatically. Using docx-js, you can manage document revisions and apply formatting adjustments efficiently.

Are there limitations when using JavaScript for Word document generation?

Limitations when using JavaScript for Word document generation depend on the docx-js library's capabilities for handling complex formatting and XML manipulation. While it supports creating and editing .docx files, highly intricate native Word features may require careful scripting.