docx

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

1|Updated Jun 8, 2026
One-click install
npx skills add https://github.com/baoduo158/hsp-claude-man --skill docx-baoduo158
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/baoduo158/hsp-claude-man/tree/main/base-skills/docx
Command: npx skills add https://github.com/baoduo158/hsp-claude-man --skill docx-baoduo158

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the creation, editing, and analysis of Word documents, enabling users to produce professional-quality documents efficiently.

Core Features & Use Cases

  • Document Creation: Build new Word documents from scratch using JavaScript.
  • Document Editing: Modify existing .docx files, including text, images, tables, and formatting.
  • Content Analysis: Extract and analyze text from .docx files.
  • Use Case: If you need to create a report with a table of contents and page numbers, this Skill can assist in setting up the document structure and styling.

Quick Start

Use the docx skill to create a new document with a title, heading, and a table of contents.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I create a Word document with a table of contents and page numbers?

You can edit existing .docx files by manipulating text, images, tables, and formatting using the docx-js library. This Skill supports modifying current Word documents, enabling content updates and structural changes to previously generated files.

Can I extract and analyze text from an existing .docx file?

The docx-js library allows you to generate Word documents from scratch using JavaScript. This Skill leverages the library to build new files, enabling full control over document structure, formatting, and content creation without manual editing.

What is the best way to generate a .docx file using JavaScript?

The best way to generate a .docx file using JavaScript is leveraging the docx-js library for document manipulation. This Skill utilizes docx-js to create, edit, and analyze Word documents, providing robust formatting and content control.

Do I need the docx-js library to create and format Word documents?

Yes, you need the docx-js library because it is a required dependency for document manipulation. This Skill relies on docx-js to perform core tasks like formatting text, creating tables, and building document structures.