docx

Create and edit Word documents with python-docx, including tracked changes and comments.

Updated Jan 13, 2026
One-click install
npx skills add https://github.com/GauravSingla-1/snippit --skill docx-gauravsingla-1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/GauravSingla-1/snippit/tree/main/.agent/skills/docx
Command: npx skills add https://github.com/GauravSingla-1/snippit --skill docx-gauravsingla-1

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enables users to create, modify, and analyze Word (.docx) files efficiently, supporting complex formatting, version control, and review workflows.

Core Features & Use Cases

  • Document Generation: Build new Word documents with professional styles, lists, tables, and images.
  • Content Editing: Modify existing documents including tracked changes, comments, and formatting.
  • Use Case: A legal team reviews contracts; they can add comments, suggest edits with tracked changes, and generate final documents aligned with corporate standards.

Quick Start

Use the docx skill to insert a centered heading titled "Project Report" at the beginning of your document.

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 generation with complex formatting and tables?

Automate Word document generation by using the docx Skill to programmatically build .docx files with professional styles, lists, tables, and images. It manipulates XML content directly to apply complex formatting.

Can I add tracked changes and comments to an existing Word document programmatically?

Yes, you can add tracked changes and comments to an existing Word document programmatically. The Skill supports content editing workflows, allowing you to suggest edits, insert review comments, and manage version control.

Do I need python-docx to manipulate XML content in Word files?

Yes, you need the python-docx library installed to manipulate XML content in Word files. The Skill relies on this dependency to programmatically handle document automation, formatting, and linked media.

What's the best way to streamline professional document workflows for contract review?

The best way to streamline professional document workflows for contract review is using the docx Skill to handle complex formatting, insert tracked changes, add comments, and generate final documents aligned with corporate standards.

Does python-docx support inserting linked media into Word documents?

Yes, the docx Skill leverages python-docx to support inserting linked media into Word documents. It handles the underlying XML manipulation required to embed images and other media elements seamlessly.