word-documents

Generate, extract, and modify .docx files using python-docx and style-based workflows.

25|3|Updated Jul 14, 2026
One-click install
npx skills add https://github.com/nimadorostkar/Claude-Skills-collection --skill word-documents-nimadorostkar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: word-documents
Source: https://github.com/nimadorostkar/Claude-Skills-collection/tree/main/skills/documents/word-documents
Command: npx skills add https://github.com/nimadorostkar/Claude-Skills-collection --skill word-documents-nimadorostkar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-docx.

What problem does it solve?

This skill eliminates the frustration of manually formatting Word documents and the risk of breaking document structure during programmatic edits.

Core Features & Use Cases

  • Structured Generation: Create complex documents using styles rather than manual formatting to ensure consistency and navigability.
  • Intelligent Editing: Perform find-and-replace operations that correctly handle text split across multiple XML runs, preventing common data loss.
  • Template Integration: Populate existing .dotx or .docx templates to maintain strict house styles and branding.

Quick Start

Use the word-documents skill to generate a quarterly report from the provided template and populate it with the latest operational data.

Frequently Asked Questions about word-documents

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

FAQPage Schema
How do I automate Word document generation without breaking formatting?

Automating Word document generation requires applying structured styles rather than manual formatting to ensure consistency. This skill uses python-docx to manage document object models and style hierarchies, preserving XML integrity during production.

Why does find-and-replace in docx files split text across multiple XML runs?

Text in docx files is frequently split across multiple XML runs, causing standard find-and-replace to fail and lose data. This skill performs intelligent editing operations that correctly handle these split runs to prevent data loss.

Can I populate existing Word templates with python-docx to maintain house styles?

Yes, you can populate existing .dotx or .docx templates with python-docx to maintain strict house styles and branding. This skill applies template integration workflows to inject operational data while preserving the original formatting structure.

Do I need python-docx to handle complex docx modifications?

Yes, python-docx is required to handle complex docx modifications effectively. The library manages the document object models and style hierarchies needed for structured generation, intelligent editing, and template filling tasks.

What is the best way to generate quarterly reports from a Word template?

The best way to generate quarterly reports from a Word template is using structured style-based workflows. This skill automates populating your provided templates with the latest operational data while maintaining navigability and formatting consistency.