docx-editor

Create, edit, and extract text from .docx files using python-docx and pandoc.

8|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/hhhh124hhhh/SkillMate --skill docx-editor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx-editor
Source: https://github.com/hhhh124hhhh/SkillMate/tree/main/resources/skills/docx-editor
Command: npx skills add https://github.com/hhhh124hhhh/SkillMate --skill docx-editor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines Word document creation, editing, and analysis to reduce manual editing time and ensure consistent formatting.

Core Features & Use Cases

  • Document Creation: programmatically generate .docx files with predefined templates.
  • Editing and Revision Tracking: apply edits, update content, and manage tracked changes.
  • Text Extraction: pull text and basic data from Word documents for downstream processing.
  • Use Case: Create a quarterly report template, fill in data, and extract key sections for a summary.

Quick Start

To start, ask the AI to create a new document named 'report_template.docx' with a title and a short executive summary. Then instruct it to edit an existing document by replacing all occurrences of 'Draft' with 'Final', and finally extract the document text for indexing.

Frequently Asked Questions about docx-editor

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

FAQPage Schema
How do I programmatically edit an existing Word document and track revisions?

You can programmatically edit Word documents and track revisions by applying updates with python-docx, using LibreOffice for advanced revision tracking when needed, and adding comments to ensure professional document workflows.

Can I extract text from a .docx file for downstream processing?

Yes, you can extract text and basic data from .docx files using pandoc for conversion. This allows you to pull key sections from Word documents for indexing, summarization, or other downstream processing tasks.

How do I create a new Word document from a predefined template automatically?

You can programmatically generate new .docx files with predefined templates by instructing the AI to create documents with specific titles, sections, and content, reducing manual formatting time and ensuring consistency.

Does this approach work with python-docx and pandoc for document conversion?

Yes, this workflow relies on python-docx for applying edits and pandoc for file conversion and text extraction, providing a comprehensive solution for automating Word document creation, editing, and analysis.

What is the best way to replace text across a Word document programmatically?

The best way to replace text across a Word document is by applying programmatic edits through python-docx, allowing you to find and replace specific terms like changing all occurrences of 'Draft' to 'Final' with precision and speed.