docx

Create and edit Word documents using the docx-js library.

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/yash-7575/all --skill docx-yash-7575
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/yash-7575/all/tree/main/skills%20copy/docx
Command: npx skills add https://github.com/yash-7575/all --skill docx-yash-7575

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies the creation, editing, and manipulation of Word documents, providing a streamlined experience for users looking to generate polished Word files without manual formatting.

Core Features & Use Cases

  • Document Creation: Generate new Word documents with various formatting options, including tables of contents, headings, and page numbers.
  • Document Editing: Modify existing documents by reading, extracting content, inserting or replacing images, and performing find-and-replace operations.
  • Use Case: When a user requests a professional Word document like a report, memo, or template, this skill can be used to create it with the necessary formatting and layout.

Quick Start

Use the docx skill to create a new Word document with the following content: 'Title: My Report\n\nSection 1: Introduction\n\nSection 2: Analysis\n\nSection 3: Conclusion'. Save it as 'report.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 and formatting?

To automate Word document creation, this skill uses the docx-js library to programmatically generate files with formatted elements like headings, tables of contents, and page numbers, eliminating manual formatting.

Can I edit an existing Word document by replacing images or extracting content?

Yes, you can edit an existing Word document by reading the file, extracting content, inserting or replacing images, and performing find-and-replace operations directly through the provided document manipulation capabilities.

Do I need the docx-js library to generate Word files?

Yes, you need the docx-js library installed, as this skill requires it to construct, validate, and manipulate the XML structure required for generating Word files in a JavaScript environment.

What is the best way to generate professional reports and memos in Word format?

The best way to generate professional reports and memos is using this skill to apply necessary page layouts and document validation, ensuring polished Word files are created without manual formatting.

What are the limitations of manipulating Word documents with JavaScript?

Limitations include relying entirely on the docx-js library for XML manipulation and document validation, meaning any unsupported features within that library may restrict complex page layout or formatting scenarios.