document-skills

Create and edit Word documents with tracked changes and comments.

Updated Feb 25, 2025
One-click install
npx skills add https://github.com/VuNguyenVietTien/task-scheduler --skill document-skills-vunguyenviettien
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: document-skills
Source: https://github.com/VuNguyenVietTien/task-scheduler/tree/main/.claude/skills/document-skills/docx
Command: npx skills add https://github.com/VuNguyenVietTien/task-scheduler --skill document-skills-vunguyenviettien

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-docx, defusedxml, pillow, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables users to create, edit, and analyze Word (.docx) documents, automating complex formatting, insertion, and revision tasks to improve productivity.

Core Features & Use Cases

  • Document Creation & Editing: Generate new Word files or modify existing ones with precise formatting and styling.
  • Tracked Changes & Comments: Manage complex revisions, insert comments, and reject or accept changes in collaborative workflows.
  • Use Case: Legal teams can automate document review processes, applying tracked changes and comments efficiently across lengthy contracts.

Quick Start

Use the document skill to automatically generate a formatted resume with headings and bullet points.

Frequently Asked Questions about document-skills

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 in Python?

Automate Word document creation and tracked changes using Python libraries like python-docx and custom XML manipulation scripts. This approach enables programmatic document generation, precise formatting, and automated revision tracking for complex collaborative workflows.

What is the best way to add comments and manage revisions in .docx files?

The best way to manage comments and revisions in .docx files is through automated scripts that manipulate document XML directly. This allows precise insertion of comments, acceptance or rejection of tracked changes, and efficient handling of complex collaborative document workflows.

Can I use python-docx to automate legal document review and formatting?

Yes, python-docx can automate legal document review by generating formatted documents and applying tracked changes. Combined with custom XML manipulation and defusedxml for secure parsing, it efficiently handles lengthy contracts and complex corporate document management workflows.

How do I edit existing Word documents with precise formatting and styling?

Edit existing Word documents with precise formatting by leveraging python-docx for structure and custom scripts for detailed styling. This method allows modification of text, headings, and bullet points while maintaining document integrity and applying complex formatting rules automatically.

Does python-docx support inserting images and complex XML manipulation in Word files?

Python-docx supports inserting images via the Pillow dependency and enables complex XML manipulation in Word files. This allows detailed structural document changes, secure XML parsing with defusedxml, and automated insertion of visual elements into .docx documents.

Why should I use document automation scripts instead of manually editing Word files?

Use document automation scripts instead of manual editing to improve productivity and ensure consistency across lengthy files. Scripts automate complex formatting, insertion, and revision tasks, eliminating manual errors and streamlining corporate, academic, or legal document workflows.