docx-win

Automate Microsoft Word document creation, editing, and review workflows via COM on Windows.

18|1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/dachent/skills --skill docx-win
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx-win
Source: https://github.com/dachent/skills/tree/main/docx-win
Command: npx skills add https://github.com/dachent/skills --skill docx-win

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill solves the lack of high-fidelity document automation on Windows by leveraging Microsoft Word's native COM interface, ensuring perfect layout, pagination, and review-state handling that generic XML-based tools cannot provide.

Core Features & Use Cases

  • Native Word Automation: Perform complex tasks like tracked changes, comments, and field updates using the actual Word engine.
  • Layout-Sensitive Deliverables: Generate professional reports, proposals, and memos with consistent styles, tables of contents, and PDF evidence.
  • Use Case: When you need to convert a legacy .doc file to .docx, accept all tracked changes, and export a clean PDF for a client, this skill handles the entire lifecycle with professional-grade precision.

Quick Start

Use the docx-win skill to convert the legacy document named input.doc into a modern docx file and export it as a PDF for review.

Frequently Asked Questions about docx-win

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

FAQPage Schema
How do I automate Microsoft Word document creation and editing on Windows?

Automate Microsoft Word document creation and editing on Windows using native COM automation. This approach leverages the actual Word engine to handle complex tasks like tracked changes, comments, and field updates with professional precision.

How do I convert a legacy .doc file to .docx and export it as a clean PDF?

Convert a legacy .doc file to .docx and export a clean PDF by running the document through the native Word COM interface. This handles the entire lifecycle automatically, including accepting tracked changes for the final output.

Do I need Microsoft Word installed locally to run Word COM automation?

Yes, Word COM automation requires a local Microsoft Word installation. Additionally, it must be executed within a signed-in desktop user session to properly access the native application's layout and review-state capabilities.

What is the best way to generate high-fidelity PDF exports from Word documents?

The best way to generate high-fidelity PDF exports is using native Word COM automation. This ensures perfect layout, pagination, and review-state handling that generic XML-based document tools cannot reliably provide.

Why does my generic XML-based document tool fail to maintain layout and pagination?

Generic XML-based tools fail to maintain layout and pagination because they lack access to the actual Word engine. Native COM automation solves this by directly leveraging Word's rendering capabilities for professional documents like proposals and reports.

Can I manage tracked changes and comments using Word automation on Windows?

Yes, you can manage tracked changes and comments using Word automation on Windows. The COM interface directly accesses Word's native review features, allowing precise control over document review workflows.