skills.vishalvoidskills/vishalvoid
Office & DocumentsIntermediate

docx

Create, read, and manipulate Word (.docx) documents.

Developer Setup

Setup & Installation

bash
npx skills add https://github.com/anthropics/skills --skill docx
Or paste this URL into your assistant to install:

Overview

What This Skill Does

Generates, edits, and formats Microsoft Word (.docx) documents programmatically. It sets paragraph alignments, fonts, tables, and embeds headers or footers.

Application

When to use this Skill

Documentation

Show Skills.md file

DOCX creation, editing, and analysis

Overview

A .docx file is a ZIP archive containing XML files.

Quick Reference

Task Approach
Read/analyze content pandoc or unpack for raw XML
Create new document Use docx-js - see Creating New Documents below
Edit existing document Unpack → edit XML → repack - see Editing Existing Documents below

Converting .doc to .docx

Legacy .doc files must be converted before editing:

python scripts/office/soffice.py --headless --convert-to docx document.doc

Reading Content

# Text extraction with tracked changes
pandoc --track-changes=all document.docx -o output.md

# Raw XML access
python scripts/office/unpack.py document.docx unpacked/
Lines 1 - 31 of 584

Recommendations

Explore other random skills

All skillsMy patterns