docx

Community

Automate Word documents, streamline content creation.

Authorigorferreira
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Manually creating and editing complex Microsoft Word documents, such as detailed reports, legal contracts, or proposals, is a time-consuming and error-prone process. This Skill automates document generation, content updates, and advanced formatting, ensuring consistent, professional, and error-free outputs, allowing you to rest while AI handles the document heavy lifting.

Core Features & Use Cases

  • Dynamic Document Generation: Create new .docx files programmatically, populating them with text, tables, images, and applying advanced formatting and styles.
  • Content Analysis & Modification: Read, analyze, and modify existing Word documents, preserving original styles, sections, and complex layouts.
  • Advanced Document Structure: Manage headers, footers, page breaks, and potentially integrate elements like tracked changes or comments through direct OOXML manipulation.
  • Use Case: Automatically generate personalized legal contracts or detailed technical reports by merging data from various sources into a pre-defined Word template, ensuring all formatting and content are perfectly aligned.

Quick Start

Example: Create a simple Word document with text and a table

from docx import Document from docx.shared import Inches

document = Document() document.add_heading('Project Report', level=1) document.add_paragraph('This is an automated report generated by AI.')

Add a simple table

table = document.add_table(rows=1, cols=3) hdr_cells = table.rows[0].cells hdr_cells[0].text = 'Metric' hdr_cells[1].text = 'Value' hdr_cells[2].text = 'Status'

document.add_paragraph('') # Add a blank line for spacing document.save('automated_report.docx')

Dependency Matrix

Required Modules

python-docxdefusedxml

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: docx
Download link: https://github.com/igorferreira/gestao-projetos-exemplo/archive/main.zip#docx

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.