docx

Create and edit Microsoft Word .docx documents using JavaScript and pandoc.

1|1|Updated Jun 15, 2023
One-click install
npx skills add https://github.com/Paradicat/demo --skill docx-paradicat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/Paradicat/demo/tree/main/agent_pack/third_party_skills/skills/skills/docx
Command: npx skills add https://github.com/Paradicat/demo --skill docx-paradicat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandoc, docx, LibreOffice, Poppler, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the creation, editing, and analysis of Word documents (.docx files), handling everything from basic text manipulation to complex formatting and tracked changes.

Core Features & Use Cases

  • Document Generation: Create new Word documents from scratch using JavaScript (docx-js).
  • Content Manipulation: Read, edit, and convert existing .docx files.
  • Tracked Changes: Accept or reject tracked changes, add comments, and manage document revisions.
  • Formatting: Apply styles, lists, tables, images, headers/footers, and multi-column layouts.
  • Use Case: Generate a professional report with a table of contents, custom headings, and specific page margins, all programmatically.

Quick Start

Use the docx skill to create a new document with a title and a paragraph.

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 generation with custom formatting and tables?

Generate Word documents programmatically using the docx JavaScript library to construct files with custom headings, tables, images, headers, footers, and multi-column layouts.

Can I programmatically accept or reject tracked changes in a .docx file?

Yes, you can manage tracked changes in a .docx file programmatically. The skill supports accepting or rejecting document revisions, adding comments, and manipulating existing revision histories.

What is the best way to convert existing .docx content for programmatic editing?

Convert existing .docx content for editing by using pandoc. The skill utilizes pandoc for content conversion, allowing you to read, edit, and manipulate document formats effectively.

Do I need LibreOffice installed to manipulate Word documents with this approach?

LibreOffice is required as a dependency for manipulating Word documents. Alongside pandoc, Poppler, and the docx JavaScript library, it provides the environment needed for advanced formatting and conversion tasks.

How do I create a professional report with a table of contents and specific page margins?

Create a professional report by using JavaScript to generate a Word document from scratch. You can programmatically define specific page margins, custom headings, and insert a table of contents.