ck:docx

Create, edit, and analyze Word documents with tracked changes and comments.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Create, edit, and analyze Word documents (.docx) with support for tracked changes, comments, formatting preservation, text extraction, and template modification.

Core Features & Use Cases

  • Create: generate new Word documents with structured formatting using a scriptable API.
  • Edit & Redline: apply tracked changes and comments, preserving author metadata.
  • Analyze: extract text, compare versions, and manage templates for consistent document layouts.

Quick Start

Create a sample Word document, apply a heading, and add a tracked change to demonstrate redlining.

Frequently Asked Questions about ck:docx

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

FAQPage Schema
How do I automate Word document creation and apply tracked changes?

Automate Word document creation and apply tracked changes using a scriptable API that handles OOXML structures. It generates new .docx files with structured formatting and applies redlining while preserving author metadata.

What is the best way to extract text and compare versions of a .docx file?

Extract text and compare versions of a .docx file by analyzing the document's internal OOXML structure. This approach preserves formatting while pulling content for comparison and managing templates for consistent layouts.

Does this approach support adding comments to Word documents for legal review?

Yes, this approach supports adding comments to Word documents for legal review workflows. It manipulates the OOXML document tree to insert comments and tracked changes while maintaining document validation.

Do I need Python and lxml to modify Word templates programmatically?

Yes, you need a Python-based OOXML toolchain including libraries like lxml and defusedxml to modify Word templates programmatically. These dependencies handle XML parsing, validation, and secure document manipulation.

Can I preserve original formatting when editing an existing Word document?

Yes, you can preserve original formatting when editing an existing Word document. The toolchain modifies the underlying OOXML structure directly, ensuring structural integrity and formatting are maintained during text extraction and template modification.