doc

Automate DOCX processing from read/edit to page preview rendering.

1|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/cano721/ai-harness --skill doc-cano721
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: doc
Source: https://github.com/cano721/ai-harness/tree/main/teams/planning/bundle-claude/skills/doc
Command: npx skills add https://github.com/cano721/ai-harness --skill doc-cano721

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pdf2image, and includes scripts (resource) components.

What problem does it solve?

DOCX documents often require careful formatting and repetitive edits; this Skill provides a targeted workflow to read, create, and modify Word documents while preserving layout fidelity.

Core Features & Use Cases

  • Visual rendering of DOCX pages using the bundled scripts/render_docx.py to generate page images for quick review.
  • Programmatic editing of DOCX content via python-docx for headings, styles, tables, and lists, enabling repeatable document production.
  • Use Case: Teams delivering polished reports or contracts can automate formatting consistency, renderer previews, and organized outputs.

Quick Start

Run the bundled renderer with python3 scripts/render_docx.py /path/to/file.docx --output_dir /tmp/docx_pages and review the resulting pages.

Frequently Asked Questions about doc

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

FAQPage Schema
How do I automate batch DOCX formatting and editing for multiple reports?▼

You can automate DOCX formatting and batch edits using bundled python-docx tooling, which programmatically modifies headings, styles, tables, and lists to ensure consistent formatting across professional reports and contracts.

How do I generate page preview images from a DOCX file?▼

You can generate DOCX page previews by executing the bundled render_docx.py script, which renders document pages into image files for quick visual review and layout verification before delivery.

What is the best way to ensure layout fidelity when editing Word documents programmatically?▼

To ensure layout fidelity when editing Word documents programmatically, use python-docx to preserve original styles while applying repeatable modifications, keeping templates and formatting-heavy documents visually intact.

Does this DOCX rendering workflow require pdf2image?▼

Yes, the DOCX rendering workflow requires the pdf2image dependency to generate page preview images from your documents during the visual review and rendering process.

Can I use python-docx to modify complex tables and lists in Word templates?▼

Yes, you can use python-docx to modify complex tables and lists in Word templates, enabling repeatable document production and consistent formatting across formatting-heavy contracts and proposals.

Where are the edited and rendered DOCX outputs organized for client delivery?▼

Edited and rendered DOCX outputs are organized under the output/doc directory, providing a structured location for client-ready documents and their corresponding page preview images.