docx

Create, edit, and analyze .docx files with tracked changes and formatting preservation.

926|107|Updated Dec 3, 2025
One-click install
npx skills add https://github.com/krafton-ai/KIRA --skill docx-krafton-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/krafton-ai/KIRA/tree/main/.claude/skills/docx
Command: npx skills add https://github.com/krafton-ai/KIRA --skill docx-krafton-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Word document tasks are often manual and error-prone: creating, editing, tracking changes, and preserving formatting across collaborators. This Skill automates those workflows for .docx files, reducing time spent on boilerplate document work and improving consistency.

Core Features & Use Cases

  • DOCX creation, editing, and analysis with support for tracked changes, comments, and formatting preservation.
  • Deterministic, script-driven workflows using Word OOXML tooling and the docx library for reliable document generation.
  • Use cases include drafting new documents, applying reviewer edits (redlines), adding comments, and exporting polished documents for distribution.

Quick Start

Create a new Word document and insert a structured title using the docx tool.

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 creation while preserving formatting?

Automating Word document creation while preserving formatting is handled through deterministic, script-driven workflows using the docx library and OOXML tooling to reliably generate structured .docx files without manual errors.

Can I apply tracked changes and comments to a .docx file programmatically?

Applying tracked changes and comments to a .docx file programmatically is fully supported, enabling automated redlining and reviewer edits insertion for collaborative document revision workflows.

What's the best way to analyze and edit existing Word documents in a team environment?

Analyzing and editing existing Word documents in a team environment is best achieved through script-driven OOXML manipulation, ensuring formatting preservation and consistent change tracking across collaborators.

Do I need Python and specific libraries to manipulate OOXML for Word files?

Manipulating OOXML for Word files requires Python and specific dependencies, specifically the defusedxml and lxml libraries, to parse and alter document structures securely.

How does frontmatter-driven discovery work for Word document workflows?

Frontmatter-driven discovery for Word document workflows works by using metadata headers to identify and route document files, allowing automated scripts to locate and process the correct .docx files dynamically.

Are there limitations when using Python OOXML tooling for complex Word documents?

Limitations when using Python OOXML tooling for complex Word documents involve potential formatting loss on highly intricate layouts, requiring careful XML manipulation to maintain structure across revisions.