ck:docx

Create, edit with tracked changes, and analyze DOCX files via OOXML.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/jangtrinh/demo-Lam --skill ck-docx-jangtrinh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ck:docx
Source: https://github.com/jangtrinh/demo-Lam/tree/main/.claude/skills/document-skills/docx
Command: npx skills add https://github.com/jangtrinh/demo-Lam --skill ck-docx-jangtrinh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandoc, libreoffice, defusedxml, docx, python-pil, soffice, poppler-utils, pdftoppm, and includes scripts (resource) components.

What problem does it solve?

This Skill helps you work with Microsoft Word documents (.docx) by creating new documents, editing existing ones, and analyzing content while preserving formatting and supporting tracked changes.

Core Features & Use Cases

  • Create DOCX from scratch: Generate a .docx using a JavaScript/TypeScript docx workflow with consistent styling and structure.
  • Edit existing DOCX with guardrails: Apply precise edits to someone’s documents using tracked-changes (“redlining”) patterns for reviewer-friendly diffs.
  • Analyze and extract DOCX content: Extract text to Markdown (including tracked changes) or inspect raw OOXML by unpacking the document.

Quick Start

Ask the Skill to create a new Word document from scratch and export it as a .docx file using docx-js.

Frequently Asked Questions about ck:docx

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

FAQPage Schema
How do I edit a DOCX file and keep tracked changes for redlining?

You can edit a DOCX file with tracked changes by applying validated redlining patterns using w:ins and w:del tags within the OOXML structure. This approach preserves formatting and generates reviewer-friendly diffs automatically.

What is the best way to extract text from a DOCX file to Markdown?

The best way to extract DOCX text to Markdown is by using pandoc conversion workflows. This approach accurately captures document content, including existing tracked changes, and outputs it directly into a readable Markdown format.

Can I create a new Word document from scratch using docx-js?

Yes, you can create a new Word document from scratch using a JavaScript or TypeScript docx-js workflow. This method generates a .docx file with consistent styling and structure without requiring Microsoft Word installed.

Do I need pandoc and libreoffice to analyze DOCX files?

Yes, analyzing DOCX files requires dependencies like pandoc and libreoffice, alongside poppler-utils and defusedxml. These tools enable safe content extraction, format conversion, and raw OOXML structure inspection.

How does unpacking OOXML help with document analysis?

Unpacking OOXML exposes the raw XML structure of the Word file for direct inspection. This mechanism allows you to analyze underlying document code, ensuring safe edits and accurate content extraction.

Are there limitations when preserving formatting in DOCX files?

Limitations in preserving DOCX formatting can arise if complex styling is disrupted during unpack and pack OOXML steps. Using higher-level conversion tools like pandoc maintains structure, but extreme formatting may require manual XML checks.